Difference between revisions of "Template:SPW/doc"
From Project: Gorgon Wiki
m (Removing unused foreign-language links) |
m (typo in safesubst) |
||
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={{ | + | :Copy the code <code><nowiki>{{SPW|name={{safesubst:#titleparts:{{safesubst: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}} |
: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 |
Revision as of 07:45, 16 April 2016
This template was copied from Template:SPW on Wikia Templates. That wiki should periodically be checked for a new version of this template. |
- 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.