Jump to content
Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Echoes of the Flesh:Templates: Difference between revisions

From Echoes of the Flesh
Content deleted Content added
DivošiRunner (talk | contribs)
Add curated lore navigation and document native disclosures and template previews
DivošiRunner (talk | contribs)
Improve beginner help, page starters and site navigation; correct current access guidance
Line 1: Line 1:
Templates reuse content and formatting across pages. Editors can use an existing template on a page they are allowed to edit without needing permission to change the template itself.
Templates are reusable components: a character panel, status label or notice used on many pages. You can use an existing template on a page you may edit without permission to change the shared template itself.


== A whole page, or one component? ==
⚫
[{{fullurl:Special:AllPages|namespace=10}} Browse all templates] · [[Special:WantedTemplates|Missing templates]] · [[Special:UnusedTemplates|Unused templates]]
* '''Start a whole page:''' use [[Help:Creating pages|a starter layout]]. Its headings and blank fields are copied into your unsaved draft; later layout changes do not overwrite your writing.
* '''Reuse another page's structure:''' use '''Copy page source''' in its page tools, then follow [[Help:Reusing page layouts|the copying checklist]]. Check old categories, names and status labels.
* '''Insert one shared component:''' use a template. VisualEditor and the classic source editor's TemplateWizard can show named fields when TemplateData is available.


== Using templates ==
== Useful components ==
{| class="wikitable"
Useful examples include [[Template:Document status]] for editorial status, [[Template:Character Panel]] for characters, [[Template:Incomplete]] for missing content, and [[Template:Collapsible section]] for optional supplementary notes. Read their documentation and preview before saving. See [[Help:Editing guide]] and [[Help:Document status]].
! Component !! Use it for
|-
| [[Template:Document status]] || Draft/review and continuity labels; see [[Help:Document status]].
|-
| [[Template:Character Panel]] || Character details and an optional portrait. Use a bare filename in image and a description in imagealt.
|-
| [[Template:Incomplete]] / [[Template:Placeholder]] || Explain a missing section or an unwritten page without deciding canon.
|-
| [[Template:Collapsible section]] || Supplementary notes readers can expand. Keep essential content visible.
|-
| [[Template:Archive navigation]] || Links on archive index pages.
|}


⚫
[{{fullurl:Special:AllPages|namespace=10}} Browse templates] · [[Special:WantedTemplates|Missing templates]] · [[Special:UnusedTemplates|Unused templates]]
⚫
== Editing shared components ==
Template and Form pages require template-edit, normally supplied by maintainer or sysop. This includes the TemplateStyles CSS subpages used by these components. Lua Module pages require editinterface, normally supplied by interface-admin or sysop. Other MediaWiki interface or site-code restrictions are described in [[Echoes of the Flesh:Access levels]]. Creating pages also requires the page-creation right.


⚫
== Edit shared components carefully ==
Before changing a shared component, check [[Special:WhatLinksHere|where it is used]]. Additional individual/cascading protection may apply, especially to homepage components. Use [[Help:Template previews|TemplateSandbox]] to preview a real article with unsaved template or Lua code. Test missing parameters, category effects and mobile layout before saving. Follow the established Citizen styling.
Template and Form pages require maintainer/sysop access; Lua and interface pages have additional restrictions. [[Echoes of the Flesh:Access levels|Access levels]] is the permissions reference. Individual and cascading protection may also apply.


Check '''What links here''' before changing a shared component. Use [[Help:Template previews|TemplateSandbox]] to preview a real article with unsaved template or Lua code. Check blank parameters, category effects, light/dark themes and small screens. A template preview does not automatically replace a separate TemplateStyles stylesheet.
[https://www.mediawiki.org/wiki/Help:Templates MediaWiki’s template guide] explains standard template syntax.

Keep the established Citizen styling and document fields with TemplateData so both editors can offer helpful labels. [https://www.mediawiki.org/wiki/Help:Templates MediaWiki's template guide] explains the standard syntax.
[[Category:Editing help]]
[[Category:Editing help]]

Revision as of 19:49, 27 October 2026

Templates are reusable components: a character panel, status label or notice used on many pages. You can use an existing template on a page you may edit without permission to change the shared template itself.

A whole page, or one component?

  • Start a whole page: use a starter layout. Its headings and blank fields are copied into your unsaved draft; later layout changes do not overwrite your writing.
  • Reuse another page's structure: use Copy page source in its page tools, then follow the copying checklist. Check old categories, names and status labels.
  • Insert one shared component: use a template. VisualEditor and the classic source editor's TemplateWizard can show named fields when TemplateData is available.

Useful components

Component Use it for
Template:Document status Draft/review and continuity labels; see Help:Document status.
Template:Character Panel Character details and an optional portrait. Use a bare filename in image and a description in imagealt.
Template:Incomplete / Template:Placeholder Explain a missing section or an unwritten page without deciding canon.
Template:Collapsible section Supplementary notes readers can expand. Keep essential content visible.
Template:Archive navigation Links on archive index pages.

Browse templates · Missing templates · Unused templates

Edit shared components carefully

Template and Form pages require maintainer/sysop access; Lua and interface pages have additional restrictions. Access levels is the permissions reference. Individual and cascading protection may also apply.

Check What links here before changing a shared component. Use TemplateSandbox to preview a real article with unsaved template or Lua code. Check blank parameters, category effects, light/dark themes and small screens. A template preview does not automatically replace a separate TemplateStyles stylesheet.

Keep the established Citizen styling and document fields with TemplateData so both editors can offer helpful labels. MediaWiki's template guide explains the standard syntax.