Help:List of templates: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
 
(12 intermediate revisions by the same user not shown)
Line 40: Line 40:
* {{tlink|Dialogue option}}: Format as in-game dialogue option.
* {{tlink|Dialogue option}}: Format as in-game dialogue option.
* {{tlink|BookText}}: Format as a book text.
* {{tlink|BookText}}: Format as a book text.
* {{tlink|Class Quote}}: Adds a class quote with a class symbol
* {{tlink|Description}}: Add a pre-formatted description.
* {{tlink|Description}}: Add a pre-formatted description.
* {{tlink|Q}}: Formats text as a simple quote.
* {{tlink|Q}} / {{tlink|Blockquote}}: Formats text as a simple quote, optional with image and source.
* {{tlink|Quote}}: Formats text as a multi-paragraph quote.
* {{tlink|Quote}}: Formats text as a multi-paragraph quote.
* {{tlink|Quote character}} / {{tlink|DiQ}}: Formats text as a quote and adds (and links to) the source of the 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 ==
Line 304: Line 309:


=== Quotes ===
=== Quotes ===
* {{tlink|Q}}
* {{tlink|Q}} / {{tlink|Blockquote}}: Formats text as a simple quote, optional with image and source.
* {{tlink|Quote}}
* {{tlink|Quote}}: Formats text as a multi-paragraph quote.
* {{tlink|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.
* {{tlink|Quote character}} / {{tlink|DiQ}}: Formats text as a quote and adds (and links to) the source of the quote.


=== Tables ===
=== Tables ===
Line 316: Line 320:
=== Technical ===
=== Technical ===
* {{tlink|Code}}: Format as code.
* {{tlink|Code}}: Format as code.
* {{tlink|Comparison table}}
* {{tlink|CURRENTDATE}}: Display the current date.
* {{tlink|CURRENTDATE}}: Display the current date.
* {{tlink|IfEmpty}}: Value is true if a parameter is empty.
* {{tlink|IfEmpty}}: Value is true if a parameter is empty.
Line 331: Line 334:
* {{tlink|Big}}: Increases the text size.
* {{tlink|Big}}: Increases the text size.
* {{tlink|Colour}}: Add colour to a text.
* {{tlink|Colour}}: Add colour to a text.
* {{tlink|Em}}: Add emphasis to a text, typically a single word in a sentence.
* {{tlink|Em}}: Adds italics to emphasize a text, typically a single word in a sentence.
* {{tlink|InfoBlob}}: Format text to be surrounded by a simple box, or "blob".
* {{tlink|InfoBlob}}: Format text to be surrounded by a simple box, or "blob".
* {{tlink|Strong}}: Formats texts as urgent, serious or important.
* {{tlink|Strong}}: Formats text as bold, for urgent, serious or important texts.
+ {{tlink|Small}}: Reduces the text size.
* {{tlink|Small}}: Reduces the text size.




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

Latest revision as of 01:21, 5 November 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.
  • {{Lastupdated}}: Insert a note if a page is the up to date.
  • {{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.