Template:Main: Difference between revisions

From fattwiki
(importing template from mediawiki)
Tag: 2017 source edit
 
No edit summary
Tag: 2017 source edit
Line 1: Line 1:
<includeonly>{{hatnote|extraclasses=relarticle mainarticle|1={{#ifeq:{{SUBJECTSPACE}}|Category
<includeonly>{{hatnote|extraclasses=relarticle mainarticle|1={{#ifeq:{{SUBJECTSPACE}}|Category
|{{#if:{{{2|}}}
|{{#if:{{{2|}}}
   |<translate><!--T:12--> The main pages for this [[<tvar name=cats-help>Special:MyLanguage/Help:Categories</tvar>|category]] are</translate>
   |The main pages for this category are
   |<translate><!--T:18--> The main page for this [[<tvar name=cats-help>Special:MyLanguage/Help:Categories</tvar>|category]] is</translate>
   |The main page for this category is
   }}
   }}
|{{#if:{{{2|}}}
|{{#if:{{{2|}}}
   |<translate><!--T:13--> Main pages:</translate>
   |Main pages:
   |<translate><!--T:19--> Main page:</translate>
   |Main page:
   }}
   }}
}} {{ll|{{{1|{{PAGENAME:{{translatable}}}}}}}|{{{l1|{{{1|{{PAGENAME:{{translatable}}}}}}}}}}}}{{#if:{{{2| }}}
}} {{ll|{{{1|{{PAGENAME:{{translatable}}}}}}}|{{{l1|{{{1|{{PAGENAME:{{translatable}}}}}}}}}}}}{{#if:{{{2| }}}
Line 17: Line 17:
  |{{#if:{{{9|}}}|<nowiki/>{{int|comma-separator}}{{int|word-separator}}<nowiki/>|<nowiki/>{{int|and}}{{int|word-separator}}<nowiki/>}}{{ll|{{{8}}}|{{{l8|{{{8}}}}}}}}}}{{#if:{{{9|}}}
  |{{#if:{{{9|}}}|<nowiki/>{{int|comma-separator}}{{int|word-separator}}<nowiki/>|<nowiki/>{{int|and}}{{int|word-separator}}<nowiki/>}}{{ll|{{{8}}}|{{{l8|{{{8}}}}}}}}}}{{#if:{{{9|}}}
  |{{#if:{{{10|}}}|<nowiki/>{{int|comma-separator}}{{int|word-separator}}<nowiki/>|<nowiki/>{{int|and}}{{int|word-separator}}<nowiki/>}}{{ll|{{{9}}}|{{{l9|{{{9}}}}}}}}}}{{#if:{{{10|}}}
  |{{#if:{{{10|}}}|<nowiki/>{{int|comma-separator}}{{int|word-separator}}<nowiki/>|<nowiki/>{{int|and}}{{int|word-separator}}<nowiki/>}}{{ll|{{{9}}}|{{{l9|{{{9}}}}}}}}}}{{#if:{{{10|}}}
  |<nowiki/>{{int|and}}{{int|word-separator}}{{ll|{{{10}}}|{{{l10|{{{10}}}}}}}}}}{{#if:{{{11| }}}|&#32; <translate><!--T:14--> (too many parameters in <tvar name=1>{{((}}{{ll|Template:main}}{{))}}</tvar>)</translate>}}}}</includeonly><!--
  |<nowiki/>{{int|and}}{{int|word-separator}}{{ll|{{{10}}}|{{{l10|{{{10}}}}}}}}}}{{#if:{{{11| }}}|&#32; (too many parameters in <tvar name=1>{{((}}{{ll|Template:main}}{{))}}</tvar>)}}}}</includeonly><noinclude>
--><noinclude>
== Examples ==
== Examples == <!--T:16-->
<pre>
<pre>
{{Main}}
{{Main}}

Revision as of 02:13, 19 May 2024

Examples

{{Main}}
Main page: Template:Ll
{{Main|Article 1}}
Main page: Template:Ll
{{Main|Article 1|Article 2|Article Something#3}}