Changes

Jump to: navigation, search

Template:SPW

3,815 bytes added, 08:50, 8 April 2016
copy-over from latest version on http://templates.wikia.com/wiki/Template:SPW
<noinclude>{{underconstruction}}
</noinclude>{{
#ifeq: {{NAMESPACE}} | {{ns:10}} <!-- only display output when in the Template: namespace -->
| {{
#ifeq: {{ #if: {{{reusedemo|}}} | {{{reusedemo}}} | {{ns:4}} }} | Wikia Templates
| {{
#ifeq: {{ #replace: {{{name<noinclude>|SPW</noinclude>}}} | &#61; | = }} | {{ #titleparts: {{ #ifeq: {{ #titleparts: {{PAGENAME}} | 1 | -1 }} | doc | {{BASEPAGENAME}} | {{PAGENAME}} }} }}
| <!-- {{{name}}} is used with the correct value -->
| :<strong class="error">Error: <nowiki>{{{name}}}</nowiki> parameter is unused or incorrect!</strong> Please replace <code><nowiki>{{SPW</nowiki>{{ #if: {{{1|}}} | {{!}}{{{1}}} }}{{ #ifeq: {{{name|¬}}} | ¬ | | {{!}}name={{{name|}}} }}<nowiki>}}</nowiki></code> with <code><nowiki>{{SPW</nowiki>{{ #if: {{{1|}}} | {{!}}{{{1}}} }}{{!}}name={{BASEPAGENAME}}<nowiki>}}</nowiki></code>.[[Category:Templates needing an SPW name correction]]<br />
}}:''{{
#switch: {{{1}}}
| is on = This template or a similar one is on [[w:c:starter:Template:{{{name}}}|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:{{{name}}}|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 on = This template is not on [[w:c:starter:Template:{{{name}}}|the Starter Pages Wikia]]. It can be copied to other Wikia sites, but it is not included on any by default.{{ #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:Not on Starter Pages Wikia|{{PAGENAME}}]] }} }}
| #default = '''Editors have not checked whether this template is or is not on [[w:c:starter:Template:{{{name}}}|the Starter Pages Wikia]].'''{{ #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:Not checked for on Starter Pages Wikia|{{PAGENAME}}]] }} }}
}}''
| <table class="plainlinks ambox ambox-blue" style="width: 80%; margin: 0 auto; border: 1px #AAA solid; border-left: 10px solid #1e90ff; border-collapse: collapse; background-color: #EEE;"><tr><td class="ambox-image" style="width: 60px; padding: 2px 0px 2px 0.5em; text-align: center;">[[File:Wiki.png|50px]]</td><td style="padding: 0.25em 0.5em;">This template was copied from [[w:c:templates:Template:{{{name}}}|Template:{{{name}}}]] on Wikia Templates.<div class="ambox-smalltext" style="font-size: smaller; margin-top:0.5em; margin-left:0.8em;">That wiki should periodically be checked for a new version of this template.</div></td></tr></table>
<!-- This line can be used instead of the above table if [[Template:Ambox]] is installed on your wiki: {{Ambox|image=[[File:Wiki.png|50px]]|type=This template was copied from [[w:c:templates:Template:{{{name}}}|Template:{{{name}}}]] on Wikia Templates.|info=That wiki should periodically be checked for a new version of this template.|border=blue}} -->
{{ #ifeq: {{ #titleparts: {{PAGENAME}} | 1 | -1 }} | doc | <!-- documentation subpage --> | [[Category:Templates copied from Wikia Templates|{{PAGENAME}}]] }}
}}
}}<noinclude>
{{documentation}}
</noinclude>
1,071
edits

Navigation menu