Help:Templates: Difference between revisions

From IdleOn MMO Wiki
(Created page with "'''Templates''' are a mechanism for extracting reusable functionality and content that can be transcluded into multiple pages. This page provides an overview of templates that are used throughout the wiki. For more detailed information on a template, view its documentation page. == Annotation Templates == ''Annotation templates'' are used to annotate statements. {| class="wikitable" width=100% ! Template !! Description |- | {{TemplatePreview|Annotation|message|tooltip?...")
 
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Rfd|Pages relating to the wiki as a whole belong in the project namespace. Migrate to [[IdleOn:Templates]]}}
'''Templates''' are a mechanism for extracting reusable functionality and content that can be transcluded into multiple pages. This page provides an overview of templates that are used throughout the wiki. For more detailed information on a template, view its documentation page.
'''Templates''' are a mechanism for extracting reusable functionality and content that can be transcluded into multiple pages. This page provides an overview of templates that are used throughout the wiki. For more detailed information on a template, view its documentation page.


Line 18: Line 20:


{| class="wikitable" width=100%
{| class="wikitable" width=100%
! Template !! Example !! Location
! Template !! Example
|-
|-
| {{TemplatePreview|Cleanup|reason?}}
| {{TemplatePreview|Cleanup|reason?}}
| {{Cleanup}}
| {{Cleanup}}
| Top of page
|-
|-
| {{TemplatePreview|Incomplete|reasons?}}
| {{TemplatePreview|Incomplete|reasons?}}
Line 29: Line 30:
| {{TemplatePreview|Outdated|reason?}}
| {{TemplatePreview|Outdated|reason?}}
| {{Outdated}}
| {{Outdated}}
| Top of page
|-
| {{TemplatePreview|Rfd|reason?}}
| {{Rfd|Some example reason}}
|}
|}



Latest revision as of 08:25, 12 June 2024

Templates are a mechanism for extracting reusable functionality and content that can be transcluded into multiple pages. This page provides an overview of templates that are used throughout the wiki. For more detailed information on a template, view its documentation page.

Annotation Templates

Annotation templates are used to annotate statements.

Template Description
{{Annotation|message|tooltip?}} Creates an annotation message with an optional tooltip.
{{Dubious|message?}} Indicates that a statement may be incorrect and needs to be verified. Additionally, adds the page to the Pages with Dubious Statements category to help editors track dubious statements.

Maintenance Templates

Maintenance templates are used to indicate that a page requires maintenance.

Template Example
{{Cleanup|reason?}} Template:Cleanup
{{Incomplete|reasons?}}
{{Outdated|reason?}}
{{Rfd|reason?}}

Utility Templates

Template Description
{{MessageBox|title|content|class?|image?}} Creates a message box.