Useful templates

From Arx Libertatis Wiki
Jump to navigation Jump to search

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
This article is about some stuff. For other stuff, see Main Page.
{{Main|Main Page}}
Link to a page with more details for a section
Main article: Main Page.
{{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|Arx Fatalis]]
interwiki links Arx Fatalis

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=https://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
{{Command|destroy|self}}
Link to a script command with arguments destroy self
{{Event|hearbeat}}
Link to a script event hearbeat

Gameplay

Code Description Example
{{Action|action}}
Link to a action Action (Click)
{{ActionBinding|action}}
Show the default bindings for an action Click
{{RuneIcon|taar|32px}}
Include the icon of a single rune Taar Rune (missile)
{{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 Rune (create)Taar Rune (missile) Aam Taar (create missile)
{{RunesForSpell|fireball}}
Include the rune sequence for a spell Aam Rune (create)Yok Rune (fire)Taar Rune (missile) Aam Yok Taar (create fire missile)
{{Spell|fireball}}
Link to a spell Fireball (Aam Rune (create)Yok Rune (fire)Taar Rune (missile))
{{EntityClass|human}}
Link to an entity class Human
{{Entity|human_base_0028}}
Link to an entity by ID Kultar (human_base_0028)