Template:Transwiki guide/doc: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>Mr. Stradivarius copy from Template:Transwiki guide and expand |
m 2 revisions imported |
||
| (One intermediate revision by one other user not shown) | |||
| Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --> | <!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --> | ||
This adds a tag to the top of a template documentation page indicating that the template has a transwiki guide. It automatically includes pages it is transcluded on in [[:Category:Transwiki guide]]. If the template has a document page, you should add it inside {{tag|includeonly}} tags at the top. | |||
== Syntax == | == Syntax == | ||
| Line 10: | Line 12: | ||
'''All parameters''' | '''All parameters''' | ||
{{transwiki guide|''page''|''category sort''}} | {{transwiki guide|''page''|''category sort''|small=''yes''}} | ||
== Parameters == | |||
* <code>1</code> - a custom transwiki page. The default is <nowiki>[[{{FULLPAGENAME}}/Transwiki guide]]</nowiki>. | |||
* <code>2</code> - a custom sort key for [[:Category:Transwiki guide]]. The default is <nowiki>{{PAGENAME}}</nowiki>. | |||
* <code>small</code> - if this is set to "yes", a small template is output. | |||
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | | | <includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | | | ||
Latest revision as of 13:56, 3 September 2020
| This is a documentation subpage for Template:Transwiki guide. It may contain usage information, categories and other content that is not part of the original template page. |
This adds a tag to the top of a template documentation page indicating that the template has a transwiki guide. It automatically includes pages it is transcluded on in Category:Transwiki guide. If the template has a document page, you should add it inside <includeonly>...</includeonly> tags at the top.
Syntax
Basic
{{transwiki guide}}
All parameters
{{transwiki guide|page|category sort|small=yes}}
Parameters
1- a custom transwiki page. The default is [[{{FULLPAGENAME}}/Transwiki guide]].2- a custom sort key for Category:Transwiki guide. The default is {{PAGENAME}}.small- if this is set to "yes", a small template is output.