Documentation: Difference between revisions

From SL Pro Wrestling Wiki
/>Henstepl
Default behavior to assume template not on SPW
/>Henstepl
+ Parameter
Line 10: Line 10:
:''{{#switch: {{{SPW}}}
:''{{#switch: {{{SPW}}}
       | is on          = This template or a similar one is on [[w:c:starter:Template:{{PAGENAME}}|the Starter Pages Wikia]], whence it is incorporated in every new Wikia site and can be copied to older ones.
       | is on          = This template or a similar one is on [[w:c:starter:Template:{{PAGENAME}}|the Starter Pages Wikia]], whence it is incorporated in every new Wikia site and can be copied to older ones.
       | is newer       = This template is newer than a similar one on [[w:c:starter:Template:{{PAGENAME}}|the Starter Pages Wikia]]. This template may therefore have bug fixes or improvements when compared to the older version.{{ #ifeq: {{ #titleparts: {{PAGENAME}} | 1 | 1 }} | SPW | <!-- no categories on Template:SPW and subpages --> | {{ #ifeq: {{ #titleparts: {{PAGENAME}} | 1 | -1 }} | doc | <!-- categories only on template pages --> | [[Category:Newer than on Starter Pages Wikia|{{PAGENAME}}]] }} }}
       | is newer
      | is newer than  = This template is newer than a similar one on [[w:c:starter:Template:{{PAGENAME}}|the Starter Pages Wikia]]. This template may therefore have bug fixes or improvements when compared to the older version.{{ #ifeq: {{ #titleparts: {{PAGENAME}} | 1 | 1 }} | SPW | <!-- no categories on Template:SPW and subpages --> | {{ #ifeq: {{ #titleparts: {{PAGENAME}} | 1 | -1 }} | doc | <!-- categories only on template pages --> | [[Category:Newer than on Starter Pages Wikia|{{PAGENAME}}]] }} }}
       | is not relevant = This template is not on [[w:c:starter|the Starter Pages Wikia]] because it is probably not relevant to wikis other than Templates Wikia. [[Category:Templates Wikia templates|{{PAGENAME}}]]
       | is not relevant = This template is not on [[w:c:starter|the Starter Pages Wikia]] because it is probably not relevant to wikis other than Templates Wikia. [[Category:Templates Wikia templates|{{PAGENAME}}]]
       | is not on       
       | is not on       

Revision as of 16:35, 15 November 2017