Template:Transwiki guide/doc: Difference between revisions

From IDU Wiki
Jump to navigation Jump to search
en>Mr. Stradivarius
(update/expand)
 
m (1 revision imported)
 
(No difference)

Latest revision as of 19:07, 11 March 2023

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[edit source]

Basic

{{transwiki guide}}

All parameters

{{transwiki guide|page|category sort|small=yes}}

Parameters[edit source]

  • 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.