Templates: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 12: | 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.}} | | {{warning|Here is my warning.}} | ||
|- | |- |
Revision as of 05:12, 10 July 2023
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.}} |
| |||
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}} |
|