Templates

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

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.}}
Here is my warning.
Note
{{note|Note 1}}
Note 1
Tip
{{Tip|Here is my tip.}}
Here is my tip.
Notice
{{Notice|Here is my notice.}}
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.

Location
{{Location|title1=Spawn|type=Location|connections=[[Surface]], Spawn Building, [[Building A]] |events=[[Portals]]|entities=[[Dark Figure]], [[Semper]], [[info player start]], [[Mingebags]]|image1=Spawn.jpg}}
Spawn
General
Entities Dark Figure, Semper, info player start, Mingebags
Events Portals
Connected Locations Surface, Spawn Building, Building A


Entity
{{Entity|title1=Ratman|image1=Ratman.png|caption1=The Ratman|type=Entity|nicknames=N/A|is_hostile=When annoyed|is_spawnable=No|enables_curse_detector=Yes|health=Unkillable (50)|damage=Heavy Damage but not exactly calculated.}}
Ratman
The Ratman
General
Type Entity
Nicknames N/A
Attributes
Hostile When annoyed
Spawnable No
Cursed Yes
Health Unkillable (50)
Damage Heavy Damage but not exactly calculated.


Group
{{Group|title=A.R.C.|image=ARC logo.png|caption=The A.R.C. logo.|abbreviation=Anomaly. Research. Center.|allies=[[Eagle. Detector.|Eagle Detector]]|enemies=[[A.M.T.F.]]|date of creation=February 24<sup>th</sup>, 2022}}
A.R.C.

The A.R.C. logo.

General
Abbreviation Anomaly. Research. Center.
Allies Eagle Detector
Enemies A.M.T.F.


Event
{{Event|title1=Broken Vehicles|image1=20220321055554 1.webp|caption1=Broken Vehicles|type=Event|event_name=breakVehicles|summary=Vehicles break near the dark room.}}
Broken Vehicles
Broken Vehicles
General
Type Event
Event Name breakVehicles
Summary Vehicles break near the dark room.