Templates: Difference between revisions

From gm_construct 13 beta
Jump to navigation Jump to search
No edit summary
No edit summary
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
==Overview==
==ShareOverview==
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.
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 [https://www.mediawiki.org/wiki/Documentation/Style_guide/templates| Mediawiki] ones.
Many gm13 templates are inspired by the official [[mediawikiwiki:Documentation/Style_guide/templates|Mediawiki]] ones.


== Templates ==
== Templates ==
Line 43: Line 43:
| <pre>{{Draft}}</pre>
| <pre>{{Draft}}</pre>
| {{Draft|nocat=yes}}
| {{Draft|nocat=yes}}
|-
!<h5> [[Template:Unfinished|Unfinished]] </h5>
|<pre>{{Unfinished}}</pre>
|{{Unfinished}}
|-
!<h5> [[Template:ServerCommand|Server Command]] </h5>
|<pre>{{ServerCommand|Command=gm13_reset|Text=When you get the Curse Detector, it will permanently save unless you run this command.}}</pre>
|{{ServerCommand|Command=gm13_reset|Text=When you get the Curse Detector, it will permanently save unless you run this command.}}
|-
!<h5> [[Template:ClientCommand|Client Command]] </h5>
|<pre>{{ClientCommand|Command=gm13_events_render|Text=This is a command.}}</pre>
|{{ClientCommand|Command=gm13_events_render|Text=This is a command.}}
|-
!<h5> [[Template:SharedCommand|Shared Command]] </h5>
|<pre>{{SharedCommand|Command=devmode_gm13_toggle|Text=To turn devmode on you must use this command.}}</pre>
|{{SharedCommand|Command=devmode_gm13_toggle|Text=To turn devmode on you must use this command.}}
|-
|-
!<h5> [[Template:Location|Location]] </h5>
!<h5> [[Template:Location|Location]] </h5>
Line 53: Line 69:
|-
|-
!<h5> [[Template:Group|Group]] </h5>
!<h5> [[Template:Group|Group]] </h5>
|<pre>{{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}}</pre>
|<pre>{{Group|title=A.R.C.|image=ARC logo.png|caption=The A.R.C. logo.|abbreviation=Anomaly. Research. Center.|description=|allies=[[Eagle. Detector.]] [[A.Q.R.F.]] [[Number Station JFAS-1|JFAS-1]]|enemies=[[A.M.T.F.]]|created=February 24<sup>th</sup>, 2022}}</pre>
|{{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}}
|{{Group|title=A.R.C.|image=ARC logo.png|caption=The A.R.C. logo.|abbreviation=Anomaly. Research. Center.|description=|allies=[[Eagle. Detector.]] [[A.Q.R.F.]] [[Number Station JFAS-1|JFAS-1]]|enemies=[[A.M.T.F.]]|created=February 24<sup>th</sup>, 2022}}
|-
|-
!<h5> [[Template:Event|Event]] </h5>
!<h5> [[Template:Event|Event]] </h5>
Line 61: Line 77:
|-
|-
|}
|}
[[Category:Technical]]
[[Category:Wiki]]

Latest revision as of 16:19, 7 September 2023

ShareOverview[edit source]

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[edit source]

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.

Unfinished
{{Unfinished}}
OOjs UI icon notice-destructive.svg.png This page is a work in progress.
If you have relevant expertise and would like to contribute, your input would be greatly appreciated.
Server Command
{{ServerCommand|Command=gm13_reset|Text=When you get the Curse Detector, it will permanently save unless you run this command.}}
{{{icon-size}}} gm13_reset
When you get the Curse Detector, it will permanently save unless you run this command.
Client Command
{{ClientCommand|Command=gm13_events_render|Text=This is a command.}}
{{{icon-size}}} gm13_events_render
This is a command.
Shared Command
{{SharedCommand|Command=devmode_gm13_toggle|Text=To turn devmode on you must use this command.}}
{{{icon-size}}} devmode_gm13_toggle
To turn devmode on you must use this command.
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
Spawn.jpg
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
Ratman.png
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.|description=|allies=[[Eagle. Detector.]] [[A.Q.R.F.]] [[Number Station JFAS-1|JFAS-1]]|enemies=[[A.M.T.F.]]|created=February 24<sup>th</sup>, 2022}}
A.R.C.
ARC logo.png

The A.R.C. logo.

General
Abbreviation Anomaly. Research. Center.
Allies Eagle. Detector. A.Q.R.F. JFAS-1
Enemies A.M.T.F.
Created February 24th, 2022


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
20220321055554 1.webp
Broken Vehicles
General
Type Event
Event Name breakVehicles
Summary Vehicles break near the dark room.