Documentation: Difference between revisions

From SL Pro Wrestling Wiki
/>Lady Aleena
Expanded copy citation
/>Lady Aleena
Only 1 ifeq check for wiki, installation section, reword installation (may undo if it fizzles)
Line 7: Line 7:
| Visit {{#if:{{{1|}}}|[[:{{{1}}}]]|[[:{{FULLPAGENAME}}/doc]]}} to edit this documentation. ([[Template:Documentation|How does this work?]])
| Visit {{#if:{{{1|}}}|[[:{{{1}}}]]|[[:{{FULLPAGENAME}}/doc]]}} to edit this documentation. ([[Template:Documentation|How does this work?]])
|}
|}
<div style="margin:0 1em;">
{{#ifeq: {{SITENAME}} | Wikia Templates | <div style="margin:0 1em;">
:''{{#switch: {{{SPW|{{Is SPW}}}}}
:''{{#switch: {{{SPW|{{Is SPW}}}}}
| is newer
| is newer
| is newer than =
| is newer than =
This template is newer than a similar one on [[w:c:starter:Template:{{{SPW-link|{{PAGENAME}}}}}|the Starter Pages Wikia]]. This template may therefore have bug fixes or improvements when compared to the older version.{{#ifeq: {{SITENAME}} | Wikia Templates | [[Category:Newer than on Starter Pages Wikia|{{PAGENAME}}]] }}
This template is newer than a similar one on [[w:c:starter:Template:{{{SPW-link|{{PAGENAME}}}}}|the Starter Pages Wikia]]. This template may therefore have bug fixes or improvements when compared to the older version.[[Category:Newer than on Starter Pages Wikia|{{PAGENAME}}]]
| is not relevant
| is not relevant
| is not relevant to =
| is not relevant to =
This template is not on [[w:c:starter|the Starter Pages Wikia]] because it is probably not relevant to wikis other than Templates Wikia. '''You probably don't want to copy this template to your wiki.''' {{#if:{{{SPW-link|}}}|For a similar template intended to be copied, see [[:{{{SPW-link}}}]].}} {{#ifeq: {{SITENAME}} | Wikia Templates | [[Category:Templates Wikia templates|{{PAGENAME}}]] }}
This template is not on [[w:c:starter|the Starter Pages Wikia]] because it is probably not relevant to wikis other than Templates Wikia. '''You probably don't want to copy this template to your wiki.''' {{#if:{{{SPW-link|}}}|For a similar template intended to be copied, see [[:{{{SPW-link}}}]].}}[[Category:Templates Wikia templates|{{PAGENAME}}]]
| true <!-- Automatically checked against list of SPW templates at Template: Is SPW -->
| true <!-- Automatically checked against list of SPW templates at Template: Is SPW -->
| is on =
| is on =
This template or a similar one is on [[w:c:starter:Template:{{PAGENAME}}|the Starter Pages Wikia]], whence it is incorporated in every new Wikia site and can be copied to older ones. {{#ifeq: {{SITENAME}} | Wikia Templates | [[Category:From Starter Pages Wikia|{{PAGENAME}}]] }}
This template or a similar one is on [[w:c:starter:Template:{{PAGENAME}}|the Starter Pages Wikia]], whence it is incorporated in every new Wikia site and can be copied to older ones.[[Category:From Starter Pages Wikia|{{PAGENAME}}]]
| is not on       
| is not on       
| #default =
| #default =
This template is not on [[w:c:starter:Template:{{PAGENAME}}|the Starter Pages Wikia]]. It can be copied to other Wikia sites, but it is not included on any by default.{{#ifeq: {{SITENAME}} | Wikia Templates | [[Category:Not on Starter Pages Wikia]] }}
This template is not on [[w:c:starter:Template:{{PAGENAME}}|the Starter Pages Wikia]]. It can be copied to other Wikia sites, but it is not included on any by default.[[Category:Not on Starter Pages Wikia]]
}}''
}}''
{{#ifeq:{{{SPW}}}|is not relevant||
{{#ifeq:{{{SPW|}}}|is not relevant||
:''To install it, copy [{{FULLURL:{{PAGENAME}}}}?action=edit this template] and [{{FULLURL:{{PAGENAME}}/doc}}?action=edit its documentation] to '''{{{SPW-link|{{FULLPAGENAME}}}}}'''  and '''{{{SPW-link|{{FULLPAGENAME}}}}}/doc''' on your wiki. Or, [[Special:Export/{{{SPW-link|{{FULLPAGENAME}}}}}|export this page]]''{{#if:{{{dep1|}}}|
<div style="width: 100%;">
:''Copy also [[:{{{dep1}}}]]{{#if:{{{dep2|}}}|, [[:{{{dep2}}}]]}}{{#if:{{{dep3|}}}|, [[:{{{dep3}}}]]}} to the same location{{#if:{{{dep2|}}}|(s) on your wiki.}}}}
<div class="color1">Installation</div>
:''Use edit summary ''<code><nowiki>Copied from [[w:c:templates:</nowiki>{{FULLPAGENAME}}<nowiki>]]</nowiki></code>'' to properly attribute this template's editors.''{{#if:{{{vanilla|}}}|
To install this template, [[Special:Export/{{{SPW-link|{{FULLPAGENAME}}}}}|export this template]] or copy [{{FULLURL:{{FULLPAGENAME}}}}?action=edit this template] and [{{FULLURL:{{FULLPAGENAME}}/doc}}?action=edit its documentation] to '''{{{SPW-link|{{FULLPAGENAME}}}}}'''  and '''{{{SPW-link|{{FULLPAGENAME}}}}}/doc''' on your wiki. Remember to also check for other [[Special:Prefindex/{{FULLPAGENAME}}/|subpages]].{{#if:{{{dep1|}}}|
;When copying
:Copy [[:{{{dep1}}}]]{{#if:{{{dep2|}}}|, [[:{{{dep2}}}]]}}{{#if:{{{dep3|}}}|, [[:{{{dep3}}}]]}} 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.
</div>{{#if:{{{vanilla|}}}|
:''This template is compatible with vanilla Mediawiki.''}}
:''This template is compatible with vanilla Mediawiki.''}}
}}
}}
{{#if:{{{1|}}}|{{{{{1}}}}}|{{{{FULLPAGENAME}}/doc}}}}
{{#ifeq: {{SITENAME}} | Wikia Templates |
{{#if:{{{ja|}}}|[[ja:{{{ja}}}]]|{{#if:{{Is JA}}|[[ja:Template:{{PAGENAME}}]]}}}}
{{#if:{{{ja|}}}|[[ja:{{{ja}}}]]|{{#if:{{Is JA}}|[[ja:Template:{{PAGENAME}}]]}}}}
{{#if:{{{zh|}}}|[[zh:{{{zh}}}]]|{{#if:{{Is ZH}}|[[zh:Template:{{PAGENAME}}]]}}}}
{{#if:{{{zh|}}}|[[zh:{{{zh}}}]]|{{#if:{{Is ZH}}|[[zh:Template:{{PAGENAME}}]]}}}}
}}</div></includeonly><noinclude>
</div>}}
{{#if:{{{1|}}}|{{{{{1}}}}}|{{{{FULLPAGENAME}}/doc}}}}</includeonly><noinclude>
{{Documentation|SPW = is not relevant|SPW-link = Template:Documentation (copy)}}
{{Documentation|SPW = is not relevant|SPW-link = Template:Documentation (copy)}}
</noinclude>
</noinclude>

Revision as of 23:01, 10 December 2017