Useful templates: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(Add new link templates) |
||
Line 58: | Line 58: | ||
! Description | ! Description | ||
! Example | ! Example | ||
|- | |||
| <pre><nowiki>{{Changelog|1.0}}</nowiki></pre> | |||
| [[Template:Commit|Link to a changelog entry]] | |||
| {{Changelog|1.0}} | |||
|- | |||
| <pre><nowiki>{{Commit|1a6c2a67547393d94153390148baab149d3cf98c}}</nowiki></pre> | |||
| [[Template:Commit|Link to a git commit]] | |||
| {{Commit|1a6c2a67547393d94153390148baab149d3cf98c}} | |||
|- | |- | ||
| <pre><nowiki>{{Issue|1}}</nowiki></pre> | | <pre><nowiki>{{Issue|1}}</nowiki></pre> |
Revision as of 23:49, 6 November 2013
This page lists custom templates available in this Wiki, Besides those the following installed MediaWiki extensions also provide parser functions:
General
Code | Description | Example |
---|---|---|
{{About|some stuff|other stuff|Main_Page}} |
Link to disambiguation pages |
|
{{Main|Main_Page}} |
Link to a page with more details for a section |
|
{{Box|some text}}{{Box|some other text}} |
Split page horizontally | some text some other text
|
{{Notice|Hello World!}} |
Add an important notice | ℹ️ Hello World! |
{{Warning|Here be dragons}} |
Add a warning | ⚠️ Here be dragons
|
{{SpoilerWarning|Sean Bean dies}} |
Add a warning about spoilers | ⚠️ Spoiler warning: Sean Bean dies
|
{{Y}} |
Yes | ✓ |
{{N}} |
No | ✗ |
{{wp|Arx Fatalis}} |
Link to a Wikipedia article | Template:Wp |
Project
Code | Description | Example |
---|---|---|
{{Changelog|1.0}} |
Link to a changelog entry | Arx Libertatis 1.0 |
{{Commit|1a6c2a67547393d94153390148baab149d3cf98c}} |
Link to a git commit | commit 1a6c2a6 |
{{Issue|1}} |
Link to a bug report | bug #1 |
{{Crash|253}} |
Link to a crash report | crash report #253 |
{{Feature|356}} |
Link to a feature request | feature request #356 |
{{Download|name=Name|file=filename|url=http://arx.vg/}} |
Add a download box |
|
{{FreeBSD|big}} |
FreeBSD icon and text | FreeBSD |
{{Linux|big}} |
Linux icon and text | Linux |
{{MacOSX|big}} |
Mac OS X icon and text | macOS |
{{Windows|big}} |
Windows icon and text | Windows |
{{Wine}} |
Wine icon and text | Wine |
{{Icon|arx}} |
Add a predefined icon |
Scripting
Code | Description | Example |
---|---|---|
{{Command|spellcast}} |
Link to a script command | spellcast
|
Gameplay
Code | Description | Example |
---|---|---|
{{RuneIcon|taar|32px}} |
Include the icon of a single rune | |
{{RuneMeaning|taar}} |
Include the "meaning" of a single rune | missile |
{{RuneName|taar}} |
Include the name of a single rune | Taar |
{{Runes|aam,taar}} |
Link to one or more runes | Aam Taar (create missile) |
{{RunesForSpell|fireball}} |
Include the rune sequence for a spell | Aam Yok Taar (create fire missile) |
{{Spell|fireball}} |
Link to a spell | Fireball () |