Difference between revisions of "Template:SPW/doc"

From Project: Gorgon Wiki
Jump to: navigation, search
(copy-over from latest version on http://templates.wikia.com/wiki/Template:SPW/doc)
 
m (Synced with latest version on http://templates.wikia.com/wiki/Template:SPW/doc)
 
(3 intermediate revisions by the same user not shown)
Line 5: Line 5:
 
:This template is used to show whether there is a matching template on the [[w:c:Starter|Starter]] Wikia, which is the wiki that is preloaded onto every new Wikia.
 
:This template is used to show whether there is a matching template on the [[w:c:Starter|Starter]] Wikia, which is the wiki that is preloaded onto every new Wikia.
 
;Syntax
 
;Syntax
:Copy the code <code><nowiki>{{SPW|name={{subst:#titleparts:{{subst:PAGENAME}}|-1}}}}</nowiki></code> to the top of the "/doc" page (this code is part of the [[Template:Documentation/preload|template documentation preload]]). If that is all that it gets, it will display {{SPW|name=SPW}}
+
:Copy the code <code><nowiki>{{SPW|name={{BASEPAGENAME}} }}</nowiki></code> to the top of the "/doc" page (this code is part of the [[Template:Documentation/preload|template documentation preload]]). If that is all that it gets, it will display {{SPW|name=SPW}}
 
:Check the link to see whether there is a matching template. Next step is to add the appropriate switch before the <code><nowiki>|name=...</nowiki></code>, one of <code><nowiki>|is on</nowiki></code>, <code><nowiki>|is not on</nowiki></code>, or <code><nowiki>|is newer</nowiki></code>.  
 
:Check the link to see whether there is a matching template. Next step is to add the appropriate switch before the <code><nowiki>|name=...</nowiki></code>, one of <code><nowiki>|is on</nowiki></code>, <code><nowiki>|is not on</nowiki></code>, or <code><nowiki>|is newer</nowiki></code>.  
 
;Sample output
 
;Sample output
Line 39: Line 39:
 
<includeonly>
 
<includeonly>
 
{{{category|[[Category:Interwiki link templates]]}}}
 
{{{category|[[Category:Interwiki link templates]]}}}
[[ja:テンプレート:SPW]]
 
 
</includeonly><noinclude>
 
</includeonly><noinclude>
 
[[Category:Template documentation]]
 
[[Category:Template documentation]]
[[ja:テンプレート:SPW/doc]]</noinclude>
+
</noinclude>

Latest revision as of 07:12, 18 April 2016

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.