User:Linkthewindow/Random Tip: Difference between revisions
From The Urban Dead Wiki
Jump to navigationJump to search
(Updating) |
(Updating) |
||
Line 3: | Line 3: | ||
'''Tip of the Day''' | '''Tip of the Day''' | ||
Use {{CodeInline|<nowiki>{{PAGENAME}}</nowiki>}} to simply place the name of the page on the page. It ignores any prefixes (such as User:, Talk: or User talk:.) It's probably better to use {{CodeInline|<nowiki>{{subst:PAGENAME}}</nowiki>}} which won't change if the page (or data) is moved. | |||
Line 22: | Line 22: | ||
<sub>''(Thanks [[User:A Helpful Little Gnome|AHLG]] :).)''</sub> | <sub>''(Thanks [[User:A Helpful Little Gnome|AHLG]] :).)''</sub> | ||
Put {{CodeInline|<nowiki>{{subst:</nowiki>}} in front of a template call to deposit the contents of a template's code on to the page. For example, {{CodeInline|<nowiki>{{subst:User:Linkthewindow/Sig}}</nowiki>}} puts [[User:Linkthewindow|<span style="color: DodgerBlue">Linkthewindow</span>]] <sup>[[User talk:Linkthewindow|<span style="color: DarkRed">Talk</span>]]</sup> onto the page. It's especially useful with some magic words. | |||
</noinclude> | </noinclude> |
Revision as of 13:30, 1 February 2009
Tip of the Day Use {{PAGENAME}} to simply place the name of the page on the page. It ignores any prefixes (such as User:, Talk: or User talk:.) It's probably better to use {{subst:PAGENAME}} which won't change if the page (or data) is moved. |
Archives
Want to hide external links? Use this code:
<span class="stealthexternallink">[http://au.youtube.com/watch?v=oHg5SJYRHA0! Click]</span>
Which comes out:Click!
Useful if you hate that darn external link formatting.
(Thanks AHLG :).)
Put {{subst: in front of a template call to deposit the contents of a template's code on to the page. For example, {{subst:User:Linkthewindow/Sig}} puts Linkthewindow Talk onto the page. It's especially useful with some magic words.