ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.

Difference between revisions of "Template:Sl"

From ModEnc
Jump to: navigation, search
m (Not quite, stupid newlines.)
(Updated templates)
Line 1: Line 1:
<includeonly>{{tt|[[{{{1}}}{{!}}[{{{1}}}]]]}}{{#if:{{{2|}}}|{{arr|r}}{{TTL|{{{2}}}|{{{3|}}}}}|}}</includeonly><noinclude>Usage:<pre>{{Sl|pagename}}</pre>Copy-paste the code above and use it to quickly create links to section-pages; '''replace "pagename" with the name of the page you want to link to''', the link will be enclosed in brackets and teletyped.<h2>Example</h2><pre>{{sl|AIGenerals}}</pre> gives {{sl|AIGenerals}}.</noinclude>
+
<includeonly>{{tt|[[{{{1}}}{{!}}[{{{1}}}]]]}}{{#if:{{{2|}}}|{{arr|r}}{{f|{{{2}}}|{{{3|}}}|link}}|}}</includeonly><noinclude>Usage:<pre>{{Sl|pagename}}</pre>Copy-paste the code above and use it to quickly create links to section-pages; '''replace "pagename" with the name of the page you want to link to''', the link will be enclosed in brackets and teletyped.<h2>Example</h2><pre>{{sl|AIGenerals}}</pre> gives {{sl|AIGenerals}}.</noinclude>

Revision as of 12:02, 27 November 2009

Usage:
{{Sl|pagename}}
Copy-paste the code above and use it to quickly create links to section-pages; replace "pagename" with the name of the page you want to link to, the link will be enclosed in brackets and teletyped.

Example

{{sl|AIGenerals}}
gives [AIGenerals].