Open main menu

Project: Gorgon Wiki β

Difference between revisions of "Template:SPW/doc"

< Template:SPW
m (Removing unused foreign-language links)
m (Synced with latest version on http://templates.wikia.com/wiki/Template:SPW/doc)
 
(One intermediate revision 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={{safesubstsubst:#titleparts:{{safesubstsubst: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

Latest revision as of 08: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.