Difference between revisions of "Template:SPW"

From EVE University Wiki
Jump to: navigation, search
(Fixing up template documentation system)
 
(change BG colour for consistency with current style/visibility)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>{{underconstruction}}
+
<includeonly>{{
</noinclude>{{
 
 
   #ifeq: {{NAMESPACE}} | {{ns:10}} <!-- only display output when in the Template: namespace -->
 
   #ifeq: {{NAMESPACE}} | {{ns:10}} <!-- only display output when in the Template: namespace -->
 
   | {{
 
   | {{
Line 15: Line 14:
 
       | #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}}]] }} }}
 
       | #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>
+
     | <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: #000000;"><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}} -->
 
     <!-- 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}}]] }}
 
     {{ #ifeq: {{ #titleparts: {{PAGENAME}} | 1 | -1 }} | doc | <!-- documentation subpage --> | [[Category:Templates copied from Wikia Templates|{{PAGENAME}}]] }}
 
   }}
 
   }}
}}<noinclude>
+
}}</includeonly><noinclude>
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 07:06, 2 September 2015

Template documentation (for the above template, sometimes hidden or invisible)
This article should be cleaned up or improved.
The reason is: Standardize the documentation according to the template {{documentation}}. Arin Mara (talk) 08:36, 23 April 2022 (UTC)
Description
This template is used to show that a template has been copied from Wikia Templates, and to remind editors to periodically check that wiki for a newer version of the template.
There is generally no need to locally edit this template, its documentation, or any calls to it; any such edits should instead be done on Wikia Templates and the updated version then copied back to the local wiki.
Visit Template:SPW/doc to edit this text! (How does this work?) (Refresh this text - why?)