Help:List of templates: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
 
(45 intermediate revisions by 7 users not shown)
Line 8: Line 8:


{{TOC|limit=2}}
{{TOC|limit=2}}
== Message box templates ==
* {{tlink|Content warning}}
* {{tlink|Community article}}
* {{tlink|disambig}}
* {{tlink|Guide}}
* {{tlink|Guide box}}
* {{tlink|Proposed deletion}}
* {{tlink|Protected}}
* {{tlink|Speedy deletion}}
* {{tlink|stub}}
* {{tlink|Unclear name}}
* {{tlink|Verification needed}}


== Actions and movement ==
== Actions and movement ==
* [[Template:Action]]: Displays either in-game action resources or movement.
* {{tlink|Action}}: Displays either in-game action resources or movement.
* [[Template:Action icon]]: Adds an action or movement icon with custom text.
* {{tlink|Action icon}}: Adds an action or movement icon with custom text.
* [[Template:Prereq]]: Format text as white in-game minor warnings.
* {{tlink|Prereq}}: Format text as white in-game minor warnings.
* [[Template:Warning]]: Format text as red in-game major warnings.
* {{tlink|Warning}}: Format text as red in-game major warnings.
* [[Template:WeaponAction]]: Displays a specified weapon action.
* {{tlink|WeaponAction}}: Displays a specified weapon action.


== Creatures and features ==
== Character, creatures and features ==
* [[Template:Class]]: Adds a link to a class or subclass, with icon.
* {{tlink|CharLink}}: Adds a link with an icon 25px to a character or creature
* [[Template:Expertise]]
** {{tlink|SmCharLink}}: Adds a link with an icon 20px to a character or creature
* [[Template:Feature box]]: Create a box to display enemy features.
** {{tlink|MdCharLink}}: Adds a link with an icon 30px to a character or creature
* [[Template:MainClass]]: Returns the class of the specified subclass.
** {{tlink|LgCharLink}}: Adds a link with an icon 40px to a character or creature
* [[Template:MainRace]]: Returns the main race of the specified subrace.
* {{tlink|Class}}: Adds a link to a class or subclass, with icon.
* [[Template:ProficiencyBonus]]
* {{tlink|Expertise}}
* [[Template:Race]]
* {{tlink|Feature box}}: Create a box to display enemy features.
* [[Template:Resource]]: Used to format class-specific resources.
* {{tlink|MainClass}}: Returns the class of the specified subclass.
* [[Template:Resource optional]]: Variant of resource. Inserts nothing if course is not specified.
* {{tlink|MainRace}}: Returns the main race of the specified subrace.
* [[Template:TooltipBox]]: Displays a features box, without integrated SAI.
* {{tlink|ProficiencyBonus}}
* {{tlink|Race}}
* {{tlink|Resource}}: Used to format class-specific resources.
* {{tlink|Resource optional}}: Variant of resource. Inserts nothing if course is not specified.
* {{tlink|TooltipBox}}: Displays a features box, without integrated SAI.


== Containers and traders ==
== Containers and traders ==
* [[Template:Chest]]: Add a collapsible box with chest contents.
* {{tlink|Chest}}: Add a collapsible box with chest contents.
* [[Template:StoreTraderGold]]: Displays a trader's gold value.
* {{tlink|StoreTraderGold}}: Displays a trader's gold value.
 
== 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.


== Descriptions and quotes ==
== Descriptions and quotes ==
* [[Template:Achievement]]: Display in-game achievements.
* {{tlink|Achievement}}: Display in-game achievements.
* [[Template:BookText]]: Format as a book text.
* {{tlink|Dialogue option}}: Format as in-game dialogue option.
* [[Template:Class Quote]]: Adds a class quote with a class symbol
* {{tlink|BookText}}: Format as a book text.
* [[Template:Description]]: Add a pre-formatted description.
* {{tlink|Description}}: Add a pre-formatted description.
* [[Template:Q]]: Formats text as a simple quote.
* {{tlink|Q}} / {{tlink|Blockquote}}: Formats text as a simple quote, optional with image and source.
* [[Template:Quote]]: Formats text as a multi-paragraph quote.
* {{tlink|Quote}}: Formats text as a multi-paragraph quote.
* {{tlink|Quote ability}}: Adds a class quote with an ability symbol.
* {{tlink|Quote character}} / {{tlink|DiQ}}: Formats text as a quote with a small image, also adds (and links to) the source of the quote.
* {{tlink|Quote class}}: Adds a class quote with a class symbol.
* {{tlink|Quote background}}: Adds a class quote with a background symbol.
* {{tlink|Quote deity}}: Adds a class quote with a deity symbol.
* {{tlink|Quote race}}: Adds a class quote with a race symbol.
* {{tlink|Quote skill}}: Adds a class quote with a skill symbol.


