Templates: Difference between revisions
Jump to navigation
Jump to search
(Created page with "==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. == Templates == {| class="wikitable" |- ! Template !! Example syntax !! Example output |- ! <h5> Warning </h5> | <pre>{{warning}} Here is my warning 1.</pre> <pre>{{warning|Here is my warning 2.}}</pre> | {{warning}} Here...") |
No edit summary |
||
(9 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
== | ==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 [[mediawikiwiki:Documentation/Style_guide/templates|Mediawiki]] ones. | |||
== Templates == | == Templates == | ||
Line 10: | Line 12: | ||
|- | |- | ||
! <h5> [[Template:Warning|Warning]] </h5> | ! <h5> [[Template:Warning|Warning]] </h5> | ||
| <pre>{{warning | | <pre>{{warning|Here is my warning.}}</pre></pre> | ||
| | | {{warning|Here is my warning.}} | ||
|- | |- | ||
! <h5> [[Template:Note|Note]] </h5> | ! <h5> [[Template:Note|Note]] </h5> | ||
Line 41: | 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> | |||
|<pre>{{Location|title1=Spawn|type=Location|connections=[[Surface]], Spawn Building, [[Building A]] |events=[[Portals]]|entities=[[Dark Figure]], [[Semper]], [[info player start]], [[Mingebags]]|image1=Spawn.jpg}}</pre> | |||
|{{Location|title1=Spawn|type=Location|connections=[[Surface]], Spawn Building, [[Building A]] |events=[[Portals]]|entities=[[Dark Figure]], [[Semper]], [[info player start]], [[Mingebags]]|image1=Spawn.jpg}} | |||
|- | |||
!<h5> [[Template:Entity|Entity]] </h5> | |||
|<pre>{{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.}}</pre> | |||
|{{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.}} | |||
|- | |||
!<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.|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.|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> | |||
|<pre>{{Event|title1=Broken Vehicles|image1=20220321055554 1.webp|caption1=Broken Vehicles|type=Event|event_name=breakVehicles|summary=Vehicles break near the dark room.}}</pre> | |||
|{{Event|title1=Broken Vehicles|image1=20220321055554 1.webp|caption1=Broken Vehicles|type=Event|event_name=breakVehicles|summary=Vehicles break near the dark room.}} | |||
|- | |||
|} | |} | ||
[[Category:Wiki]] |
Latest revision as of 16:19, 7 September 2023
[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.}} |
| ||||||||||||||||||||||||
Note |
{{note|Note 1}} |
| ||||||||||||||||||||||||
Tip |
{{Tip|Here is my tip.}} |
| ||||||||||||||||||||||||
Notice |
{{Notice|Here is my notice.}} |
| ||||||||||||||||||||||||
Fixme |
{{Fixme}} |
| ||||||||||||||||||||||||
Historical |
{{Historical}} |
| ||||||||||||||||||||||||
Outdated (Alias: Update) |
{{Outdated}} Alias: {{Update}} |
|||||||||||||||||||||||||
Draft |
{{Draft}} |
| ||||||||||||||||||||||||
Unfinished |
{{Unfinished}} |
| ||||||||||||||||||||||||
Server Command |
{{ServerCommand|Command=gm13_reset|Text=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.}} |
| ||||||||||||||||||||||||
{{SharedCommand|Command=devmode_gm13_toggle|Text=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}} |
| ||||||||||||||||||||||||
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.}} |
| ||||||||||||||||||||||||
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}} |
| ||||||||||||||||||||||||
Event |
{{Event|title1=Broken Vehicles|image1=20220321055554 1.webp|caption1=Broken Vehicles|type=Event|event_name=breakVehicles|summary=Vehicles break near the dark room.}} |
|