7,281
editsAd placeholder
Help:List of templates: Difference between revisions
Jump to navigation
Jump to search
Switched to using tlink everywhere
(Added template demo) |
(Switched to using tlink everywhere) |
||
Line 10: | Line 10: | ||
== Actions and movement == | == Actions and movement == | ||
* | * {{tlink|Action}}: Displays either in-game action resources or movement. | ||
* | * {{tlink|Action icon}}: Adds an action or movement icon with custom text. | ||
* | * {{tlink|Prereq}}: Format text as white in-game minor warnings. | ||
* | * {{tlink|Warning}}: Format text as red in-game major warnings. | ||
* | * {{tlink|WeaponAction}}: Displays a specified weapon action. | ||
== Character, creatures and features == | == Character, creatures and features == | ||
* | * {{tlink|CharLink}}: Adds a link with an icon 25px to a character or creature | ||
** | ** {{tlink|SmCharLink}}: Adds a link with an icon 20px to a character or creature | ||
** | ** {{tlink|MdCharLink}}: Adds a link with an icon 30px to a character or creature | ||
** | ** {{tlink|LgCharLink}}: Adds a link with an icon 40px to a character or creature | ||
* | * {{tlink|Class}}: Adds a link to a class or subclass, with icon. | ||
* | * {{tlink|Expertise}} | ||
* | * {{tlink|Feature box}}: Create a box to display enemy features. | ||
* | * {{tlink|MainClass}}: Returns the class of the specified subclass. | ||
* | * {{tlink|MainRace}}: Returns the main race of the specified subrace. | ||
* | * {{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 == | ||
* | * {{tlink|Chest}}: Add a collapsible box with chest contents. | ||
* | * {{tlink|StoreTraderGold}}: Displays a trader's gold value. | ||
== Descriptions and quotes == | == Descriptions and quotes == | ||
* | * {{tlink|Achievement}}: Display in-game achievements. | ||
* | * {{tlink|Dialogue option}}: Format as in-game dialogue option. | ||
* | * {{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|Q}}: Formats text as a simple quote. | ||
* | * {{tlink|Quote}}: Formats text as a multi-paragraph quote. | ||
== Dice rolls == | == Dice rolls == | ||
* | * {{tlink|Ability check}}: Displays a specified ability check as a link, with a specified Difficulty Class and a d20 icon. | ||
* | * {{tlink|Advantage}}: Format text to display an Advantage link with icon | ||
* | * {{tlink|Attack roll}}: Format text to display the text Attack roll, with an icon. | ||
* | * {{tlink|d20}}: Display a d20 die. | ||
* | * {{tlink|DieIcon}}: Add a die icon. | ||
* | * {{tlink|Disadvantage}}: Format text to display a Disadvantage link with icon. | ||
* | * {{tlink|Saving Throw}}: Displays a specified saving throw, and optionally a specified Difficulty Class. | ||
** | ** {{tlink|Short saving throw}}: A compact version of the saving throw template. | ||
== Disambiguation templates == | == Disambiguation templates == | ||
* | * {{tlink|Disambig}}: For disambiguation pages. | ||
* | * {{tlink|About}} | ||
* | * {{tlink|Main}} | ||
* | * {{tlink|Redirect}} | ||
* | * {{tlink|Confused with}} | ||
* | * {{tlink|See also}} | ||
== Distances == | == Distances == | ||
* | * {{tlink|AOE}}: Format text to display areas of effect distance and type. | ||
* | * {{tlink|Nbts}}: Used for separation numbers in units. | ||
* | * {{tlink|Radius}}: Used to display radius. | ||
* | * {{tlink|Range}}: Used to display range. | ||
== Effects == | == Effects == | ||
=== General === | === General === | ||
* | * {{tlink|Distance}} | ||
* | * {{tlink|Duration}}: Format a text to display duration, with an icon. | ||
=== Conditions === | === 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 === | === 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 === | ||
* | * {{tlink|Notebegin}} and {{tlink|Noteend}}: For bulleted notes. | ||
* | * {{tlink|Notelist}}: Adds a footnote list to a page, without a section. To add a sectioned footnote, use "<nowiki>{{reflist|note}}</nowiki>" instead. | ||
* | * {{tlink|Reflist}}: Displays ordinary or grouped references with formatting. | ||
=== Markers === | === Markers === | ||
* | * {{tlink|Cite text}}: Cite an in-game text item. | ||
* | * {{tlink|Cite web}}: Adds a reference with an external url. | ||
* | * {{tlink|Note}}: Adds a footnote link to a page. | ||
* | * {{tlink|Ref}}: Adds an ordinary or grouped reference. | ||
* | * {{tlink|Verify}}: Marks something as in need of verification. | ||
== Infoboxes == | == Infoboxes == | ||
* | * {{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 === | ||
* | * {{tlink|ItemIcon/Family}}†: A a family of item icon templates. Fetches and displays an icon for the specified item. | ||
** | ** {{tlink|ItemIcon}}† | ||
** | ** {{tlink|LgItemIcon}}† | ||
** | ** {{tlink|MdItemIcon}}† | ||
** | ** {{tlink|SmItemIcon}}† | ||
* | * {{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. | ||
** | ** {{tlink|LgRarityItem}}† | ||
** | ** {{tlink|MdRarityItem}}† | ||
** | ** {{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 === | ||
* | * {{tlink|Can't Dual Wield}} | ||
* | * {{tlink|Enchantment}}: Displays a numerical enchantment. | ||
* | * {{tlink|Finesse}} | ||
* | * {{tlink|Heavy}}: Adds an Heavy icon with text. | ||
* | * {{tlink|Light}}: Adds a Light icon, with text | ||
* | * {{tlink|MartialWeaponsProf}} | ||
* | * {{tlink|One-Handed}} | ||
* | * {{tlink|Price}}: Used to display the price of an item. | ||
* | * {{tlink|Reach}} | ||
* | * {{tlink|SimpleWeaponsProf}} | ||
* | * {{tlink|Thrown}} | ||
* | * {{tlink|Two-Handed}} | ||
* | * {{tlink|Uid}}: Displays the specified uid. | ||
* | * {{tlink|Uuid}}: Displays the specified uuid. | ||
* | * {{tlink|Versatile}} | ||
* | * {{tlink|WeaponIcon}}: Displays the specified weapon type's icon. | ||
* | * {{tlink|WeaponProperty}}: Displays a weapon property. | ||
* | * {{tlink|WeaponType}}: Displays the specified weapon type as a link with an icon. | ||
* | * {{tlink|Weight}}: Displays the specified weight of an item. | ||
=== Item types === | === Item types === | ||
* | * {{tlink|Alchemical Extracts}} | ||
* | * {{tlink|Alchemical Ingredients}} | ||
* | * {{tlink|Books}} | ||
* | * {{tlink|Coatings}} | ||
* | * {{tlink|Consumables}} | ||
* | * {{tlink|Drinks}} | ||
* | * {{tlink|Elixirs}} | ||
* | * {{tlink|Food}} | ||
* | * {{tlink|Gold}} | ||
* | * {{tlink|Grenades}} | ||
* | * {{tlink|HeavyArmour}} | ||
* | * {{tlink|LightArmour}} | ||
* | * {{tlink|MediumArmour}} | ||
* | * {{tlink|Potions}} | ||
* | * {{tlink|Scrolls}} | ||
* | * {{tlink|Shields}} | ||
== Licensing == | == Licensing == | ||
* | * {{tlink|License}}: For use on pages. Publish a page under an alternative license. | ||
* | * {{tlink|License base/overview}}: Overview of license templates used for files and larger works | ||
== Linking == | == Linking == | ||
=== External === | === External === | ||
* | * {{tlink|BGWiki}}: Add a link to the Baldur's Gate wiki. | ||
* | * {{tlink|FRWiki}}: Add a link to the Forgotten Realms wiki. | ||
* | * {{tlink|VA}}: Adds a link to a voice actor's IMDB page. | ||
=== Internal === | === Internal === | ||
* | * {{tlink|Disambig}}: For disambiguation pages. | ||
* | * {{tlink|DRS}}: Add a DRS link and category. | ||
* | * {{tlink|Guidenote}}: Add a hatnote with a link to a guide. | ||
* | * {{tlink|Hatnote}}: Format text as a hatnote to place at the top of a page or section, as an additional note. | ||
* | * {{tlink|Relative location}}: Adds a compass with links to locations relative to the location page the template is used on. | ||
* | * {{tlink|See also}} | ||
=== Same page === | === Same page === | ||
* | * {{tlink|Anchor}}: Add invisible anchor names. | ||
* | * {{tlink|Back to top}}: Add a link back to the top of a page. | ||
* | * {{tlink|Bug}}: Link to a bug section. | ||
* | * {{tlink|Notes}}: Links to a the Notes section of a page. | ||
=== Tabs === | === Tabs === | ||
* | * {{tlink|Tab}}: Add tabs to a page. | ||
** | ** {{tlink|CombatTab}}: Add a combat tab to an article. | ||
** | ** {{tlink|SpellsTab}}: Adss spell level tabs. | ||
== Locations == | == Locations == | ||
* | * {{tlink|Loc}}: Add a link with an icon for locations - 30px | ||
* | * {{tlink|SubLoc}}: Add a link with a smaller icon for locations - 20px | ||
== Message box templates == | == Message box templates == | ||
Line 208: | Line 208: | ||
== Miscellaneous == | == Miscellaneous == | ||
* | * {{tlink|Approval}}: Format text to show Approval for companions, with icons. | ||
* | * {{tlink|Camp Supplies}}: Display Camp Supplies icon and amount, optionally with a text or link. | ||
* | * {{tlink|Coords}}: Generate in-game coordinates. | ||
* | * {{tlink|Tactician}}: Marks something as tactician-only. | ||
* | * {{tlink|Xp}}: Displays the specified xp. | ||
== Navboxes == | == Navboxes == | ||
Line 218: | Line 218: | ||
== Notices == | == Notices == | ||
=== Internal === | === Internal === | ||
* | * {{tlink|DRS}}: Add a DRS link and category. | ||
* | * {{tlink|Guidenote}}: Add a hatnote with a link to a guide. | ||
* | * {{tlink|Hatnote}}: Format text as a hatnote to place at the top of a page or section, as an additional note. | ||
* | * {{tlink|Relative location}}: Adds a compass with links to locations relative to the location page the template is used on. | ||
=== Spoiler boxes === | === Spoiler boxes === | ||
* | * {{tlink|RomanceBox}}: Adds a collapsible romance spoiler box. | ||
* | * {{tlink|SpoilerBox}}: Adds a collapsible box, for use with spoilers. | ||
* | * {{tlink|SpoilerDurge}}: Adds a collapsible box, for use with Dark Urge related spoilers. | ||
=== Unavailable content === | === Unavailable content === | ||
* | * {{tlink|Inaccessible}}: Adds a notice that content is inaccessible. | ||
* | * {{tlink| Unobtainable}}: Adds a notice that content is unobtainable. | ||
* | * {{tlink| Unusable}}: Adds a notice that content is unusable. | ||
=== Warnings === | === Warnings === | ||
* | * {{tlink|Cw}}: Add a content warning. | ||
* | * {{tlink|SpoilerWarning}}: Add a spoiler warning. | ||
=== Wiki === | === Wiki === | ||
* | * {{tlink|Guide}}: Insert a hatnote to mention that the page is a guide. | ||
* | * {{tlink|Lastupdated}}: Insert a note if a page is the up to date. | ||
* | * {{tlink|Priority}}: Adds a priority notice to a page. | ||
* | * {{tlink|Rewrite}}: Adds a notice that the page should be written to comply with the wiki's [[Help:Style Guide||style guidelines]]. | ||
* | * {{tlink|Stub}}: Adds a notice for very short articles in need of expanding. | ||
* | * {{tlink|Under construction}}: Adds a notice that a page is currently being edited. Added on the corresponding date. | ||
== Page creation == | == Page creation == | ||
* | * {{tlink|Action page}}: Automatically generate an action page for actions that don't fit other page generators. | ||
* | * {{tlink|Condition page}}†: For conditions. | ||
* | * {{tlink|Damage type page}}: For damage types. | ||
* | * {{tlink|Equipment page}}: For equipment. | ||
* | * {{tlink|Misc item page}}: For miscellaneous items. | ||
* | * {{tlink|Spell page}}†: For spell pages. | ||
* | * {{tlink|Weapon action page}}: For weapon actions. | ||
* | * {{tlink|Weapon page}}†: For weapon pages. | ||
* | * {{tlink|Weapon type page}}‡: Generate weapon type pages. | ||
* | * {{tlink|Location page}}: For location pages. | ||
== Quests == | == 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 == | ||
* | * {{tlink|Concentration}}: Adds a concentration icon and text. | ||
* | * {{tlink|Recharge}}: Adds a recharge icon with the specified property. | ||
* | * {{tlink|Ritual Spell}} | ||
* | * {{tlink|SAI}}: Universal link template for spells and special abilities. | ||
** | ** {{tlink|PAS}}: Version of SAI, with a <nowiki><dd></dd></nowiki> tag. | ||
* | * {{tlink|Spell list table row}}‡: Displays a table of spells. | ||
* | * {{tlink|SpellSlot}}: Adds a spell slot icon. | ||
* | * {{tlink|Upcastable}}: Indicates a spell is upcastable. | ||
== Stats == | == Stats == | ||
* | * {{tlink|Ability}}: Displays a link to an ability with its corresponding icon | ||
* | * {{tlink|Armour Class}} | ||
* | * {{tlink|AttributeBlock}}: Generate a table of ability scores. | ||
* | * {{tlink|Hp}}: Display an hp icon and hp amount. | ||
** | ** {{tlink|Temp hp}}: Displays temporary hit points. | ||
* | * {{tlink|Initiative}}: Adda an initiative icon with a link. | ||
* | * {{tlink|Resistance}}: Adds resistance icons. | ||
* | * {{tlink|Resistances}}: Adds a table of resistances. | ||
== Wiki formatting == | == Wiki formatting == | ||
=== Icons and images === | === Icons and images === | ||
* | * {{tlink|Icon}}: Adds an icon. | ||
* | * {{tlink|IconLink}}: Adds an icon with a link. | ||
* | * {{tlink|IconText}}: Adds an icon with a text. | ||
* | * {{tlink|ImageLink}}: Adds an image on top of a link. | ||
* | * {{tlink|ImageText}}: Adds an image on top of a text. | ||
* | * {{tlink|SmallIcon}}: Displays a small icon. | ||
=== Layout === | === Layout === | ||
* | * {{tlink|Blank}}: Add spaces or line breaks in texts where they would normally be removed. | ||
* | * | ||
* | * {{tlink|Clear}}: Prevent overflow at the end of a section. | ||
* | * {{tlink|Nowrap}}: Prevents content from being wrapped into multiple lines. | ||
=== Lists === | === Lists === | ||
* | * {{tlink|Horizontal list}} | ||
* | * {{tlink|Table list}} | ||
* | * {{tlink|Unbulleted list}} | ||
* | * {{tlink|Resource list item}} | ||
=== Quotes === | === Quotes === | ||
* | * {{tlink|Q}} | ||
* | * {{tlink|Quote}} | ||
* | * {{tlink|Quote inline}} | ||
=== Tables === | === Tables === | ||
* | * {{tlink|Table begin}} | ||
* | * {{tlink| Table end}} | ||
* | * {{tlink|Table feat}} | ||
=== Technical === | === Technical === | ||
* | * {{tlink|Code}}: Format as code. | ||
* | * {{tlink|Comparison table}} | ||
* | * {{tlink|CURRENTDATE}}: Display the current date. | ||
* | * {{tlink|IfEmpty}}: Value is true if a parameter is empty. | ||
* | * {{tlink|Main namespace only}}: Only displayed on the main namespace. | ||
* | * {{tlink|NoExcerpt}}: Excludes a text from auto-generated excerpts on link hover. | ||
* | * {{tlink|PageSeo}}: Adds SEO to a page. | ||
* | * {{tlink|T link}}: Add a link to a template, formatted as a template. | ||
* | * {{tlink|Template demo}}: Display examples for template documentation pages. | ||
* | * {{tlink|Trim}}: Returns its parameters without leading or trailing whitespace. | ||
* | * {{tlink|Unsigned}}: Used to sign unsigned comments on talk pages. | ||
* | * {{tlink|Shortcut}} | ||
=== Text formatting === | === Text formatting === | ||
* | * {{tlink|Colour}}: Add colour to a text. | ||
* | * {{tlink|Em}}: Add emphasis to a text, typically a single word in a sentence. | ||
* | * {{tlink|InfoBlob}}: Format text to be surrounded by a simple box, or "blob". | ||
* | * {{tlink|Strong}}: Formats texts as urgent, serious or important. | ||
[[Category:Wiki Help]] | [[Category:Wiki Help]] |