== Dice rolls ==
== Dice rolls ==
* [[Template:Ability check]]: Displays a specified ability check as a link, with a specified Difficulty Class and a d20 icon.
* {{tlink|Ability check}}: Displays a specified ability check as a link, with a specified Difficulty Class and a d20 icon.
* [[Template:Advantage]]: Format text to display an Advantage link with icon
* {{tlink|Advantage}}: Format text to display an Advantage link with icon
* [[Template:Attack roll]]: Format text to display the text Attack roll, with an icon.
* {{tlink|Attack roll}}: Format text to display the text Attack roll, with an icon.
* [[Template:d20]]: Display a d20 die.
* {{tlink|d20}}: Display a d20 die.
* [[Template:DieIcon]]: Add a die icon.
* {{tlink|DieIcon}}: Add a die icon.
* [[Template:Disadvantage]]: Format text to display a Disadvantage link with icon.
* {{tlink|Disadvantage}}: Format text to display a Disadvantage link with icon.
* [[Template:Saving Throw]]: Displays a specified saving throw, and optionally a specified Difficulty Class.
* {{tlink|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.
** {{tlink|Short saving throw}}: A compact version of the saving throw template.


== Disambiguation templates ==
== Disambiguation templates ==
* [[Template:Disambig]]: For disambiguation pages.
* {{tlink|Disambig}}: For disambiguation pages.
* [[Template:About]]
* {{tlink|About}}
* [[Template:Main]]
* {{tlink|Main}}
* [[Template:Redirect]]
* {{tlink|Redirect}}
* [[Template:Confused with]]
* {{tlink|Confused with}}
* [[Template:See also]]
* {{tlink|See also}}


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


== Footnotes ==
== Footnotes ==
=== Lists ===
=== Lists ===
* [[Template:Notebegin]] and [[Template:Noteend]]: For bulleted notes.
* {{tlink|Notebegin}} and {{tlink|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.
* {{tlink|Notelist}}: Adds a footnote list to a page, without a section. To add a sectioned footnote, use "<nowiki>{{reflist|note}}</nowiki>" instead.
* [[Template:Reflist]]: Displays ordinary or grouped references with formatting.
* {{tlink|Reflist}}: Displays ordinary or grouped references with formatting.


=== Markers ===
=== Markers ===
* [[Template:Cite text]]: Cite an in-game text item.
* {{tlink|Cite text}}: Cite an in-game text item.
* [[Template:Cite web]]: Adds a reference with an external url.
* {{tlink|Cite web}}: Adds a reference with an external url.
* [[Template:Note]]: Adds a footnote link to a page.
* {{tlink|Note}}: Adds a footnote link to a page.
* [[Template:Ref]]: Adds an ordinary or grouped reference.
* {{tlink|Ref}}: Adds an ordinary or grouped reference.
* [[Template:Verify]]: Marks something as in need of verification.
* {{tlink|Verify}}: Marks something as in need of verification.


== Infoboxes ==
== Infoboxes ==
* [[Template:Character info]]: Add a creature (character) infobox.
* {{tlink|Infobox creature}}: Add a creature (character) infobox
* {{tlink|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.
* {{tlink|ItemIcon/Family}}†: A a family of item icon templates. Fetches and displays an icon for the specified item.
** [[Template:ItemIcon]]:
** {{tlink|ItemIcon}}
** [[Template:LgItemIcon]]
** {{tlink|LgItemIcon}}
** [[Template:MdItemIcon]]
** {{tlink|MdItemIcon}}
** [[Template:LgRarityItem]]
** {{tlink|SmItemIcon}}†
** [[Template:MdRarityItem]]
* {{tlink|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:RarityItem]]
** {{tlink|LgRarityItem}}
* [[Template:Rarity]]: Used to display the rarity of an item.
** {{tlink|MdRarityItem}}†
* [[Template:RarityColor]]: Format text to use the colour of the specified rarity.
** {{tlink|SmRarityItem}}
** {{tlink|RarityItem}}
* {{tlink|Rarity}}: Used to display the rarity of an item.
* {{tlink|RarityColor}}: Format text to use the colour of the specified rarity.


=== Item properties ===
=== Item properties ===
* [[Template:Can't Dual Wield]]
* {{tlink|Can't Dual Wield}}
* [[Template:Enchantment]]: Displays a numerical enchantment.
* {{tlink|Enchantment}}: Displays a numerical enchantment.
* [[Template:Finesse]]
* {{tlink|Finesse}}
* [[Template:Heavy]]: Adds an Heavy icon with text.
* {{tlink|Heavy}}: Adds an Heavy icon with text.
* [[Template:Light]]: Adds a Light icon, with text
* {{tlink|Light}}: Adds a Light icon, with text
* [[Template:MartialWeaponsProf]]
* {{tlink|MartialWeaponsProf}}
* [[Template:One-Handed]]
* {{tlink|One-Handed}}
* [[Template:Price]]: Used to display the price of an item.
* {{tlink|Price}}: Used to display the price of an item.
* [[Template:Reach]]
* {{tlink|Reach}}
* [[Template:SimpleWeaponsProf]]
* {{tlink|SimpleWeaponsProf}}
* [[Template:Thrown]]
* {{tlink|Thrown}}
* [[Template:Two-Handed]]
* {{tlink|Two-Handed}}
* [[Template:Uid]]: Displays the specified uid.
* {{tlink|Uid}}: Displays the specified uid.
* [[Template:Uuid]]: Displays the specified uuid.
* {{tlink|Uuid}}: Displays the specified uuid.
* [[Template:Versatile]]
* {{tlink|Versatile}}
* [[Template:WeaponIcon]]: Displays the specified weapon type's icon.
* {{tlink|WeaponIcon}}: Displays the specified weapon type's icon.
* [[Template:WeaponProperty]]: Displays a weapon property.
* {{tlink|WeaponProperty}}: Displays a weapon property.
* [[Template:WeaponType]]: Displays the specified weapon type as a link with an icon.
* {{tlink|WeaponType}}: Displays the specified weapon type as a link with an icon.
* [[Template:Weight]]: Displays the specified weight of an item.
* {{tlink|Weight}}: Displays the specified weight of an item.


=== Item types ===
=== Item types ===
* [[Template:Alchemical Extracts]]
* {{tlink|Alchemical Extracts}}
* [[Template:Alchemical Ingredients]]
* {{tlink|Alchemical Ingredients}}
* [[Template:Books]]
* {{tlink|Books}}
* [[Template:Coatings]]
* {{tlink|Coatings}}
* [[Template:Consumables]]
* {{tlink|Consumables}}
* [[Template:Drinks]]
* {{tlink|Drinks}}
* [[Template:Elixirs]]
* {{tlink|Elixirs}}
* [[Template:Food]]
* {{tlink|Food}}
* [[Template:Gold]]
* {{tlink|Gold}}
* [[Template:Grenades]]
* {{tlink|Grenades}}
* [[Template:HeavyArmour]]
* {{tlink|HeavyArmour}}
* [[Template:LightArmour]]
* {{tlink|LightArmour}}
* [[Template:MediumArmour]]
* {{tlink|MediumArmour}}
* [[Template:Potions]]
* {{tlink|Potions}}
* [[Template:Scrolls]]
* {{tlink|Scrolls}}
* [[Template:Shields]]
* {{tlink|Shields}}


== Licensing ==
== Licensing ==
* [[Template:License]]: For use on pages. Publish a page under an alternative license.
* {{tlink|License}}: For use on pages. Publish a page under an alternative license.
* [[Template:License base/overview]]: Overview of license templates used for files and larger works
* {{tlink|License base/overview}}: Overview of license templates used for files and larger works


== Linking ==
== Linking ==
=== External ===
=== External ===
* [[Template:FRWiki]]: Add a link to the Forgotten Realms wiki.
* {{tlink|BGWiki}}: Add a link to the Baldur's Gate wiki.
* [[Template:VA]]: Adds a link to a voice actor's IMDB page.
* {{tlink|FRWiki}}: Add a link to the Forgotten Realms wiki.
* {{tlink|VA}}: Adds a link to a voice actor's IMDB page.


=== Internal ===
=== Internal ===
* [[Template:Disambig]]: For disambiguation pages.
* {{tlink|Disambig}}: For disambiguation pages.
* [[Template:DRS]]: Add a DRS link and category.
* {{tlink|DRS}}: Add a DRS link and category.
* [[Template:Guidenote]]: Add a hatnote with a link to a guide.
* {{tlink|Guidenote}}: Add a hatnote with a link to a guide.
* [[Template:Hatnote]]: Format text as a hatnote to place at the top of a page or section, as an additional note.
* {{tlink|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.
* {{tlink|Relative location}}: Adds a compass with links to locations relative to the location page the template is used on.
* [[Template:See also]]
* {{tlink|See also}}
=== Same page ===
=== Same page ===
* [[Template:Anchor]]: Add invisible anchor names.
* {{tlink|Anchor}}: Add invisible anchor names.
* [[Template:Back to top]]: Add a link back to the top of a page.
* {{tlink|Back to top}}: Add a link back to the top of a page.
* [[Template:Bug]]: Link to a bug section.
* {{tlink|Bug}}: Link to a bug section.
* [[Template:Notes]]: Links to a the Notes section of a page.
* {{tlink|Notes}}: Links to a the Notes section of a page.


=== Tabs ===
=== Tabs ===
* [[Template:Tab]]: Add tabs to a page.
* {{tlink|Tab}}: Add tabs to a page.
** [[Template:CombatTab]]: Add a combat tab to an article.
** {{tlink|CombatTab}}: Add a combat tab to an article.
** [[Template:SpellsTab]]: Adss spell level tabs.
** {{tlink|SpellsTab}}: Adss spell level tabs.
 
== Locations ==
* {{tlink|Loc}}: Add a link with an icon for locations - 25px
* {{tlink|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|Out of date}}
* {{tlink|Proposed deletion}}
* {{tlink|Protected}}
* {{tlink|Speedy deletion}}
* {{tlink|spoiler warning}}
* {{tlink|stub}}
* {{tlink|Unclear name}}
* {{tlink|under construction}}
* {{tlink|Verification needed}}


== Miscellaneous ==
== Miscellaneous ==
* [[Template:Approval]]: Format text to show Approval for companions, with icons.
* {{tlink|Approval}}: Format text to show Approval for companions, with icons.
* [[Template:Camp Supplies]]: Display Camp Supplies icon and amount, optionally with a text or link.
* {{tlink|Camp Supplies}}: Display Camp Supplies icon and amount, optionally with a text or link.
* [[Template:Coords]]: Generate in-game coordinates.
* {{tlink|Coords}}: Generate in-game coordinates.
* [[Template:Tactician]]: Marks something as tactician-only.
* {{tlink|Tactician}}: Marks something as tactician-only.
* [[Template:Xp]]: Displays the specified xp.
* {{tlink|Xp}}: Displays the specified xp.


== Navboxes ==
== Navboxes ==


== Notices ==
== Notices ==
=== Blurs ===
{{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:Imgblur]]: Add a blur to an image that disappear on hover.
* [[Template:Linkblur]]: Blurs a link, disappears on hover.
* [[Template:SpoilerBlur]]: Add a spoiler blur.
=== Internal ===
=== Internal ===
* [[Template:DRS]]: Add a DRS link and category.
* {{tlink|DRS}}: Add a DRS link and category.
* [[Template:Guidenote]]: Add a hatnote with a link to a guide.
* {{tlink|Guidenote}}: Add a hatnote with a link to a guide.
* [[Template:Hatnote]]: Format text as a hatnote to place at the top of a page or section, as an additional note.
* {{tlink|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.
* {{tlink|Relative location}}: Adds a compass with links to locations relative to the location page the template is used on.


=== Spoiler boxes ===
=== Spoiler boxes ===
* [[Template:RomanceBox]]: Adds a collapsible romance spoiler box.
* {{tlink|RomanceBox}}: Adds a collapsible romance spoiler box.
* [[Template:SpoilerBox]]: Adds a collapsible box, for use with spoilers.
* {{tlink|SpoilerBox}}: Adds a collapsible box, for use with spoilers.
* [[Template:SpoilerDurge]]: Adds a collapsible box, for use with Dark Urge related spoilers.
* {{tlink|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.
* {{tlink|Inaccessible}}: Adds a notice that content is inaccessible.
* [[Template: Unobtainable]]: Adds a notice that content is unobtainable.
* {{tlink|Unobtainable}}: Adds a notice that content is unobtainable.
* [[Template: Unusable]]: Adds a notice that content is unusable.
* {{tlink|Unusable}}: Adds a notice that content is unusable.


=== Warnings ===
=== Warnings ===
* [[Template:Cw]]: Add a content warning.
* {{tlink|Cw}}: Add a content warning.
* [[Template:SpoilerWarning]]: Add a spoiler warning.
* {{tlink|SpoilerWarning}}: Add a spoiler warning.


=== Wiki ===
=== Wiki ===
* [[Template:Guide]]: Insert a hatnote to mention that the page is a guide.
* {{tlink|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.
* {{tlink|Out of date}}: Insert a notice that the page is out of date and requires an update.
* [[Template:Priority]]: Adds a priority notice to a page.
* {{tlink|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]].
* {{tlink|Rewrite}}: Adds a notice that the page should be written to comply with the wiki's [[Help:Style Guide|style guidelines]].
* [[Template:Stub]]: Adds a notice for very short articles in need of expanding.
* {{tlink|Stub}}: Adds a notice for very short articles in need of expanding.
* [[Template:Under construction]]: Adds a notice that a page is currently being edited. Added on the corresponding date.
* {{tlink|Under construction}}: Adds a notice that a page is currently being edited. Added on the corresponding date.


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


== Spells and special abilities ==
== Spells and special abilities ==
* [[Template:Concentration]]: Adds a concentration icon and text.
* {{tlink|Concentration}}: Adds a concentration icon and text.
* [[Template:Recharge]]: Adds a recharge icon with the specified property.
* {{tlink|Recharge}}: Adds a recharge icon with the specified property.
* [[Template:Ritual Spell]]
* {{tlink|Ritual Spell}}
* [[Template:SAI]]†: Universal link template for spells and special abilities.
* {{tlink|SAI}}: Universal link template for spells and special abilities.
** [[Template:PAS]]: Version of SAI, with a <nowiki><dd></dd></nowiki> tag.
** {{tlink|PAS}}: Version of SAI, with a <nowiki><dd></dd></nowiki> tag.
* [[Template:Spell list table row]]‡: Displays a table of spells.
* {{tlink|Spell list table row}}‡: Displays a table of spells.
* [[Template:SpellSlot]]: Adds a spell slot icon.
* {{tlink|SpellSlot}}: Adds a spell slot icon.
* [[Template:Upcastable]]: Indicates a spell is upcastable.
* {{tlink|Upcastable}}: Indicates a spell is upcastable.


== Stats ==
== Stats ==
* [[Template:Ability]]: Displays a link to an ability with its corresponding icon
* {{tlink|Ability}}: Displays a link to an ability with its corresponding icon
* [[Template:Armour Class]]
* {{tlink|Armour Class}}
* [[Template:AttributeBlock]]: Generate a table of ability scores.
* {{tlink|AttributeBlock}}: Generate a table of ability scores.
* [[Template:Hp]]: Display an hp icon and hp amount.
* {{tlink|Hp}}: Display an hp icon and hp amount.
** [[Template:Temp hp]]: Displays temporary hit points.
** {{tlink|Temp hp}}: Displays temporary hit points.
* [[Template:Initiative]]: Adda an initiative icon with a link.
* {{tlink|Initiative}}: Adda an initiative icon with a link.
* [[Template:Resistance]]: Adds resistance icons.
* {{tlink|Resistance}}: Adds resistance icons.
* [[Template:Resistances]]: Adds a table of resistances.
* {{tlink|Resistances}}: Adds a table of resistances.


== Wiki formatting ==
== Wiki formatting ==
=== Icons and images ===
=== Icons and images ===
* [[Template:Icon]]: Adds an icon.
* {{tlink|Icon}}: Adds an icon.
* [[Template:IconLink]]: Adds an icon with a link.
* {{tlink|IconLink}}: Adds an icon with a link.
* [[Template:IconText]]: Adds an icon with a text.
* {{tlink|IconText}}: Adds an icon with a text.
* [[Template:ImageLink]]: Adds an image on top of a link.
* {{tlink|ImageLink}}: Adds an image on top of a link.
* [[Template:ImageText]]: Adds an image on top of a text.
* {{tlink|ImageText}}: Adds an image on top of a text.
* [[Template:SmallIcon]]: Displays a small icon.
* {{tlink|SmallIcon}}: Displays a small icon.


=== Layout ===
=== Layout ===
* [[Template:Blank]]: Add spaces or line breaks in texts where they would normally be removed.
* {{tlink|Blank}}: Add spaces or line breaks in texts where they would normally be removed.
*
*
* [[Template:Clear]]: Prevent overflow at the end of a section.
* {{tlink|Clear}}: Prevent overflow at the end of a section.
* [[Template:Nowrap]]: Prevents content from being wrapped into multiple lines.
* {{tlink|Nowrap}}: Prevents content from being wrapped into multiple lines.


=== Lists ===
=== Lists ===
* [[Template:Horizontal list]]
* {{tlink|Horizontal list}}
* [[Template:Table list]]
* {{tlink|Resource list item}}
* [[Template:Unbulleted list]]
* {{tlink|Table list}}
* [[Template:Resource list item]]
* {{tlink|Unbulleted list}}
 
=== Quotes ===
=== Quotes ===
* [[Template:Q]]
* {{tlink|Q}} / {{tlink|Blockquote}}: Formats text as a simple quote, optional with image and source.
* [[Template:Quote]]
* {{tlink|Quote}}: Formats text as a multi-paragraph quote.
* [[Template:Quote inline]]
* {{tlink|Quote character}} / {{tlink|DiQ}}: Formats text as a quote, with a small image, also adds (and links to) the source of the quote.


=== Tables ===
=== Tables ===
* [[Template:Table begin]]
* {{tlink|Table begin}}
* [[Template: Table end]]
* {{tlink|Table end}}
* [[Template:Table feat]]
* {{tlink|Table feat}}


=== Technical ===
=== Technical ===
* [[Template:Code]]: Format as code.
* {{tlink|Code}}: Format as code.
* [[Template:Comparison table]]
* {{tlink|CURRENTDATE}}: Display the current date.
* [[Template:CURRENTDATE]]: Display the current date.
* {{tlink|IfEmpty}}: Value is true if a parameter is empty.
* [[Template:IfEmpty]]: Value is true if a parameter is empty.
* {{tlink|Main namespace only}}: Only displayed on the main namespace.
* [[Template:Main namespace only]]: Only displayed on the main namespace.
* {{tlink|NoExcerpt}}: Excludes a text from auto-generated excerpts on link hover.
* [[Template:NoExcerpt]]: Excludes a text from auto-generated excerpts on link hover.
* {{tlink|PageSeo}}: Adds SEO to a page.
* [[Template:PageSeo]]: Adds SEO to a page.
* {{tlink|T link}}: Add a link to a template, formatted as a template.
* [[Template:T link]]: Add a link to a template, formatted as a template.
* {{tlink|Template demo}}: Display examples for template documentation pages.
* [[Template:Trim]]: Returns its parameters without leading or trailing whitespace.
* {{tlink|Trim}}: Returns its parameters without leading or trailing whitespace.
* [[Template:Unsigned]]: Used to sign unsigned comments on talk pages.
* {{tlink|Unsigned}}: Used to sign unsigned comments on talk pages.
* [[Template:Shortcust]]
* {{tlink|Shortcut}}


=== Text formatting ===
=== Text formatting ===
* [[Template:Colour]]: Add colour to a text.
* {{tlink|Big}}: Increases the text size.
* [[Template:Em]]: Add emphasis to a text, typically a single word in a sentence.
* {{tlink|Colour}}: Add colour to a text.
* [[Template:InfoBlob]]: Format text to be surrounded by a simple box, or "blob".
* {{tlink|Em}}: Adds italics to emphasize a text, typically a single word in a sentence.
* [[Template:Strong]]: Formats texts as urgent, serious or important.
* {{tlink|InfoBlob}}: Format text to be surrounded by a simple box, or "blob".
* {{tlink|Strong}}: Formats text as bold, for urgent, serious or important texts.
* {{tlink|Small}}: Reduces the text size.




[[Category:Wiki Help]]
[[Category:Wiki Help]]

Latest revision as of 03:51, 14 December 2024

Bgwiii.png IndexGuidesModdingDiscord

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]

  • {{Action}}: Displays either in-game action resources or movement.
  • {{Action icon}}: Adds an action or movement icon with custom text.
  • {{Prereq}}: Format text as white in-game minor warnings.
  • {{Warning}}: Format text as red in-game major warnings.
  • {{WeaponAction}}: Displays a specified weapon action.

Character, creatures and features[edit | edit source]

  • {{CharLink}}: Adds a link with an icon 25px to a character or creature
    • {{SmCharLink}}: Adds a link with an icon 20px to a character or creature
    • {{MdCharLink}}: Adds a link with an icon 30px to a character or creature
    • {{LgCharLink}}: Adds a link with an icon 40px to a character or creature
  • {{Class}}: Adds a link to a class or subclass, with icon.
  • {{Expertise}}
  • {{Feature box}}: Create a box to display enemy features.
  • {{MainClass}}: Returns the class of the specified subclass.
  • {{MainRace}}: Returns the main race of the specified subrace.
  • {{ProficiencyBonus}}
  • {{Race}}
  • {{Resource}}: Used to format class-specific resources.
  • {{Resource optional}}: Variant of resource. Inserts nothing if course is not specified.
  • {{TooltipBox}}: Displays a features box, without integrated SAI.

Containers and traders[edit | edit source]

  • {{Chest}}: Add a collapsible box with chest contents.
  • {{StoreTraderGold}}: Displays a trader's gold value.

Descriptions and quotes[edit | edit source]

  • {{Achievement}}: Display in-game achievements.
  • {{Dialogue option}}: Format as in-game dialogue option.
  • {{BookText}}: Format as a book text.
  • {{Description}}: Add a pre-formatted description.
  • {{Q}} / {{Blockquote}}: Formats text as a simple quote, optional with image and source.
  • {{Quote}}: Formats text as a multi-paragraph quote.
  • {{Quote ability}}: Adds a class quote with an ability symbol.
  • {{Quote character}} / {{DiQ}}: Formats text as a quote with a small image, also adds (and links to) the source of the quote.
  • {{Quote class}}: Adds a class quote with a class symbol.
  • {{Quote background}}: Adds a class quote with a background symbol.
  • {{Quote deity}}: Adds a class quote with a deity symbol.
  • {{Quote race}}: Adds a class quote with a race symbol.
  • {{Quote skill}}: Adds a class quote with a skill symbol.

Dice rolls[edit | edit source]

  • {{Ability check}}: Displays a specified ability check as a link, with a specified Difficulty Class and a d20 icon.
  • {{Advantage}}: Format text to display an Advantage link with icon
  • {{Attack roll}}: Format text to display the text Attack roll, with an icon.
  • {{d20}}: Display a d20 die.
  • {{DieIcon}}: Add a die icon.
  • {{Disadvantage}}: Format text to display a Disadvantage link with icon.
  • {{Saving Throw}}: Displays a specified saving throw, and optionally a specified Difficulty Class.

Disambiguation templates[edit | edit source]

Distances[edit | edit source]

  • {{AOE}}: Format text to display areas of effect distance and type.
  • {{Nbts}}: Used for separation numbers in units.
  • {{Radius}}: Used to display radius.
  • {{Range}}: Used to display range.

Effects[edit | edit source]

General[edit | edit source]

Conditions[edit | edit source]

  • {{Cond}}: Format text with a link and icon to display a condition.
  • {{Condition}}†: Display a fully formatted condition. Runs the cargo query.
  • {{Condition sources}}‡: Builds a list of things that add the specified conditions.
  • {{Condition Type}}: Display a text with a condition icon plus a link to curse, disease, or poison.
  • {{Inflicts}}†: A marker template used to indicate that something inflicts the specified condition.

Damage[edit | edit source]

Footnotes[edit | edit source]

Lists[edit | edit source]

  • {{Notebegin}} and {{Noteend}}: For bulleted notes.
  • {{Notelist}}: Adds a footnote list to a page, without a section. To add a sectioned footnote, use "{{reflist|note}}" instead.
  • {{Reflist}}: Displays ordinary or grouped references with formatting.

Markers[edit | edit source]

  • {{Cite text}}: Cite an in-game text item.
  • {{Cite web}}: Adds a reference with an external url.
  • {{Note}}: Adds a footnote link to a page.
  • {{Ref}}: Adds an ordinary or grouped reference.
  • {{Verify}}: Marks something as in need of verification.

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]

  • {{License}}: For use on pages. Publish a page under an alternative license.
  • {{License base/overview}}: Overview of license templates used for files and larger works

Linking[edit | edit source]

External[edit | edit source]

  • {{BGWiki}}: Add a link to the Baldur's Gate wiki.
  • {{FRWiki}}: Add a link to the Forgotten Realms wiki.
  • {{VA}}: Adds a link to a voice actor's IMDB page.

Internal[edit | edit source]

  • {{Disambig}}: For disambiguation pages.
  • {{DRS}}: Add a DRS link and category.
  • {{Guidenote}}: Add a hatnote with a link to a guide.
  • {{Hatnote}}: Format text as a hatnote to place at the top of a page or section, as an additional note.
  • {{Relative location}}: Adds a compass with links to locations relative to the location page the template is used on.
  • {{See also}}

Same page[edit | edit source]

  • {{Anchor}}: Add invisible anchor names.
  • {{Back to top}}: Add a link back to the top of a page.
  • {{Bug}}: Link to a bug section.
  • {{Notes}}: Links to a the Notes section of a page.

Tabs[edit | edit source]

  • {{Tab}}: Add tabs to a page.

Locations[edit | edit source]

  • {{Loc}}: Add a link with an icon for locations - 25px
  • {{SubLoc}}: Add a link with a smaller icon for locations - 20px

Message box templates[edit | edit source]

Miscellaneous[edit | edit source]

  • {{Approval}}: Format text to show Approval for companions, with icons.
  • {{Camp Supplies}}: Display Camp Supplies icon and amount, optionally with a text or link.
  • {{Coords}}: Generate in-game coordinates.
  • {{Tactician}}: Marks something as tactician-only.
  • {{Xp}}: Displays the specified xp.

Navboxes[edit | edit source]

Notices[edit | edit source]

Internal[edit | edit source]

  • {{DRS}}: Add a DRS link and category.
  • {{Guidenote}}: Add a hatnote with a link to a guide.
  • {{Hatnote}}: Format text as a hatnote to place at the top of a page or section, as an additional note.
  • {{Relative location}}: Adds a compass with links to locations relative to the location page the template is used on.

Spoiler boxes[edit | edit source]

  • {{RomanceBox}}: Adds a collapsible romance spoiler box.
  • {{SpoilerBox}}: Adds a collapsible box, for use with spoilers.
  • {{SpoilerDurge}}: Adds a collapsible box, for use with Dark Urge related spoilers.

Unavailable content[edit | edit source]

  • {{Inaccessible}}: Adds a notice that content is inaccessible.
  • {{Unobtainable}}: Adds a notice that content is unobtainable.
  • {{Unusable}}: Adds a notice that content is unusable.

Warnings[edit | edit source]

Wiki[edit | edit source]

  • {{Guide}}: Insert a hatnote to mention that the page is a guide.
  • {{Out of date}}: Insert a notice that the page is out of date and requires an update.
  • {{Priority}}: Adds a priority notice to a page.
  • {{Rewrite}}: Adds a notice that the page should be written to comply with the wiki's style guidelines.
  • {{Stub}}: Adds a notice for very short articles in need of expanding.
  • {{Under construction}}: Adds a notice that a page is currently being edited. Added on the corresponding date.

Page creation[edit | edit source]

Quests[edit | edit source]

  • {{Quest}}: Add a link with an icon for quests - 20px
  • {{SubQuest}}: Add a link with a smaller icon for quests - 16px

Spells and special abilities[edit | edit source]

  • {{Concentration}}: Adds a concentration icon and text.
  • {{Recharge}}: Adds a recharge icon with the specified property.
  • {{Ritual Spell}}
  • {{SAI}}: Universal link template for spells and special abilities.
    • {{PAS}}: Version of SAI, with a <dd></dd> tag.
  • {{Spell list table row}}‡: Displays a table of spells.
  • {{SpellSlot}}: Adds a spell slot icon.
  • {{Upcastable}}: Indicates a spell is upcastable.

Stats[edit | edit source]

  • {{Ability}}: Displays a link to an ability with its corresponding icon
  • {{Armour Class}}
  • {{AttributeBlock}}: Generate a table of ability scores.
  • {{Hp}}: Display an hp icon and hp amount.
    • {{Temp hp}}: Displays temporary hit points.
  • {{Initiative}}: Adda an initiative icon with a link.
  • {{Resistance}}: Adds resistance icons.
  • {{Resistances}}: Adds a table of resistances.

Wiki formatting[edit | edit source]

Icons and images[edit | edit source]

  • {{Icon}}: Adds an icon.
  • {{IconLink}}: Adds an icon with a link.
  • {{IconText}}: Adds an icon with a text.
  • {{ImageLink}}: Adds an image on top of a link.
  • {{ImageText}}: Adds an image on top of a text.
  • {{SmallIcon}}: Displays a small icon.

Layout[edit | edit source]

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

Lists[edit | edit source]

Quotes[edit | edit source]

  • {{Q}} / {{Blockquote}}: Formats text as a simple quote, optional with image and source.
  • {{Quote}}: Formats text as a multi-paragraph quote.
  • {{Quote character}} / {{DiQ}}: Formats text as a quote, with a small image, also adds (and links to) the source of the quote.

Tables[edit | edit source]

Technical[edit | edit source]

  • {{Code}}: Format as code.
  • {{CURRENTDATE}}: Display the current date.
  • {{IfEmpty}}: Value is true if a parameter is empty.
  • {{Main namespace only}}: Only displayed on the main namespace.
  • {{NoExcerpt}}: Excludes a text from auto-generated excerpts on link hover.
  • {{PageSeo}}: Adds SEO to a page.
  • {{T link}}: Add a link to a template, formatted as a template.
  • {{Template demo}}: Display examples for template documentation pages.
  • {{Trim}}: Returns its parameters without leading or trailing whitespace.
  • {{Unsigned}}: Used to sign unsigned comments on talk pages.
  • {{Shortcut}}

Text formatting[edit | edit source]

  • {{Big}}: Increases the text size.
  • {{Colour}}: Add colour to a text.
  • {{Em}}: Adds italics to emphasize a text, typically a single word in a sentence.
  • {{InfoBlob}}: Format text to be surrounded by a simple box, or "blob".
  • {{Strong}}: Formats text as bold, for urgent, serious or important texts.
  • {{Small}}: Reduces the text size.