Documentation: Difference between revisions
/>Henstepl Typo fix(es) |
/>Lady Aleena added blurb on content parameter |
||
Line 62: | Line 62: | ||
It acts identically to the usual Template:Documentation - and should be treated identically - except for a few particular cases. | It acts identically to the usual Template:Documentation - and should be treated identically - except for a few particular cases. | ||
* <code>content = </code> should the template have just a short blurb for documenttion and not need a new page for it. | |||
* <code>sandbox = yes</code> should the template have a /sandbox page. | |||
* <code>testcases = yes</code> should the template have a /testcases page. | |||
* If the template '''should transclude a documentation page other than its /doc subpage,''' use <code><nowiki>{{Documentation|documentation page}}</nowiki></code>. | * If the template '''should transclude a documentation page other than its /doc subpage,''' use <code><nowiki>{{Documentation|documentation page}}</nowiki></code>. | ||
*: You may also use <code><nowiki>{{Documentation|content=documentation goes here}}</nowiki></code> to include documentation without a subpage at all. | *: You may also use <code><nowiki>{{Documentation|content=documentation goes here}}</nowiki></code> to include documentation without a subpage at all. | ||
Line 71: | Line 74: | ||
** <code>SPW=is not relevant</code> - The template (such as this one) are not relevant to wikis other than Templates Wiki. | ** <code>SPW=is not relevant</code> - The template (such as this one) are not relevant to wikis other than Templates Wiki. | ||
** The other possible relations to SPW - "<code>is not on</code>" and "<code>is on</code>" [and unchanged] are automatically inserted, in which cases no parameter is needed. | ** The other possible relations to SPW - "<code>is not on</code>" and "<code>is on</code>" [and unchanged] are automatically inserted, in which cases no parameter is needed. | ||
== Maintenance == | == Maintenance == | ||
* Periodically check [http://starter.wikia.com/index.php?title=Special%3AAllPages&from=&to=&namespace=10 the list of templates on FANDOM starter pages wiki] to see if the list encoded into [[:Template:Is SPW]] is up-to-date. | * Periodically check [http://starter.wikia.com/index.php?title=Special%3AAllPages&from=&to=&namespace=10 the list of templates on FANDOM starter pages wiki] to see if the list encoded into [[:Template:Is SPW]] is up-to-date. |