Templates

From gm_construct 13 beta
Revision as of 05:10, 10 July 2023 by Xalalau (talk | contribs)
Jump to navigation Jump to search

Overview

Templates are wiki pages whose content can be embedded in other pages. They allow for easy translations and help maintain consistency among related documents. This page describes some templates for formatting text.

Many gm13 templates are inspired by the official Mediawiki ones.

Templates

Template Example syntax Example output
Warning
{{warning}} Here is my warning.
OOjs UI icon notice-destructive.svg.png Here is my warning.
Note
{{note|Note 1}}
OOjs UI icon reference 20 ac6600.png Note 1
Tip
{{Tip|Here is my tip.}}
OOjs UI icon lightbulb-yellow.png Here is my tip.
Notice
{{Notice|Here is my notice.}}
40px-OOjs UI icon information-progressive.svg.png Here is my notice.
Fixme
{{Fixme}}
{{{icon-size}}} This documentation is considered incorrect and should not be used as a point of reference. It needs reviewing by someone who understands the subject matter and can fix any problems.
Historical
{{Historical}}
{{{icon-size}}} This page is obsolete. It is being retained for archival purposes. It may document extensions or features that are obsolete and/or no longer supported. Do not rely on any information on this page.
Outdated (Alias: Update)
{{Outdated}}
Alias: {{Update}}
{{{icon-size}}} This page is outdated. It was written for an older version of the content and may not apply to the most recent version. If you have checked or updated this page and found the content to be suitable, please remove this notice.
Draft
{{Draft}}
{{{icon-size}}} This page is currently a draft.

More information and discussion about changes to this draft may be on the discussion page.