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

Template:Sl: Difference between revisions

From ModEnc
Jump to navigation Jump to search
Adding arr+flag, test
m woops
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}}{{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>

Revision as of 18:18, 1 June 2008

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]{{#if:|→Template:TTL.