Help:List of templates: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
No edit summary
(98 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{PageSeo
| title= List of templates
| description = A list of templates used on Bg3Wiki.
}}
{{NavWiki|help}}
{{NavWiki|help}}
{{hatnote|This is a newer, more up to date list still in construction. For the previous cheat sheet, see [[Help:List of templates/archive]].}}
{{hatnote|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 [{{fullurl:Special:AllPages|namespace=10}} All pages in the template namespace.]}}
{{UnderConstruction}}
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 14: Line 32:
* [[Template:WeaponAction]]: Displays a specified weapon action.
* [[Template:WeaponAction]]: Displays a specified weapon action.


== Classes and class features ==
== Creatures and features ==
* [[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:Feature box]]: Create a box to display enemy features.
* [[Template:MainClass]]: Returns the class of the specified subclass.
* [[Template:MainRace]]: Returns the main race of the specified subrace.
* [[Template:ProficiencyBonus]]
* [[Template:Race]]
* [[Template:Resource]]: Used to format class-specific resources.
* [[Template:Resource]]: Used to format class-specific resources.
* [[Template:Resource optional]]: Variant of resource. Inserts nothing if course is not specified.
* [[Template:Resource optional]]: Variant of resource. Inserts nothing if course is not specified.
* [[Template:TooltipBox]]: Displays a features box, without integrated SAI.
== Containers and traders ==
* [[Template:Chest]]: Add a collapsible box with chest contents.
* [[Template:StoreTraderGold]]: Displays a trader's gold value.


