Elite Dangerous Wiki:Template index/Template namespace: Difference between revisions

Content deleted Content added
Localise template catalogue and editorial guidance for the independent wiki
Restore original template index format; localise policy references without changing tables or examples
Line 1:
<div class="hatnote">This index documents local templates. Follow this wiki's local policies and guidance when using the examples.</div>
[[Project:Template index|Template index]] / Template namespace
These templates and message boxes are used on template pages and their subpages such as their /doc pages.
 
Additional templates for template pages can be found in [[:Category:Template namespace templates]] and its subcategories.
Documentation and maintenance of reusable templates.
 
{| border="1" cellspacing="0" cellpadding="3"
Document supported parameters and provide examples on the template or its documentation subpage. Use noinclude/includeonly appropriately so documentation and categories do not leak into article output.
|-
! What to type
! What it makes
|-
| {{Elitetlx|convert template index}}▼
Add to a template that should be converted to one of the standardized templates (like 'fix', or 'infobox')
| {{convert template}}
|-
| {{tlx|documentation}}
*See [[ProjectElite Dangerous Wiki:Template documentation|Template documentation]] for usage.▼
| {{Documentation|demospace=yes}}
|-
| {{tlx|documentation subpage}}
Only shows when on a /doc subpage.
| {{mbox
| type = notice
| image = [[File:Edit-copy green.svg|40px]]
| text =
'''This is a [[Elite Dangerous Wiki:Template documentation|documentation]] [[Project:Template documentation|subpage]] for {{{1|[[:{{SUBJECTSPACE}}:{{BASEPAGENAME}}]]}}}''' <small>(see that page for the {{ #if: {{{text1|}}} | {{{text1}}} | {{ #ifeq: {{SUBJECTSPACE}} | {{ns:User}} | {{lc:{{SUBJECTSPACE}}}} template | {{ #if: {{SUBJECTSPACE}} | {{lc:{{SUBJECTSPACE}}}} | article }}}}}} itself)</small>.<br />It contains usage information, [[Elite Dangerous Wiki:Categorization|categories]], [[Help:Interlanguage links|interlanguage links]] and other content that is not part of the original {{ #if: {{{text2|}}} | {{{text2}}} | {{ #if: {{{text1|}}} | {{{text1}}} | {{ #ifeq: {{SUBJECTSPACE}} | {{ns:User}} | {{lc:{{SUBJECTSPACE}}}} template page | {{ #if: {{SUBJECTSPACE}} |{{lc:{{SUBJECTSPACE}}}} page|article}}}}}}}}.
}}
|-
| {{tlx|high-use}}
To be put in the documentation for high-use templates.
| {{High-use}}
|-
| {{tlx|used in system}}
To be put in the documentation for templates that are used in the Elite Dangerous Wiki user interface.
| {{used in system|nocat=true}}
|-
*| [[:Template:Use template sandbox testcases request{{tlx|Use template sandbox testcases request]]}}▼
| {{Use template sandbox testcases request}}
|-
| {{tlx|Deprecated template}}
| {{Deprecated template|old|new|nocat=true}}
|-
| {{tlx|template sandbox notice}}
Only shows when on a /sandbox subpage.
| {{Template sandbox notice
| subpage-name = Template namespace
| category =
}}
|-
*| [[:Template:Template test cases notice{{tlx|template test cases notice]]}}▼
Used on a /testcases subpage.
| {{Template test cases notice | category = }}
|-
| {{tlx|test-mode}}
Allows a test version of a template to be seen by users that have "test-mode" enabled. All other users see the normal public version of the template being tested.
| {{Test-mode notice}}
|}
 
== LocalFor templatesthe template talk page ==
{| border="1" cellspacing="0" cellpadding="3"
Open a template page for its parameters and examples. These links identify existing local templates; their inclusion does not certify every imported behaviour.
|-
! What to type !! What it makes
|-
| {{tlx|permanently protected}}
| {{permanently protected|demopage=Main Page}}
|}<noinclude>
{{Elite template index}}
 
[[Category:Template namespace templates| ]]
* [[:Template:Documentation|Documentation]] - <code><nowiki>{{Documentation}}</nowiki></code>
</noinclude>
* [[:Template:TemplateData header|TemplateData header]] - <code><nowiki>{{TemplateData header}}</nowiki></code>
* [[:Template:High-use|High-use]] - <code><nowiki>{{High-use}}</nowiki></code>
* [[:Template:Template sandbox notice|Template sandbox notice]] - <code><nowiki>{{Template sandbox notice}}</nowiki></code>
* [[:Template:Lua|Lua]] - <code><nowiki>{{Lua}}</nowiki></code>
 
== Additional catalogue entries ==
Additional local templates linked from this subject catalogue. Check their documentation and wording before use.
 
* [[:Template:Convert template|convert template]]
* [[:Template:Deprecated template|Deprecated template]]
* [[:Template:Documentation subpage|documentation subpage]]
* [[:Template:Permanently protected|permanently protected]]
▲* [[:Template:Template test cases notice|template test cases notice]]
* [[:Template:Test-mode|test-mode]]
▲* [[:Template:Use template sandbox testcases request|Use template sandbox testcases request]]
* [[:Template:Used in system|used in system]]
 
== Before saving ==
* Preview the result and check any required parameters.
* Use local page titles and links.
* Explain a maintenance notice on the relevant talk page when needed.
* Do not copy example text that asserts a process or permission that does not exist here.
 
 
== Local policies and guidance ==
▲* [[Project:Template documentation|Template documentation]]
* [[Project:Substitution|Substitution]]
 
▲{{Elite template index}}