User:♫Green♫/Wiki Code Guide: Difference between revisions
mNo edit summary |
m (subst:) |
||
(3 intermediate revisions by 3 users not shown) | |||
Line 54: | Line 54: | ||
*'''<nowiki>__NOTOC__/__TOC__</nowiki>''' | *'''<nowiki>__NOTOC__/__TOC__</nowiki>''' | ||
'''<nowiki>__NOTOC__</nowiki>''' is used when you don't want a table of contents on a certain page. '''<nowiki>__TOC__</nowiki>''' is used when you want the table of contents, but you want it in a certain place. | '''<nowiki>__NOTOC__</nowiki>''' is used when you don't want a table of contents on a certain page. '''<nowiki>__TOC__</nowiki>''' is used when you want the table of contents, but you want it in a certain place. | ||
*Random Pokémon{ | *Random Pokémon | ||
An image that switches, '''<nowiki>{{Imagelink|{{ | {|style="background:transparent" | ||
|- | |||
|<div style="position: relative; width: 80px; height: 80px; overflow:hidden"><div style="position: absolute; font-size: 80px; overflow: hidden; line-height: 80px; letter-spacing: 80px">[[{{Num2N|{{#expr: {{#time: U}} mod 493 + 1}}|3}} (Pokémon)|<span title="{{Num2N|{{#expr: {{#time: U}} mod 493 + 1}}}}" style="text-decoration: none"> </span>]]</div>[[Image:{{padleft:{{#expr: {{#time: U}} mod 493 + 1}}}}.png|80px]]</div> | |||
|} | |||
An image that switches, '''<nowiki>{{subst:Imagelink|{{padleft:{{#expr: {{#time: U}} mod 493 + 1}}}}.png|80px|80px|{{Num2N|{{#expr: {{#time: U}} mod 493 + 1}}}}|{{Num2N|{{#expr: {{#time: U}} mod 493 + 1}}|3}} (Pokémon)}}</nowiki>'''. | |||
*'''{{#switch: {{#expr: {{#time: U}} mod 2}}|0=Word Switch|1=Switching Words|2=Words that switch}}''' | *'''{{#switch: {{#expr: {{#time: U}} mod 2}}|0=Word Switch|1=Switching Words|2=Words that switch}}''' | ||
Similarly to color switch, except the color hex-triplet is replaced with desired words, '''<nowiki>{{#switch: {{#expr: {{#time: U}} mod 2}}|0=Word Switch|1=Switching Words|2=Words that switch}}</nowiki>'''. | Similarly to color switch, except the color hex-triplet is replaced with desired words, '''<nowiki>{{#switch: {{#expr: {{#time: U}} mod 2}}|0=Word Switch|1=Switching Words|2=Words that switch}}</nowiki>'''. | ||
Line 85: | Line 89: | ||
*'''Image Words''' | *'''Image Words''' | ||
[[File:130.png|Gyarados!]] | [[File:130.png|Gyarados!]] | ||
If you mouse over the Gyarados, notice that the text box will say "Gyarados!". To achieve this, '''<nowiki>[[File:130.png|Gyarados]]</nowiki>'''. | If you mouse over the Gyarados, notice that the text box will say "Gyarados!". To achieve this, '''<nowiki>[[File:130.png|Gyarados!]]</nowiki>'''. | ||
*'''<nowiki><nowiki>, </nowiki></nowiki>''' | *'''<nowiki><nowiki>, </nowiki></nowiki>''' | ||
As used many times in this subpage, this template ignores wiki-code formatting inside the template. '''<nowiki><nowiki>~~~</nowiki></nowiki>''' instead of <span style="border: 2px solid #00CCCC">[[User:GreenGyarados|<span style="color:#00FF00">♫Green</span>]][[Gyarados (Pokémon)|<span style="color:#0BDA51">♫ギャラドス♫</span>]][[User Talk:GreenGyarados|<span style="color:#00CCCC">Talk♫</span>]]</span>. | As used many times in this subpage, this template ignores wiki-code formatting inside the template. '''<nowiki><nowiki>~~~</nowiki></nowiki>''' instead of <span style="border: 2px solid #00CCCC">[[User:GreenGyarados|<span style="color:#00FF00">♫Green</span>]][[Gyarados (Pokémon)|<span style="color:#0BDA51">♫ギャラドス♫</span>]][[User Talk:GreenGyarados|<span style="color:#00CCCC">Talk♫</span>]]</span>. |
Latest revision as of 10:34, 22 October 2011
Welcome to my Userspace!
|