Help:List of templates: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
 
(43 intermediate revisions by 6 users not shown)
Line 7: Line 7:
A '''list of templates''' used on BG3Wiki.
A '''list of templates''' used on BG3Wiki.


: <small>† = These templates are used for data querying.</small>
: <small>‡ = These templates are used for listing queried data.</small>
{{TOC|limit=2}}
{{TOC|limit=2}}
== Actions and movement ==
== Actions and movement ==
* [[Template:Action]]: Displays either in-game action resources or movement.
* [[Template:Action]]: Displays either in-game action resources or movement.
Line 17: Line 16:
* [[Template:WeaponAction]]: Displays a specified weapon action.
* [[Template:WeaponAction]]: Displays a specified weapon action.


== Creatures and features ==
== Character, creatures and features ==
* [[Template:CharLink]]: Adds a link with an icon 25px to a character or creature
** [[Template:SmCharLink]]: Adds a link with an icon 20px to a character or creature
** [[Template:MdCharLink]]: Adds a link with an icon 30px to a character or creature
** [[Template:LgCharLink]]: Adds a link with an icon 40px to a character or creature
* [[Template:Class]]: Adds a link to a class or subclass, with icon.
* [[Template:Class]]: Adds a link to a class or subclass, with icon.
* [[Template:Expertise]]
* [[Template:Expertise]]
Line 32: Line 35:
* [[Template:Chest]]: Add a collapsible box with chest contents.
* [[Template:Chest]]: Add a collapsible box with chest contents.
* [[Template:StoreTraderGold]]: Displays a trader's gold value.
* [[Template:StoreTraderGold]]: Displays a trader's gold value.
== Effects ==
=== General ===
* [[Template:Duration]]: Format a text to display duration, with an icon.
=== Conditions ===
* [[Template:Cond]]: Format text with a link and icon to display a condition.
* [[Template:Condition]]†: Display a fully formatted condition. Runs the cargo query.
* [[Template:Condition sources]]‡: Builds a list of things that add the specified conditions.
* [[Template:Condition Type]]: Display a text with a condition icon plus a link to curse, disease, or poison.
* [[Template:Inflicts]]†: A marker template used to indicate that something inflicts the specified condition.
=== Damage ===
* [[Template:DamageColor]]: Format with colour based on damage type.
* [[Template:DamageInfo]]: Add formatted damage info.
* [[Template:DamageModifier]]: Add an attack and damage modifier.
* [[Template:DamageText]]: Add formatted damage text.
* [[Template:DamageType]]: Format as a damage type.


== Descriptions and quotes ==
== Descriptions and quotes ==
* [[Template:Achievement]]: Display in-game achievements.
* [[Template:Achievement]]: Display in-game achievements.
* [[Template:Dialogue option]]: Format as in-game dialogue option.
* [[Template:BookText]]: Format as a book text.
* [[Template:BookText]]: Format as a book text.
* [[Template:Class Quote]]: Adds a class quote with a class symbol
* [[Template:Class Quote]]: Adds a class quote with a class symbol
Line 68: Line 54:
* [[Template:Saving Throw]]: Displays a specified saving throw, and optionally a specified Difficulty Class.
* [[Template:Saving Throw]]: Displays a specified saving throw, and optionally a specified Difficulty Class.
** [[Template:Short saving throw]]: A compact version of the saving throw template.
** [[Template:Short saving throw]]: A compact version of the saving throw template.
== Disambiguation templates ==
* [[Template:Disambig]]: For disambiguation pages.
* [[Template:About]]
* [[Template:Main]]
* [[Template:Redirect]]
* [[Template:Confused with]]
* [[Template:See also]]


== Distances ==
== Distances ==
Line 74: Line 68:
* [[Template:Radius]]: Used to display radius.
* [[Template:Radius]]: Used to display radius.
* [[Template:Range]]: Used to display range.
* [[Template:Range]]: Used to display range.
== Effects ==
=== General ===
* [[Template:Distance]]
* [[Template:Duration]]: Format a text to display duration, with an icon.
=== Conditions ===
* [[Template:Cond]]: Format text with a link and icon to display a condition.
* [[Template:Condition]]†: Display a fully formatted condition. Runs the cargo query.
* [[Template:Condition sources]]‡: Builds a list of things that add the specified conditions.
* [[Template:Condition Type]]: Display a text with a condition icon plus a link to curse, disease, or poison.
* [[Template:Inflicts]]†: A marker template used to indicate that something inflicts the specified condition.
=== Damage ===
* [[Template:DamageColor]]: Format with colour based on damage type.
* [[Template:DamageInfo]]: Add formatted damage info.
* [[Template:DamageModifier]]: Add an attack and damage modifier.
* [[Template:DamageText]]: Add formatted damage text.
* [[Template:DamageType]]: Format as a damage type.


== Footnotes ==
== Footnotes ==
Line 89: Line 102:


