Help:List of templates: Difference between revisions

From Baldur's Gate 3 Wiki
Jump to navigation Jump to search
No edit summary
Line 34: Line 34:


== Effects ==
== Effects ==
==== General ====
=== General ===
* [[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 44:
* [[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 75: Line 76:


== 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 92:


== 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 103:
* [[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 124:
* [[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 147:


== 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 157: Line 158:
* [[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.


==== 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 164:
* [[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 179:


== Notices ==
== Notices ==
==== Blurs ====
=== Blurs ===
{{hatnote|Blurs should be used sparingly, as a last resort!}}
{{hatnote|Blurs should be used sparingly, as a last resort!}}
* [[Template:Blur]]: Add an inline spoiler blur to a text thar disappears on hover.
* [[Template:Blur]]: Add an inline spoiler blur to a text thar disappears on hover.
Line 185: Line 186:
* [[Template:SpoilerBlur]]: Add a spoiler blur.
* [[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.
* [[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 239: Line 240:


== 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 247: Line 248:
* [[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 253: Line 254:
* [[Template:Nowrap]]: Prevents content from being wrapped into multiple lines.
* [[Template:Nowrap]]: Prevents content from being wrapped into multiple lines.


==== Technical ====
=== Lists ===
* [[Template:Table list]]
 
=== Technical ===
* [[Template:Code]]: Format as code.
* [[Template:Code]]: Format as code.
* [[Template:CURRENTDATE]]: Display the current date.
* [[Template:CURRENTDATE]]: Display the current date.
Line 264: Line 268:
* [[Template:Unsigned]]: Used to sign unsigned comments on talk pages.
* [[Template:Unsigned]]: Used to sign unsigned comments on talk pages.


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

Revision as of 14:03, 15 December 2023

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.

† = These templates are used for data querying.
‡ = These templates are used for listing queried data.

Actions and movement

Creatures and features

Containers and traders

Effects

General

Conditions

Damage

Descriptions and quotes

Dice rolls

Distances

Footnotes

Lists

Markers

Infoboxes

Items

Item names

Item properties

Item types

Licensing

Linking

External

Internal

Same page

Tabs

Miscellaneous

Navboxes

Notices

Blurs

Blurs should be used sparingly, as a last resort!

Spoiler boxes

Unavailable content

Warnings

Wiki

Page creation

Spells and special abilities

Stats

Wiki formatting

Icons and images

Layout

  • 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

Technical

Text formatting