== Conditions ==
== 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: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.
* [[Template:Condition sources]]‡: Builds a list of things that add the specified conditions.
* [[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: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.


== Containers ==
=== Damage ===
* [[Template:Chest]]: Add a collapsible box with chest contents.
 
== Creatures ==
* [[Template:Race]]
 
== Damage and effects ==
* [[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 55: 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 ==
* [[Template:AOE]]: Format text to display areas of effect distance and type.
* [[Template:AOE]]: Format text to display areas of effect distance and type.
 
* [[Template:Nbts]]: Used for separation numbers in units.
== Features ==
* [[Template:Radius]]: Used to display radius.
* [[Template:Expertise]]
* [[Template:Range]]: Used to display range.
* [[Template:ProficiencyBonus]]


== Footnotes ==
== Footnotes ==
==== Lists ====
=== Lists ===
* [[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.
* [[Template:Reflist]]: Displays ordinary or grouped references with formatting.
* [[Template:Reflist]]: Displays ordinary or grouped references with formatting.


=== Markers ===
=== Markers ===
* [[Template:Cite text]]: Cite an in-game text item.
* [[Template:Cite web]]: Adds a reference with an external url.
* [[Template:Cite web]]: Adds a reference with an external url.
* [[Template:Note]]: Adds a footnote link to a page.
* [[Template:Note]]: Adds a footnote link to a page.
Line 78: 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 89: 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 110: 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 133: Line 171:


== Linking ==
== Linking ==
=== External ===
* [[Template:FRWiki]]: Add a link to the Forgotten Realms wiki.
* [[Template:VA]]: Adds a link to a voice actor's IMDB page.
=== Internal ===
* [[Template:Disambig]]: For disambiguation pages.
* [[Template:DRS]]: Add a DRS link and category.
* [[Template: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.
* [[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 ===
* [[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.
* [[Template:Bug]]: Link to a bug section.
* [[Template:Bug]]: Link to a bug section.
* [[Template:DRS]]: Add a DRS link and category
* [[Template:Notes]]: Links to a the Notes section of a page.
* [[Template: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.
=== 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:SpellsTab]]: Adss spell level tabs.


== Miscellaneous ==
== Miscellaneous ==
Line 145: Line 197:
* [[Template:Camp Supplies]]: Display Camp Supplies icon and amount, optionally with a text or link.
* [[Template:Camp Supplies]]: Display Camp Supplies icon and amount, optionally with a text or link.
* [[Template:Coords]]: Generate in-game coordinates.
* [[Template:Coords]]: Generate in-game coordinates.
* [[Template:Tactician]]: Marks something as tactician-only.
* [[Template:Xp]]: Displays the specified xp.
* [[Template:Xp]]: Displays the specified xp.


Line 150: 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:Legacy Content]]: Adds a notice that content is no longer in the game.
* [[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: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:Stub]]: Adds a notice for very short articles in need of expanding.
* [[Template: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.


== 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:Disambig]]: For disambiguation pages.
* [[Template:Equipment page]]: For equipment.
* [[Template:WeaponActionPage]]: For weapon actions.
* [[Template:Misc item page]]: For miscellaneous items.
* [[Template:WeaponPage]]†: For weapon pages.
* [[Template:Spell page]]†: For spell pages.
* [[Template:WeaponTypePage]]‡: Generate weapon type pages.
* [[Template:Weapon action page]]: For weapon actions.
* [[Template:Weapon page]]†: For weapon pages.
* [[Template:Weapon type page]]‡: Generate weapon type pages.


== Special abilities and spells ==
== Spells and special abilities ==
* [[Template:Concentration]]: Adds a concentration icon and text.
* [[Template:Concentration]]: Adds a concentration icon and text.
* [[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:PAS]]: Version of SAI, with a <nowiki><dd></dd></nowiki> tag.
* [[Template:Spell list table row]]‡: Displays a table of spells.
* [[Template:SpellSlot]]: Adds a spell slot icon.
* [[Template:Upcastable]]: Indicates a spell is upcastable.


== Stats ==
== Stats ==
Line 194: Line 257:
* [[Template:AttributeBlock]]: Generate a table of ability scores.
* [[Template:AttributeBlock]]: Generate a table of ability scores.
* [[Template:Hp]]: Display an hp icon and hp amount.
* [[Template:Hp]]: Display an hp icon and hp amount.
** [[Template:Temp hp]]: Displays temporary hit points.
* [[Template:Initiative]]: Adda an initiative icon with a link.
* [[Template:Resistance]]: Adds resistance icons.
* [[Template:Resistances]]: Adds a table of resistances.


== Wiki formatting ==
== Wiki formatting ==
==== Layout ====
=== Icons and images ===
* [[Template:Icon]]: Adds an icon.
* [[Template:IconLink]]: Adds an icon with a link.
* [[Template:IconText]]: Adds an icon with a text.
* [[Template:ImageLink]]: Adds an image on top of a link.
* [[Template:ImageText]]: Adds an image on top of a text.
* [[Template:SmallIcon]]: Displays a small icon.
 
=== 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.
*
*
* [[Template:Clear]]: Prevent overflow at the end of a section.
* [[Template:Clear]]: Prevent overflow at the end of a section.
* [[Template:Nowrap]]: Prevents content from being wrapped into multiple lines.
=== 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 ====
=== 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:Main namespace only]]: Only displayed on the main namespace.
* [[Template:NoExcerpt]]: Excludes a text from auto-generated excerpts on link hover.
* [[Template:PageSeo]]: Adds SEO to a page.
* [[Template:PageSeo]]: Adds SEO to a page.
* [[Template:T link]]: Add a link to a template, formatted as a template.
* [[Template:Trim]]: Returns its parameters without leading or trailing whitespace.
* [[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.
* [[Template:InfoBlob]]: Format text to be surrounded by a simple box, or "blob".
* [[Template:Strong]]: Formats texts as urgent, serious or important.
* [[Template:Strong]]: Formats texts as urgent, serious or important.




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

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

Message box templates

Actions and movement

Creatures and features

Containers and traders

Effects

General

Conditions

Damage

Descriptions and quotes

Dice rolls

Disambiguation templates

Distances

Footnotes

Lists

Markers

Infoboxes

Items

Item names

Item properties

Item types

Licensing

Linking

External

Internal

Same page

Tabs

Miscellaneous

Navboxes

Notices

Internal

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

Quotes

Tables

Technical

Text formatting