User:Linkthewindow/Random Tip: Difference between revisions
(Updating) |
m (Unprotected "User:Linkthewindow/Random Tip") |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 3: | Line 3: | ||
'''Tip of the Day''' | '''Tip of the Day''' | ||
Use {{CodeInline| | Use {{CodeInline|{{[[Template:Sign|Sign]]}}}} to tell newbies how to sign, and {{CodeInline|{{[[Template:Crit9warning|Crit9warning]]}}}} to tell them to create pages in the right spot. Note that both those are {{CodeInline|{{subst:}}}} templates. | ||
<sub>[[User:Linkthewindow/Random Tip|Archives]]</sub> | <sub>[[User:Linkthewindow/Random Tip|Archives]]</sub> | ||
Line 24: | Line 23: | ||
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. | 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. | ||
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. | |||
</noinclude> | </noinclude> |
Latest revision as of 06:23, 24 November 2009
Tip of the Day Use {{Sign}} to tell newbies how to sign, and {{Crit9warning}} to tell them to create pages in the right spot. Note that both those are {{subst:}} templates. |
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.
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.