Jump to content

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

From Elite Dangerous Wiki
Content deleted Content added
Localise template catalogue and editorial guidance for the independent wiki
m Protected "Elite Dangerous Wiki:Template index/Template namespace": Pre-registration protection review: Public template catalogue ([Edit=Allow only autoconfirmed users] (indefinite) [Move=Allow only autoconfirmed users] (indefinite))
 
(2 intermediate revisions by one other user not shown)
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
|-
⚫
| {{tlx|convert template}}
Add to a template that should be converted to one of the standardized templates (like 'fix', or 'infobox')
| {{convert template}}
|-
| {{tlx|documentation}}
⚫
See [[Elite 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|demo=index}}
|-
| {{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|demo=index}}
|-
⚫
| {{tlx|Use template sandbox testcases request}}
| {{Use template sandbox testcases request|demo=index}}
|-
| {{tlx|Deprecated template}}
| {{Deprecated template|old|new|nocat=true}}
|-
| {{tlx|template sandbox notice}}
Only shows when on a /sandbox subpage.
| {{Template sandbox notice
| 1 = Template:Ambox
| subpage-name = Template namespace
| category =
}}
|-
⚫
| {{tlx|template test cases notice}}
Used on a /testcases subpage.
| {{Template test cases notice|1=Template:Ambox|category=|demo=index}}
|-
| {{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}}
|}


== Local templates ==
== 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: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}}

Latest revision as of 21:43, 31 October 2026

This index documents local templates. Follow this wiki's local policies and guidance when using the examples.

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.

Template documentation follows
Note: the template above may sometimes be partially or fully invisible.
Visit "Template:Template index/Template namespace/doc" to edit its documentation if it is available. (How does this work?)

Template:Template index/Template namespace/doc

{{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}}