Elite Dangerous Wiki:Template index/Template namespace: Difference between revisions
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: | 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 |
|||
|- |
|||
| ⚫ | |||
Add to a template that should be converted to one of the standardized templates (like 'fix', or 'infobox') |
|||
| {{convert template}} |
|||
|- |
|||
| {{tlx|documentation}} |
|||
| ⚫ | |||
| {{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}} |
|||
|- |
|||
| ⚫ | |||
| {{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 = |
|||
}} |
|||
|- |
|||
| ⚫ | |||
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}} |
|||
|} |
|||
== |
== For the 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:Test-mode|test-mode]] |
|||
| ⚫ | |||
* [[: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:Substitution|Substitution]] |
|||
| ⚫ | |||
Revision as of 09:32, 31 October 2026
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.
| What to type | What it makes | |||
|---|---|---|---|---|
{{convert template}}
Add to a template that should be converted to one of the standardized templates (like 'fix', or 'infobox') |
| |||
{{documentation}}
See Template documentation for usage. |
| |||
{{documentation subpage}}
Only shows when on a /doc subpage. |
| |||
{{high-use}}
To be put in the documentation for high-use templates. |
| |||
{{used in system}}
To be put in the documentation for templates that are used in the Elite Dangerous Wiki user interface. |
| |||
{{Use template sandbox testcases request}}
|
| |||
{{Deprecated template}}
|
| |||
{{template sandbox notice}}
Only shows when on a /sandbox subpage. |
| |||
{{template test cases notice}}
Used on a /testcases subpage. |
| |||
{{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. |
|
For the template talk page
| What to type | What it makes | ||
|---|---|---|---|
{{permanently protected}}
|
|