Template:Quote skill: Difference between revisions
HiddenDragon (talk | contribs) (Created page with "<includeonly>{{NoExcerpt|{{Quote fancy | quote = {{{quote|{{#switch: {{trim|{{{1|}}}}} <!-- Quotes extracted from patch 6 game files --> | Acrobatics = Keep your balance. Land on your feet. | Animal Handling = Influence animals. Pet all of the dogs. | Arcana = Recognise magic. Interact with enchanted items. | Athletics = Stay fit. Perform physical stunts. | Deception = Lie and cheat. Manipulate the truth. | History = Remember the past -- of the world and its people. | In...") |
HiddenDragon (talk | contribs) mNo edit summary Tag: Reverted |
||
Line 28: | Line 28: | ||
| image-border-shape = rounded | | image-border-shape = rounded | ||
| link = {{{1|}}} | | link = {{{1|}}} | ||
| image-align = | | image-align = edge | ||
| author = {{#if:{{{noattribution|}}}||In-game skill description}} | | author = {{#if:{{{noattribution|}}}||In-game skill description}} | ||
}}}}</includeonly><noinclude>{{documentation|content= | }}}}</includeonly><noinclude>{{documentation|content= |
Revision as of 02:25, 29 July 2024
Display a skill description quote accompanied by the corresponding icon.
This template is a subtype of {{Quote fancy}}.
Usage
This template has a table of all the skill quotes in the game extracted directly from the game files so the only required parameter is the name of the skill. On the skill pages themselves, you can use {{PAGENAME}}
as the parameter to this template. For the image, it uses <skill> Icon.png
which exist for all skills.
Alternatively, the quote and image can be overridden with the parameters quote
and image
.
Examples
Skill example.
Markup{{Quote skill|Nature}}Renders as
Disable attribution text.
Markup{{Quote skill|Medicine|noattribution=1}}Renders as
No image.
Markup{{Quote skill|Arcana|image=none}}Renders as
A custom quote with a custom image.
Markup{{Quote skill | quote = Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. | image = Background Hermit Icon.png | height = 80 }}Renders as
Exhaustive list
Template data
Display a skill quote
Parameter | Description | Type | Status | |
---|---|---|---|---|
Skill | 1 | The name of a skill. When used on a skill page, you can use {{PAGENAME}} for this parameter. There are description quotes for every skill defined in the game. | String | required |
Quote override | quote | Use this parameter to specify a custom quote instead of a predefined one. | String | optional |
Image override | image | Use this parameter to specify a custom icon instead of a predefined one.
| File | suggested |
Disable attribution | noattribution | Disable the "In-game skill description" attribution text. | Boolean | optional |
Image position override | image-position | Override the image position from its default position on the right.
| String | optional |
Image height override | height | Override the image height from its default of 100px.
| Number | optional |