== Infoboxes ==
== Infoboxes ==
* [[Template:Character info]]: Add a creature (character) infobox.
* [[Template:Infobox creature]]: Add a creature (character) infobox
* [[Template:Character info]]: Add a creature (character) infobox - old and depricated now


== Items ==
== Items ==
=== Item names ===
=== Item names ===
* [[Template:ItemIcon/Family]]†: A a family of item icon templates. Fetches and displays an icon the specified item.
* [[Template:ItemIcon/Family]]†: A a family of item icon templates. Fetches and displays an icon for the specified item.
** [[Template:ItemIcon]]†:
** [[Template:ItemIcon]]†
** [[Template:LgItemIcon]]†
** [[Template:LgItemIcon]]†
** [[Template:MdItemIcon]]†
** [[Template:MdItemIcon]]†
** [[Template:SmItemIcon]]†
* [[Template:ItemIcon/Family|Template:RarityItem/Family]]†: A a family of item icon templates. Fetches and displays an icon for the specified item, showing the rarity of the item through a coloured frame.
** [[Template:LgRarityItem]]†
** [[Template:LgRarityItem]]†
** [[Template:MdRarityItem]]†
** [[Template:MdRarityItem]]†
** [[Template:SmRarityItem]]†
** [[Template:RarityItem]]†
** [[Template:RarityItem]]†
* [[Template:Rarity]]: Used to display the rarity of an item.
* [[Template:Rarity]]: Used to display the rarity of an item.
Line 148: Line 165:
== Linking ==
== Linking ==
=== External ===
=== External ===
* [[Template:BGWiki]]: Add a link to the Baldur's Gate wiki.
* [[Template:FRWiki]]: Add a link to the Forgotten Realms wiki.
* [[Template:FRWiki]]: Add a link to the Forgotten Realms wiki.
* [[Template:VA]]: Adds a link to a voice actor's IMDB page.
* [[Template:VA]]: Adds a link to a voice actor's IMDB page.
Line 168: Line 186:
** [[Template:CombatTab]]: Add a combat tab to an article.
** [[Template:CombatTab]]: Add a combat tab to an article.
** [[Template:SpellsTab]]: Adss spell level tabs.
** [[Template:SpellsTab]]: Adss spell level tabs.
== Locations ==
* [[Template:Loc]]: Add a link with an icon for locations - 30px
* [[Template:SubLoc]]: Add a link with a smaller icon for locations - 20px
== Message box templates ==
* {{tlink|Content warning}}
* {{tlink|copyedit}}
* {{tlink|Community article}}
* {{tlink|disambig}}
* {{tlink|Guide}}
* {{tlink|Guide box}}
* {{tlink|Proposed deletion}}
* {{tlink|Protected}}
* {{tlink|Speedy deletion}}
* {{tlink|spoiler warning}}
* {{tlink|stub}}
* {{tlink|Unclear name}}
* {{tlink|under construction}}
* {{tlink|Verification needed}}


== Miscellaneous ==
== Miscellaneous ==
Line 179: Line 217:


== Notices ==
== Notices ==
=== Blurs ===
=== Internal ===
{{hatnote|Blurs should be used sparingly, as a last resort!}}
* [[Template:DRS]]: Add a DRS link and category.
* [[Template:Blur]]: Add an inline spoiler blur to a text thar disappears on hover.
* [[Template:Guidenote]]: Add a hatnote with a link to a guide.
* [[Template:Imgblur]]: Add a blur to an image that disappear on hover.
* [[Template:Hatnote]]: Format text as a hatnote to place at the top of a page or section, as an additional note.
* [[Template:Linkblur]]: Blurs a link, disappears on hover.
* [[Template:Relative location]]: Adds a compass with links to locations relative to the location page the template is used on.
* [[Template:SpoilerBlur]]: Add a spoiler blur.


=== Spoiler boxes ===
=== Spoiler boxes ===
Line 202: Line 239:
=== Wiki ===
=== Wiki ===
* [[Template:Guide]]: Insert a hatnote to mention that the page is a guide.
* [[Template:Guide]]: Insert a hatnote to mention that the page is a guide.
* [[Template:Lastupdated]]]: Insert a note if a page is the up to date.
* [[Template:Lastupdated]]: Insert a note if a page is the up to date.
* [[Template:Priority]]: Adds a priority notice to a page.
* [[Template:Priority]]: Adds a priority notice to a page.
* [[Template:Rewrite]]: Adds a notice that the page should be written to comply with the wiki's [[Help:Style Guide||style guidelines]].
* [[Template:Rewrite]]: Adds a notice that the page should be written to comply with the wiki's [[Help:Style Guide||style guidelines]].
Line 209: Line 246:


