Template:Main: Difference between revisions

From fattwiki
(attempting to fix template reliance on a template that is not present on fattwiki)
Tag: 2017 source edit
mNo 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|}}}
   |The main pages for this category are
   |The main pages for this category are
Line 8: Line 8:
   |Main page:
   |Main page:
   }}
   }}
}} [[{{{1|{{PAGENAME}}}}}|{{{l1|{{{1|{{PAGENAME}}}}}}}}]]{{#if:{{{2| }}}
}}'' [[{{{1|{{PAGENAME}}}}}|{{{l1|{{{1|{{PAGENAME}}}}}}}}]]{{#if:{{{2| }}}
  |{{#if:{{{3|}}}|<nowiki/>{{int|comma-separator}}{{int|word-separator}}<nowiki/>|<nowiki/>{{int|and}}{{int|word-separator}}<nowiki/>}}{{ll|{{{2}}}|{{{l2|{{{2}}}}}}}}}}{{#if:{{{3|}}}
  |{{#if:{{{3|}}}|<nowiki/>{{int|comma-separator}}{{int|word-separator}}<nowiki/>|<nowiki/>{{int|and}}{{int|word-separator}}<nowiki/>}}{{ll|{{{2}}}|{{{l2|{{{2}}}}}}}}}}{{#if:{{{3|}}}
  |{{#if:{{{4|}}}|<nowiki/>{{int|comma-separator}}{{int|word-separator}}<nowiki/>|<nowiki/>{{int|and}}{{int|word-separator}}<nowiki/>}}{{ll|{{{3}}}|{{{l3|{{{3}}}}}}}}}}{{#if:{{{4|}}}
  |{{#if:{{{4|}}}|<nowiki/>{{int|comma-separator}}{{int|word-separator}}<nowiki/>|<nowiki/>{{int|and}}{{int|word-separator}}<nowiki/>}}{{ll|{{{3}}}|{{{l3|{{{3}}}}}}}}}}{{#if:{{{4|}}}

Revision as of 02:28, 19 May 2024

Examples

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