33,808
edits
No edit summary |
m (Text replacement - "|{{{l{{#var:key}}|{{#var:value}}}}}]]" to "|{{#ifeq:{{#sub:{{#var:value}}|0|1}}|/|{{FULLPAGENAME}}}}{{{l{{#var:key}}|{{#var:value}}}}}]]") |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>:''{{#if:{{{see|}}}|See also|Main article{{#if:{{{2|}}}|s}}}}: {{#sub:{{#fornumargs:key|value|[[{{{w{{#var:key}}|{{{wiki|}}}}}}:{{#var:value}}|{{{l{{#var:key}}|{{#var:value}}}}}]], <nowiki/>}}|0|-2}}</includeonly><noinclude> __NOTOC__ | <includeonly>:''{{#if:{{{see|}}}|See also|Main article{{#if:{{{2|}}}|s}}}}: {{#sub:{{#fornumargs:key|value|[[{{{w{{#var:key}}|{{{wiki|}}}}}}:{{#ifeq:{{#sub:{{#var:value}}|0|1}}|/|{{FULLPAGENAME}}}}{{#var:value}}|{{#ifeq:{{#sub:{{#var:value}}|0|1}}|/|{{FULLPAGENAME}}}}{{{l{{#var:key}}|{{#var:value}}}}}]], <nowiki/>}}|0|-2}}</includeonly><noinclude> __NOTOC__ | ||
== Usage == | == Usage == | ||
To link to a "main article" on a topic, use <code><nowiki>{{Main|Title of other article}}</nowiki></code>. | To link to a "main article" on a topic, use <code><nowiki>{{Main|Title of other article}}</nowiki></code>. |