== Page creation ==
== Page creation ==
* [[Template:Action Page]]: Automatically generate an action page for actions that don't fit other page generators.
* [[Template:Action page]]: Automatically generate an action page for actions that don't fit other page generators.
* [[Template:Condition Page]]†: For conditions.
* [[Template:Condition page]]†: For conditions.
* [[Template:Damage type page]]: For damage types.
* [[Template:Damage type page]]: For damage types.
* [[Template:EquipmentPage]]: For equipment.
* [[Template:Equipment page]]: For equipment.
* [[Template:MiscItemPage]]: For miscellaneous items.
* [[Template:Misc item page]]: For miscellaneous items.
* [[Template:Spell page]]†: For spell pages.
* [[Template:Spell page]]†: For spell pages.
* [[Template:WeaponActionPage]]: For weapon actions.
* [[Template:Weapon action page]]: For weapon actions.
* [[Template:WeaponPage]]†: For weapon pages.
* [[Template:Weapon page]]†: For weapon pages.
* [[Template:WeaponTypePage]]‡: Generate weapon type pages.
* [[Template:Weapon type page]]‡: Generate weapon type pages.
* [[Template:Location page]]: For location pages.
 
== Quests ==
* [[Template:Quest]]: Add a link with an icon for quests - 20px
* [[Template:SubQuest]]: Add a link with a smaller icon for quests - 16px


== Spells and special abilities ==
== Spells and special abilities ==
Line 223: Line 265:
* [[Template:Recharge]]: Adds a recharge icon with the specified property.
* [[Template:Recharge]]: Adds a recharge icon with the specified property.
* [[Template:Ritual Spell]]
* [[Template:Ritual Spell]]
* [[Template:SAI]]: Universal link template for spells and special abilities.
* [[Template:SAI]]: Universal link template for spells and special abilities.
** [[Template:PAS]]: Version of SAI, with a <nowiki><dd></dd></nowiki> tag.
** [[Template:PAS]]: Version of SAI, with a <nowiki><dd></dd></nowiki> tag.
* [[Template:Spell list table row]]‡: Displays a table of spells.
* [[Template:Spell list table row]]‡: Displays a table of spells.
Line 258: Line 300:
* [[Template:Table list]]
* [[Template:Table list]]
* [[Template:Unbulleted list]]
* [[Template:Unbulleted list]]
* [[Template:Resource list item]]
=== Quotes ===
* [[Template:Q]]
* [[Template:Quote]]
* [[Template:Quote inline]]
=== Tables ===
* [[Template:Table begin]]
* [[Template: Table end]]
* [[Template:Table feat]]


=== Technical ===
=== Technical ===
Line 270: Line 322:
* [[Template:Trim]]: Returns its parameters without leading or trailing whitespace.
* [[Template:Trim]]: Returns its parameters without leading or trailing whitespace.
* [[Template:Unsigned]]: Used to sign unsigned comments on talk pages.
* [[Template:Unsigned]]: Used to sign unsigned comments on talk pages.
* [[Template:Shortcut]]


=== Text formatting ===
=== Text formatting ===

Latest revision as of 20:10, 15 August 2024

This is a newer, more up to date list still in construction. For the previous cheat sheet, see Help:List of templates/archive. For a full list of template, see All pages in the template namespace.

A list of templates used on BG3Wiki.

Actions and movement[edit | edit source]

Character, creatures and features[edit | edit source]

Containers and traders[edit | edit source]

Descriptions and quotes[edit | edit source]

Dice rolls[edit | edit source]

Disambiguation templates[edit | edit source]

Distances[edit | edit source]

Effects[edit | edit source]

General[edit | edit source]

Conditions[edit | edit source]

Damage[edit | edit source]

Footnotes[edit | edit source]

Lists[edit | edit source]

Markers[edit | edit source]

Infoboxes[edit | edit source]

Items[edit | edit source]

Item names[edit | edit source]

Item properties[edit | edit source]

Item types[edit | edit source]

Licensing[edit | edit source]

Linking[edit | edit source]

External[edit | edit source]

Internal[edit | edit source]

Same page[edit | edit source]

Tabs[edit | edit source]

Locations[edit | edit source]

Message box templates[edit | edit source]

Miscellaneous[edit | edit source]

Navboxes[edit | edit source]

Notices[edit | edit source]

Internal[edit | edit source]

Spoiler boxes[edit | edit source]

Unavailable content[edit | edit source]

Warnings[edit | edit source]

Wiki[edit | edit source]

Page creation[edit | edit source]

Quests[edit | edit source]

Spells and special abilities[edit | edit source]

Stats[edit | edit source]

Wiki formatting[edit | edit source]

Icons and images[edit | edit source]

Layout[edit | edit source]

  • Template:Blank: Add spaces or line breaks in texts where they would normally be removed.
  • Template:Clear: Prevent overflow at the end of a section.
  • Template:Nowrap: Prevents content from being wrapped into multiple lines.

Lists[edit | edit source]

Quotes[edit | edit source]

Tables[edit | edit source]

Technical[edit | edit source]

Text formatting[edit | edit source]