Documentation: Difference between revisions
/>Henstepl |
/>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 {{ | #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 {{ | #: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 {{ | #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 {{ | #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 {{ | #: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 == |