⚠️ Warning: This is a draft ⚠️
This means it might contain formatting issues, incorrect code, conceptual problems, or other severe issues.
If you want to help to improve and eventually enable this page, please fork RosettaGit's repository and open a merge request on GitHub.
{{#switch: {{SUBJECTSPACE}} | {{ns:Template}} = [[Image:Template-info.svg|50px|alt=]] Template documentation | {{ns:File}} = Summary | #default = Documentation }} | #default = {{{heading|}}} }}
Headings
" at the start and end of docs are interpreted. --> {{#if: {{{content|}}} | {{{content|}}} | {{#if: {{{doc exist|yes}}} | {{ {{{docpage|{{FULLPAGENAME}}/doc}}} }} }} }}
| {{fmbox | id = documentation-meta-data | image = none | style = background-color: #ecfcf4; | textstyle = font-style: italic; | text = {{#if: {{{link box|}}} | {{{link box}}} | {{#if: {{{doc exist|yes}}} | The above [[Wikipedia:Template documentation|documentation]] is [[Wikipedia:Transclusion|transcluded]] from [[{{{docpage|{{FULLPAGENAME}}/doc}}}]]. ([{{fullurl:{{{docpage|{{FULLPAGENAME}}/doc}}}|action=edit}} edit] | [{{fullurl:{{{docpage|{{FULLPAGENAME}}/doc}}}|action=history}} history])
}}<!--
Add links to /sandbox and /testcases when appropriate:
-->{{#switch: {{SUBJECTSPACE}} | {{ns:User}} | {{ns:Template}} = Editors can experiment in this template's {{ #ifexist: {{{sandbox| {{FULLPAGENAME}}/sandbox }}} | [[{{{sandbox| {{FULLPAGENAME}}/sandbox }}}|sandbox]] ([{{fullurl: {{{sandbox| {{FULLPAGENAME}}/sandbox }}} | action=edit }} edit]) | sandbox ([{{fullurl: {{{sandbox| {{FULLPAGENAME}}/sandbox }}} | action=edit&preload=Template:Documentation/preload-sandbox }} create]) }} and {{ #ifexist: {{{testcases| {{FULLPAGENAME}}/testcases }}} | [[{{{testcases| {{FULLPAGENAME}}/testcases }}}|testcases]] ([{{fullurl: {{{testcases| {{FULLPAGENAME}}/testcases }}} | action=edit }} edit]) | testcases ([{{fullurl: {{{testcases| {{FULLPAGENAME}}/testcases }}} | action=edit&preload=Template:Documentation/preload-testcases }} create]) }} pages.
}}<!--
Show the cats and interwiki text, but not
if "content" fed or "docname fed" since then it is
unclear where to add the cats and interwikis.
-->{{#if: {{{content|}}} {{{docname fed|}}} | | Please add categories and interwikis to the [[{{{docpage|{{FULLPAGENAME}}/doc}}}|/doc]] subpage. }}{{#switch: {{SUBJECTSPACE}} | {{ns:File}} = | {{ns:Template}} = [[Special:PrefixIndex/{{{template page|{{FULLPAGENAME}}}}}/|Subpages of this template]]. | #default = [[Special:PrefixIndex/{{{template page|{{FULLPAGENAME}}}}}/|Subpages of this page]]. }} }}{{#ifexist:{{FULLPAGENAME}}/Print |A [[Help:Books/for experts#Improving the book layout|print version]] of this template exists at [[/Print]]. If you make a change to this template, please update the print version as well.[[Category:Templates with print versions]] }} }} }}<!--
Detect and report strange usage: -->{{#if:
{{#switch: {{SUBPAGENAME}} | doc | testcases = strange }}
|
}}
Copied from WP in support of Reflist
{{pp-template}}
{{template}}