Help:List of templates: Difference between revisions
Jump to navigation
Jump to search
(38 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. | ||
{{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. | ||
== | == 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. | ||
== 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 69: | 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 75: | 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 90: | 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 149: | 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 169: | 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 180: | Line 217: | ||
== Notices == | == Notices == | ||
=== | === Internal === | ||
* [[Template:DRS]]: Add a DRS link and category. | |||
* [[Template: | * [[Template:Guidenote]]: Add a hatnote with a link to a guide. | ||
* [[Template: | * [[Template:Hatnote]]: Format text as a hatnote to place at the top of a page or section, as an additional note. | ||
* [[Template: | * [[Template:Relative location]]: Adds a compass with links to locations relative to the location page the template is used on. | ||
* [[Template: | |||
=== Spoiler boxes === | === Spoiler boxes === | ||
Line 203: | 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 | * [[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 210: | Line 246: | ||
== Page creation == | == Page creation == | ||
* [[Template:Action | * [[Template:Action page]]: Automatically generate an action page for actions that don't fit other page generators. | ||
* [[Template:Condition | * [[Template:Condition page]]†: For conditions. | ||
* [[Template:Damage type page]]: For damage types. | * [[Template:Damage type page]]: For damage types. | ||
* [[Template: | * [[Template:Equipment page]]: For equipment. | ||
* [[Template: | * [[Template:Misc item page]]: For miscellaneous items. | ||
* [[Template:Spell page]]†: For spell pages. | * [[Template:Spell page]]†: For spell pages. | ||
* [[Template: | * [[Template:Weapon action page]]: For weapon actions. | ||
* [[Template: | * [[Template:Weapon page]]†: For weapon pages. | ||
* [[Template: | * [[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 224: | 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]] | * [[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 281: | 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 === |
Revision as of 19:10, 15 August 2024
bg3.wiki sidebar |
---|
Maintenance |
Help |
Policy |
Manuals |
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
- Template:Action: Displays either in-game action resources or movement.
- Template:Action icon: Adds an action or movement icon with custom text.
- Template:Prereq: Format text as white in-game minor warnings.
- Template:Warning: Format text as red in-game major warnings.
- Template:WeaponAction: Displays a specified weapon action.
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: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 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.
Descriptions and quotes
- Template:Achievement: Display in-game achievements.
- Template:Dialogue option: Format as in-game dialogue option.
- Template:BookText: Format as a book text.
- Template:Class Quote: Adds a class quote with a class symbol
- Template:Description: Add a pre-formatted description.
- Template:Q: Formats text as a simple quote.
- Template:Quote: Formats text as a multi-paragraph quote.
Dice rolls
- Template: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
- Template:Attack roll: Format text to display the text Attack roll, with an icon.
- Template:d20: Display a d20 die.
- Template:DieIcon: Add a die icon.
- Template:Disadvantage: Format text to display a Disadvantage link with icon.
- 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.
Disambiguation templates
- Template:Disambig: For disambiguation pages.
- Template:About
- Template:Main
- Template:Redirect
- Template:Confused with
- Template:See also
Distances
- Template:AOE: Format text to display areas of effect distance and type.
- Template:Nbts: Used for separation numbers in units.
- Template:Radius: Used to display radius.
- 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
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 "{{reflist|note}}" instead.
- Template:Reflist: Displays ordinary or grouped references with formatting.
Markers
- Template:Cite text: Cite an in-game text item.
- Template:Cite web: Adds a reference with an external url.
- Template:Note: Adds a footnote link to a page.
- Template:Ref: Adds an ordinary or grouped reference.
- Template:Verify: Marks something as in need of verification.
Infoboxes
- Template:Infobox creature: Add a creature (character) infobox
- Template:Character info: Add a creature (character) infobox - old and depricated now
Items
Item names
- Template:ItemIcon/Family†: A a family of item icon templates. Fetches and displays an icon for the specified item.
- 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:Rarity: Used to display the rarity of an item.
- Template:RarityColor: Format text to use the colour of the specified rarity.
Item properties
- Template:Can't Dual Wield
- Template:Enchantment: Displays a numerical enchantment.
- Template:Finesse
- Template:Heavy: Adds an Heavy icon with text.
- Template:Light: Adds a Light icon, with text
- Template:MartialWeaponsProf
- Template:One-Handed
- Template:Price: Used to display the price of an item.
- Template:Reach
- Template:SimpleWeaponsProf
- Template:Thrown
- Template:Two-Handed
- Template:Uid: Displays the specified uid.
- Template:Uuid: Displays the specified uuid.
- Template:Versatile
- Template:WeaponIcon: Displays the specified weapon type's icon.
- Template:WeaponProperty: Displays a weapon property.
- Template:WeaponType: Displays the specified weapon type as a link with an icon.
- Template:Weight: Displays the specified weight of an item.
Item types
- Template:Alchemical Extracts
- Template:Alchemical Ingredients
- Template:Books
- Template:Coatings
- Template:Consumables
- Template:Drinks
- Template:Elixirs
- Template:Food
- Template:Gold
- Template:Grenades
- Template:HeavyArmour
- Template:LightArmour
- Template:MediumArmour
- Template:Potions
- Template:Scrolls
- Template:Shields
Licensing
- Template: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
Linking
External
- Template:BGWiki: Add a link to the Baldur's Gate wiki.
- 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:Back to top: Add a link back to the top of a page.
- Template:Bug: Link to a bug section.
- Template:Notes: Links to a the Notes section of a page.
Tabs
- Template:Tab: Add tabs to a page.
- Template:CombatTab: Add a combat tab to an article.
- 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
- {{Content warning}}
- {{copyedit}}
- {{Community article}}
- {{disambig}}
- {{Guide}}
- {{Guide box}}
- {{Proposed deletion}}
- {{Protected}}
- {{Speedy deletion}}
- {{spoiler warning}}
- {{stub}}
- {{Unclear name}}
- {{under construction}}
- {{Verification needed}}
Miscellaneous
- Template: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.
- Template:Coords: Generate in-game coordinates.
- Template:Tactician: Marks something as tactician-only.
- Template:Xp: Displays the specified xp.
Notices
Internal
- 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.
Spoiler boxes
- Template:RomanceBox: Adds a collapsible romance spoiler box.
- Template:SpoilerBox: Adds a collapsible box, for use with spoilers.
- Template:SpoilerDurge: Adds a collapsible box, for use with Dark Urge related spoilers.
- Template:Inaccessible: Adds a notice that content is inaccessible.
- Template: Unobtainable: Adds a notice that content is unobtainable.
- Template: Unusable: Adds a notice that content is unusable.
Warnings
- Template:Cw: Add a content warning.
- Template:SpoilerWarning: Add a spoiler warning.
Wiki
- 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:Rewrite: Adds a notice that the page should be written to comply with the wiki's |style guidelines.
- 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
- Template:Action page: Automatically generate an action page for actions that don't fit other page generators.
- Template:Condition page†: For conditions.
- Template:Damage type page: For damage types.
- Template:Equipment page: For equipment.
- Template:Misc item page: For miscellaneous items.
- Template:Spell page†: For spell pages.
- Template:Weapon action page: For weapon actions.
- Template:Weapon page†: For weapon 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
- Template:Concentration: Adds a concentration icon and text.
- Template:Recharge: Adds a recharge icon with the specified property.
- Template:Ritual Spell
- Template:SAI: Universal link template for spells and special abilities.
- Template:PAS: Version of SAI, with a <dd></dd> 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
- Template:Ability: Displays a link to an ability with its corresponding icon
- Template:Armour Class
- Template:AttributeBlock: Generate a table of ability scores.
- 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
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:Clear: Prevent overflow at the end of a section.
- Template:Nowrap: Prevents content from being wrapped into multiple lines.
Lists
Quotes
Tables
Technical
- Template:Code: Format as code.
- Template:Comparison table
- 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: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
- Template:Colour: Add colour to a text.
- 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.