Difference between revisions of "Template:Main"
From Flexible Survival
Samsquatch (talk | contribs) (Attempting to create a template) |
Samsquatch (talk | contribs) (First try didn't work, copying some other code.) |
||
Line 1: | Line 1: | ||
− | {{# | + | <noinclude> |
− | <!-- | + | <languages /> |
+ | </noinclude><div class="rellink relarticle mainarticle">{{#ifeq:{{SUBJECTSPACE}}|Category|<translate><!--T:12--> | ||
+ | The main {{<tvar|ifeq1>#ifeq:{{NAMESPACE:{{{1}}}}}|</>|article|page}}{{<tvar|if1>#if:{{{2|}}}</>|s}} for this [[<tvar|cats-help>Special:MyLanguage/Help:Categories</>|category]] {{<tvar|if2>#if:{{{2|}}}</>|are|is}}</translate>|<translate><!--T:13--> | ||
+ | Main {{<tvar|ifeq1>#ifeq:{{NAMESPACE:{{{1}}}}}|</>|article|page}}{{<tvar|if1>#if:{{{2|}}}</>|s}}:</translate>}} [[Special:MyLanguage/{{{1|{{PAGENAME}}}}}|{{{l1|{{{1|{{PAGENAME}}}}}}}}]]{{#if:{{{2| }}} | ||
+ | |{{#if:{{{3|}}}|, | and }}[[Special:MyLanguage/{{{2}}}|{{{l2|{{{2}}}}}}]]}}{{#if:{{{3|}}} | ||
+ | |{{#if:{{{4|}}}|, |, and }}[[Special:MyLanguage/{{{3}}}|{{{l3|{{{3}}}}}}]]}}{{#if:{{{4|}}} | ||
+ | |{{#if:{{{5|}}}|, |, and }}[[Special:MyLanguage/{{{4}}}|{{{l4|{{{4}}}}}}]]}}{{#if:{{{5|}}} | ||
+ | |{{#if:{{{6|}}}|, |, and }}[[Special:MyLanguage/{{{5}}}|{{{l5|{{{5}}}}}}]]}}{{#if:{{{6|}}} | ||
+ | |{{#if:{{{7|}}}|, |, and }}[[Special:MyLanguage/{{{6}}}|{{{l6|{{{6}}}}}}]]}}{{#if:{{{7|}}} | ||
+ | |{{#if:{{{8|}}}|, |, and }}[[Special:MyLanguage/{{{7}}}|{{{l7|{{{7}}}}}}]]}}{{#if:{{{8|}}} | ||
+ | |{{#if:{{{9|}}}|, |, and }}[[Special:MyLanguage/{{{8}}}|{{{l8|{{{8}}}}}}]]}}{{#if:{{{9|}}} | ||
+ | |{{#if:{{{10|}}}|, |, and }}[[Special:MyLanguage/{{{9}}}|{{{l9|{{{9}}}}}}]]}}{{#if:{{{10|}}} | ||
+ | |, <translate><!--T:15--> | ||
+ | and</translate> [[Special:MyLanguage/{{{10}}}|{{{l10|{{{10}}}}}}]]}}{{#if:{{{11| }}}|  <translate><!--T:14--> | ||
+ | (too many parameters in <tvar|code1>{{</>[[<tvar|link>Template:main</>|main]]<tvar|code2>}}</>)</translate>}}</div><noinclude> | ||
+ | <translate> | ||
+ | == Usage == <!--T:9--> | ||
+ | </translate> | ||
+ | <pre> | ||
+ | <translate> | ||
+ | <!--T:10--> | ||
+ | {{TNT|Main|Article 1|Article 2|Article Something#3}} | ||
+ | </translate> | ||
+ | </pre> | ||
+ | <translate> | ||
+ | <!--T:11--> | ||
+ | {{TNT|Main|Article 1|Article 2|Article Something#3}} | ||
+ | </translate> | ||
+ | [[Category:Templates{{translation}}]] | ||
+ | </noinclude> |
Revision as of 02:43, 8 April 2015
<languages />
<translate>
Main {{<tvar|ifeq1>#ifeq:|</>|article|page}}{{<tvar|if1>#if:</>|s}}:</translate> Maincode1>{{</>[[<tvar|link>Template:main</>|main]]<tvar
<translate>
Usage
</translate>
<translate> <!--T:10--> {{TNT|Main|Article 1|Article 2|Article Something#3}} </translate>
<translate> Template:TNT </translate> [[Category:TemplatesTemplate:Translation]]