Documentation: Difference between revisions

From SL Pro Wrestling Wiki
/>Henstepl
Undo revision 17233 by Henstepl (talk) Gross
/>Henstepl
Template:T shouldn't be a necessary dependency
Line 46: Line 46:


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.
#If the template '''should transclude a documentation page other than its /doc subpage,''' use {{T|Documentation|2=documentation page}}.
#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 {{t|Documentation|2=content=documentation goes here}} 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.
#If the template '''should be [[Help:Interlanguage links|interlanguage linked]] but at a different name,''' use {{T|Documentation|2=ja=Japanese name|3=zh=Chinese name}}.
#If the template '''should be [[Help:Interlanguage links|interlanguage linked]] but at a different name,''' use <code><nowiki>{{Documentation|ja=Japanese name|zh=Chinese name}}</nowiki></code>.
#:You might instead create a [[Help:redirect|redirect]] on the foreign-language wiki from the name used on this wiki to theirs (and then update the relevant template in [[#Maintenance]]).
#:You might instead create a [[Help:redirect|redirect]] on the foreign-language wiki from the name used on this wiki to theirs (and then update the relevant template in [[#Maintenance]]).
#:Interlanguage links to existing Japanese and Chinese pages are automatically inserted if their names are equivalent, in which case no parameter is needed.
#:Interlanguage links to existing Japanese and Chinese pages are automatically inserted if their names are equivalent, in which case no parameter is needed.
#If the template '''exists on [[w:c:starter:|Starter Pages Wikia]] but has been upgraded,''' use {{T|Documentation|2=SPW=is newer than}}.
#If the template '''exists on [[w:c:starter:|Starter Pages Wikia]] but has been upgraded,''' use <code><nowiki>{{Documentation|SPW=is newer than}}</nowiki></code>.
#:The other possible relations to SPW - "is not on" and "is on" [and unchanged] are automatically inserted, in which cases no parameter is needed.
#:The other possible relations to SPW - "is not on" and "is on" [and unchanged] are automatically inserted, in which cases no parameter is needed.
#:Some templates (such as this one) are not relevant to wikis other than Wikia Templates: these can be marked by {{T|Documentation|2=SPW=is not relevant}}.
#:Some templates (such as this one) are not relevant to wikis other than Wikia Templates: these can be marked by <code><nowiki>{{Documentation|SPW=is not relevant}}</nowiki></code>.


== Maintenance ==
== Maintenance ==

Revision as of 02:01, 20 December 2017