Documentation: Difference between revisions
/>Henstepl + Template documentation |
/>Henstepl Rollback until Javascript is in place... |
||
Line 37: | Line 37: | ||
}}'' | }}'' | ||
{{#ifeq:{{{SPW}}}|is not relevant|| | {{#ifeq:{{{SPW}}}|is not relevant|| | ||
:''To install it, | :''To install it, copy [{{FULLURL:{{FULLPAGENAME}}}}?action=edit this template]<sup>[[Special:Export/{{FULLPAGENAME}}|export]]</sup> and [{{FULLURL:{{FULLPAGENAME}}/doc}}?action=edit its documentation]<sup>[[Special:Export/{{FULLPAGENAME}}/doc|export]]</sup> to '''Template:{{{SPW-link|{{PAGENAME}}}}}''' and '''Template:{{{SPW-link|{{PAGENAME}}}}}/doc''' on your wiki. [[Help:How_to_copy_templates_to_your_wiki|Need help?]]''{{#if:{{{dep1|}}}| | ||
:''Copy also'' <!-- | |||
:'' | |||
-->[{{FULLURL:{{{dep1}}}}}?action=edit {{{dep1}}}]<sup>[[Special:Export/{{{dep1}}}|export]]</sup>{{#if:{{{dep2|}}}|, <!-- | -->[{{FULLURL:{{{dep1}}}}}?action=edit {{{dep1}}}]<sup>[[Special:Export/{{{dep1}}}|export]]</sup>{{#if:{{{dep2|}}}|, <!-- | ||
-->[{{FULLURL:{{{dep2}}}}}?action=edit {{{dep2}}}]<sup>[[Special:Export/{{{dep2}}}|export]]</sup>}}{{#if:{{{dep3|}}}|, <!-- | -->[{{FULLURL:{{{dep2}}}}}?action=edit {{{dep2}}}]<sup>[[Special:Export/{{{dep2}}}|export]]</sup>}}{{#if:{{{dep3|}}}|, <!-- | ||
-->[{{FULLURL:{{{dep3}}}}}?action=edit {{{dep3}}}]<sup>[[Special:Export/{{{dep3}}}|export]]</sup>}}.}} | -->[{{FULLURL:{{{dep3}}}}}?action=edit {{{dep3}}}]<sup>[[Special:Export/{{{dep3}}}|export]]</sup>}} to the same location{{#if:{{{dep2|}}}|(s) on your wiki.}}}} | ||
:''Use edit summary: ''<code><nowiki>Copied from [[w:c:templates:</nowiki>{{FULLPAGENAME}}<nowiki>]]</nowiki></code>'' to properly attribute this template's editors.''{{#if:{{{vanilla|}}}| | :''Use edit summary: ''<code><nowiki>Copied from [[w:c:templates:</nowiki>{{FULLPAGENAME}}<nowiki>]]</nowiki></code>'' to properly attribute this template's editors.''{{#if:{{{vanilla|}}}| | ||
:''This template is compatible with vanilla Mediawiki.''}} | :''This template is compatible with vanilla Mediawiki.''}} | ||
Line 66: | 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 | * <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>sandbox = yes</code> should the template have a /sandbox page. | ||
* <code>testcases = yes</code> should the template have a /testcases page. | * <code>testcases = yes</code> should the template have a /testcases page. | ||
Line 78: | 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. |