Help:List of templates: Difference between revisions

From Baldur's Gate 3 Wiki
Jump to navigation Jump to search
No edit summary
 
(34 intermediate revisions by 2 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}}
== 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}}
== 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 34: Line 49:


== Effects ==
== Effects ==
==== General ====
=== General ===
* [[Template:Distance]]
* [[Template:Duration]]: Format a text to display duration, with an icon.
* [[Template:Duration]]: Format a text to display duration, with an icon.
==== Conditions ====
 
=== Conditions ===
* [[Template:Cond]]: Format text with a link and icon to display a condition.
* [[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]]†: Display a fully formatted condition. Runs the cargo query.
Line 43: Line 60:
* [[Template:Inflicts]]†: A marker template used to indicate that something inflicts the specified condition.
* [[Template:Inflicts]]†: A marker template used to indicate that something inflicts the specified condition.


==== Damage ====
=== Damage ===
* [[Template:DamageColor]]: Format with colour based on damage type.
* [[Template:DamageColor]]: Format with colour based on damage type.
* [[Template:DamageInfo]]: Add formatted damage info.
* [[Template:DamageInfo]]: Add formatted damage info.
Line 67: Line 84:
* [[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 75: Line 100:


== Footnotes ==
== Footnotes ==
==== Lists ====
=== Lists ===
* [[Template:Notebegin]] and [[Template:Noteend]]: For bulleted notes.
* [[Template:Notebegin]] and [[Template:Noteend]]: For bulleted notes.
* [[Template:Notelist]]: Adds a footnote list to a page, without a section. To add a sectioned footnote, use "<nowiki>{{reflist|note}}</nowiki>" instead.
* [[Template:Notelist]]: Adds a footnote list to a page, without a section. To add a sectioned footnote, use "<nowiki>{{reflist|note}}</nowiki>" instead.
Line 91: Line 116:


== 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 the specified item.
** [[Template:ItemIcon]]†:
** [[Template:ItemIcon]]†:
Line 102: Line 127:
* [[Template:RarityColor]]: Format text to use the colour of the specified rarity.
* [[Template:RarityColor]]: Format text to use the colour of the specified rarity.


==== Item properties ====
=== Item properties ===
* [[Template:Can't Dual Wield]]
* [[Template:Can't Dual Wield]]
* [[Template:Enchantment]]: Displays a numerical enchantment.
* [[Template:Enchantment]]: Displays a numerical enchantment.
Line 123: Line 148:
* [[Template:Weight]]: Displays the specified weight of an item.
* [[Template:Weight]]: Displays the specified weight of an item.


==== Item types ====
=== Item types ===
* [[Template:Alchemical Extracts]]
* [[Template:Alchemical Extracts]]
* [[Template:Alchemical Ingredients]]
* [[Template:Alchemical Ingredients]]
Line 146: Line 171:


== Linking ==
== Linking ==
==== External ====
=== External ===
* [[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.


==== Internal ====
=== Internal ===
* [[Template:Disambig]]: For disambiguation pages.
* [[Template:Disambig]]: For disambiguation pages.
* [[Template:DRS]]: Add a DRS link and category.
* [[Template:DRS]]: Add a DRS link and category.
Line 156: Line 181:
* [[Template:Hatnote]]: Format text as a hatnote to place at the top of a page or section, as an additional note.
* [[Template:Hatnote]]: Format text as a hatnote to place at the top of a page or section, as an additional note.
* [[Template:Relative location]]: Adds a compass with links to locations relative to the location page the template is used on.
* [[Template:Relative location]]: Adds a compass with links to locations relative to the location page the template is used on.
 
* [[Template:See also]]
==== Same page ====
=== Same page ===
* [[Template:Anchor]]: Add invisible anchor names.
* [[Template:Anchor]]: Add invisible anchor names.
* [[Template:Back to top]]: Add a link back to the top of a page.
* [[Template:Back to top]]: Add a link back to the top of a page.
Line 163: Line 188:
* [[Template:Notes]]: Links to a the Notes section of a page.
* [[Template:Notes]]: Links to a the Notes section of a page.


==== Tabs ====
=== Tabs ===
* [[Template:Tab]]: Add tabs to a page.
* [[Template:Tab]]: Add tabs to a page.
** [[Template:CombatTab]]: Add a combat tab to an article.
** [[Template:CombatTab]]: Add a combat tab to an article.
Line 178: Line 203:


== 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 ===
* [[Template:RomanceBox]]: Adds a collapsible romance spoiler box.
* [[Template:RomanceBox]]: Adds a collapsible romance spoiler box.
* [[Template:SpoilerBox]]: Adds a collapsible box, for use with spoilers.
* [[Template:SpoilerBox]]: Adds a collapsible box, for use with spoilers.
* [[Template:SpoilerDurge]]: Adds a collapsible box, for use with Dark Urge related spoilers.
* [[Template:SpoilerDurge]]: Adds a collapsible box, for use with Dark Urge related spoilers.


==== Unavailable content ====
=== Unavailable content ===
* [[Template:Inaccessible]]: Adds a notice that content is inaccessible.
* [[Template:Inaccessible]]: Adds a notice that content is inaccessible.
* [[Template: Unobtainable]]: Adds a notice that content is unobtainable.
* [[Template: Unobtainable]]: Adds a notice that content is unobtainable.
* [[Template: Unusable]]: Adds a notice that content is unusable.


==== Warnings ====
=== Warnings ===
* [[Template:Cw]]: Add a content warning.
* [[Template:Cw]]: Add a content warning.
* [[Template:SpoilerWarning]]: Add a spoiler warning.
* [[Template:SpoilerWarning]]: Add a spoiler warning.


==== 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.
Line 207: Line 232:


== 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.


== Spells and special abilities ==
== Spells and special abilities ==
Line 238: Line 263:


== Wiki formatting ==
== Wiki formatting ==
==== Icons and images ====
=== Icons and images ===
* [[Template:Icon]]: Adds an icon.
* [[Template:Icon]]: Adds an icon.
* [[Template:IconLink]]: Adds an icon with a link.
* [[Template:IconLink]]: Adds an icon with a link.
Line 246: Line 271:
* [[Template:SmallIcon]]: Displays a small icon.
* [[Template:SmallIcon]]: Displays a small icon.


==== Layout ====
=== Layout ===
* [[Template:Blank]]: Add spaces or line breaks in texts where they would normally be removed.
* [[Template:Blank]]: Add spaces or line breaks in texts where they would normally be removed.
*
*
Line 252: Line 277:
* [[Template:Nowrap]]: Prevents content from being wrapped into multiple lines.
* [[Template:Nowrap]]: Prevents content from being wrapped into multiple lines.


==== Technical ====
=== Lists ===
* [[Template:Horizontal list]]
* [[Template:Table 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 ===
* [[Template:Code]]: Format as code.
* [[Template:Code]]: Format as code.
* [[Template:Comparison table]]
* [[Template:CURRENTDATE]]: Display the current date.
* [[Template:CURRENTDATE]]: Display the current date.
* [[Template:IfEmpty]]: Value is true if a parameter is empty.
* [[Template:IfEmpty]]: Value is true if a parameter is empty.
Line 262: Line 303:
* [[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 ===
* [[Template:Colour]]: Add colour to a text.
* [[Template:Colour]]: Add colour to a text.
* [[Template:Em]]: Add emphasis to a text, typically a single word in a sentence.
* [[Template:Em]]: Add emphasis to a text, typically a single word in a sentence.

Latest revision as of 00:58, 27 April 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.

Message box templates[edit | edit source]

Actions and movement[edit | edit source]

Creatures and features[edit | edit source]

Containers and traders[edit | edit source]

Effects[edit | edit source]

General[edit | edit source]

Conditions[edit | edit source]

Damage[edit | edit source]

Descriptions and quotes[edit | edit source]

Dice rolls[edit | edit source]

Disambiguation templates[edit | edit source]

Distances[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]

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]

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]