Join the PidgiNet Discord! https://discord.gg/Eg9QahqpXf
Difference between revisions of "Template talk:Info"
Line 6: | Line 6: | ||
::::Instead of having it horizontal, could you find a way to make it take up less vertical space?<span style="color:#00bcd8;">—★</span>[[User:Pika3323|<span style="color:#faf85f;">Pika</span>]][[User Talk:Pika3323|<span style="color:#de9400;"><sup>3323</sup></span>]] 17:06, 26 August 2012 (PDT) | ::::Instead of having it horizontal, could you find a way to make it take up less vertical space?<span style="color:#00bcd8;">—★</span>[[User:Pika3323|<span style="color:#faf85f;">Pika</span>]][[User Talk:Pika3323|<span style="color:#de9400;"><sup>3323</sup></span>]] 17:06, 26 August 2012 (PDT) | ||
:::::It'd be fairly hard to lessen vertical space without using even less of the Metro UI guidelines, so I dunno. I'll see if there's anything. As for color, I lightened it up a bit; this better?--'''[[User:Immewnity|<span style="color:#88AADD">''immewnity''</span>]][[User talk:Immewnity|the]][[Special:Contributions/Immewnity|mew]]''' 19:29, 26 August 2012 (PDT) | :::::It'd be fairly hard to lessen vertical space without using even less of the Metro UI guidelines, so I dunno. I'll see if there's anything. As for color, I lightened it up a bit; this better?--'''[[User:Immewnity|<span style="color:#88AADD">''immewnity''</span>]][[User talk:Immewnity|the]][[Special:Contributions/Immewnity|mew]]''' 19:29, 26 August 2012 (PDT) | ||
+ | |||
+ | <nowiki>{{#switch:{{{date|}}}|=|{{Info/sectionhead|date|{{{date2|}}}}}}}{{#switch:{{{date|}}}|=|{{#vardefine: s | {{#time:Y F j|{{{date}}}}}}}[[:Category:{{#var: s }}|{{#var: s }}]][[Category:{{#var: s }}]][[From date::{{#var: s }}| ]]}}{{#vardefine: i | 2}}{{#while: | {{{ date{{#var: i }} |}}} | , {{#vardefine: s | {{#time:Y F j|{{{date{{#var: i }}}}}}}}}[[:Category:{{#var: s }}|{{#var: s }}]][[Category:{{#var: s }}]][[From date::{{#var: s }}| ]]{{#vardefine: i | {{ #expr: {{ #var: i }} + 1 }} }} }}{{#switch:{{{date|}}}|=|</span>}} | ||
+ | |||
+ | if time(date) == today's date | ||
+ | if len == 4 | ||
+ | year | ||
+ | else | ||
+ | month year | ||
+ | end | ||
+ | end</nowiki> |
Revision as of 13:24, 16 June 2016
You could line the description stuff horizantaly instead of verticaly. And it could use a bit of work to make it look better... =P —★Pika3323 05:06, 24 August 2012 (PDT)
- What do you mean horizontally? You mean like on the copyrights page? That'd be too much of a pain to read. And what changes do you suggest?--immewnitythemew 14:52, 25 August 2012 (PDT)
- Perhaps a different color... a lighter color. —★Pika3323 04:07, 26 August 2012 (PDT)
- Maybe... what color are you thinking?--immewnitythemew 07:12, 26 August 2012 (PDT)
- Perhaps a different color... a lighter color. —★Pika3323 04:07, 26 August 2012 (PDT)
{{#switch:{{{date|}}}|=|{{Info/sectionhead|date|{{{date2|}}}}}}}{{#switch:{{{date|}}}|=|{{#vardefine: s | {{#time:Y F j|{{{date}}}}}}}[[:Category:{{#var: s }}|{{#var: s }}]][[Category:{{#var: s }}]][[From date::{{#var: s }}| ]]}}{{#vardefine: i | 2}}{{#while: | {{{ date{{#var: i }} |}}} | , {{#vardefine: s | {{#time:Y F j|{{{date{{#var: i }}}}}}}}}[[:Category:{{#var: s }}|{{#var: s }}]][[Category:{{#var: s }}]][[From date::{{#var: s }}| ]]{{#vardefine: i | {{ #expr: {{ #var: i }} + 1 }} }} }}{{#switch:{{{date|}}}|=|</span>}} if time(date) == today's date if len == 4 year else month year end end