Template:Subtype infocard: Difference between revisions
Jump to navigation
Jump to search
(Created page with "<includeonly><!-- --><div style="display:inline-flex; flex-wrap:wrap; background: var(--qud-bg-color-darker); border-radius:6px; font-family:'Source Code Pro'; font-weight:...") |
(progress) |
||
Line 2: | Line 2: | ||
--><div style="display:inline-flex; flex-wrap:wrap; background: var(--qud-bg-color-darker); border-radius:6px; font-family:'Source Code Pro'; font-weight:700;"><!-- | --><div style="display:inline-flex; flex-wrap:wrap; background: var(--qud-bg-color-darker); border-radius:6px; font-family:'Source Code Pro'; font-weight:700;"><!-- | ||
--><div style="display:flex; padding: 0.2em; padding-left: 2em; flex:0 0 100%; box-sizing:border-box; font-size: 1.4em; border-top-right-radius:inherit; border-top-left-radius:inherit; background-color:#0a2726;">{{{ | --><div style="display:flex; padding: 0.2em; padding-left: 2em; flex:0 0 100%; box-sizing:border-box; font-size: 1.4em; border-top-right-radius:inherit; border-top-left-radius:inherit; background-color:#0a2726;">{{{name}}}</div><!-- | ||
--><div style="display:flex; flex-wrap:wrap; width:160px; height:240px; margin-right: 2em;"><!-- | --><div style="display:flex; flex-wrap:wrap; width:160px; height:240px; margin-right: 2em;"><!-- | ||
--><div>[[Image:{{{ | --><div>[[Image:{{{image}}}]]</div><!-- | ||
--></div><!-- | --></div><!-- | ||
--><div style="padding-top:2em; position:relative; font-size: 1.2em; height:240px; width:180px; box-sizing:border-box;"><!-- | --><div style="padding-top:2em; position:relative; font-size: 1.2em; height:240px; width:180px; box-sizing:border-box;"><!-- | ||
--><div style="color:var(--qud-color-g);"> | |||
--><div style="color:var(--qud-color-r);">- | STAT BONUSES: | ||
-->{{#if:{{#pos:{{{strength|}}}|-}}||{{#if:{{{strength|}}}|<div style="color:var(--qud-color-g);">{{{strength}}} [[Strength|<span style="color:var(--qud-color-g);">Strength</span>]]</div>}}}}<!-- | |||
-->{{#if:{{#pos:{{{agility|}}}|-}}||{{#if:{{{agility|}}}|<div style="color:var(--qud-color-g);">{{{agility}}} [[Agility|<span style="color:var(--qud-color-g);">Agility</span>]]</div>}}}}<!-- | |||
-->{{#if:{{#pos:{{{toughness|}}}|-}}||{{#if:{{{toughness|}}}|<div style="color:var(--qud-color-g);">{{{toughness}}} [[Toughness|<span style="color:var(--qud-color-g);">Toughness</span>]]</div>}}}}<!-- | |||
-->{{#if:{{#pos:{{{intelligence|}}}|-}}||{{#if:{{{intelligence|}}}|<div style="color:var(--qud-color-g);">{{{intelligence}}} [[Intelligence|<span style="color:var(--qud-color-g);">Intelligence</span>]]</div>}}}}<!-- | |||
-->{{#if:{{#pos:{{{willpower|}}}|-}}||{{#if:{{{willpower|}}}|<div style="color:var(--qud-color-g);">{{{willpower}}} [[Willpower|<span style="color:var(--qud-color-g);">Willpower</span>]]</div>}}}}<!-- | |||
-->{{#if:{{#pos:{{{ego|}}}|-}}||{{#if:{{{ego|}}}|<div style="color:var(--qud-color-g);">{{{ego}}} [[Ego|<span style="color:var(--qud-color-g);">Ego</span>]]</div>}}}}<!-- | |||
STAT PENALTIES: | |||
-->{{#if:{{#pos:{{{strength|}}}|-}}|<div style="color:var(--qud-color-r);">{{{strength}}} [[Strength|<span style="color:var(--qud-color-r);">Strength</span>]]</div>}}<!-- | |||
-->{{#if:{{#pos:{{{agility|}}}|-}}|<div style="color:var(--qud-color-r);">{{{agility}}} [[Agility|<span style="color:var(--qud-color-r);">Agility</span>]]</div>}}<!-- | |||
-->{{#if:{{#pos:{{{toughness|}}}|-}}|<div style="color:var(--qud-color-r);">{{{toughness}}} [[Toughness|<span style="color:var(--qud-color-r);">Toughness</span>]]</div>}}<!-- | |||
-->{{#if:{{#pos:{{{intelligence|}}}|-}}|<div style="color:var(--qud-color-r);">{{{intelligence}}} [[Intelligence|<span style="color:var(--qud-color-r);">Intelligence</span>]]</div>}}<!-- | |||
-->{{#if:{{#pos:{{{willpower|}}}|-}}|<div style="color:var(--qud-color-r);">{{{willpower}}} [[Willpower|<span style="color:var(--qud-color-r);">Willpower</span>]]</div>}}<!-- | |||
-->{{#if:{{#pos:{{{ego|}}}|-}}|<div style="color:var(--qud-color-r);">{{{ego}}} [[Ego|<span style="color:var(--qud-color-r);">Ego</span>]]</div>}}<!-- | |||
--><div style="position:absolute;bottom:1em;color:var(--qud-color-k);"><!-- | --><div style="position:absolute;bottom:1em;color:var(--qud-color-k);"><!-- | ||
--><div>Build code: | --><div>Build code: {{{buildcode|?}}}</div><!-- | ||
--></div><!-- | --></div><!-- | ||
--></div><!-- | --></div><!-- | ||
--><div style="font-size:1.1em; padding-top:1em; color:var(--qud-color-k-dark);"><!-- | --><div style="font-size:1.1em; padding-top:1em; color:var(--qud-color-k-dark);"><!-- | ||
--><div><!-- | --><div><!-- | ||
-->{{qud look|title=skills|bottomtext=none|text= | -->{{qud look|title=skills|bottomtext=none|text={{consecutive links|{{{skills}}}|</br>|3=</div><div style="color:var(--qud-color-k-dark);">|4=<div style="color:var(--qud-color-k-dark);">|5=</div>|8=--|9=<span> » </span>}}}}<!-- | ||
--></div><!-- | --></div><!-- | ||
--></div><!-- | --></div><!-- | ||
Line 28: | Line 40: | ||
--><div style="font-size:1.2em;">Equipped:</div><!-- | --><div style="font-size:1.2em;">Equipped:</div><!-- | ||
--><div style="font-family: var(--qud-font-infobox-content);font-size:0.95em;padding-left:1em;"><!-- | --><div style="font-family: var(--qud-font-infobox-content);font-size:0.95em;padding-left:1em;"><!-- | ||
-->< | -->{{make list|{{{equipped}}}|</br>|style=display: inline-grid; grid-auto-flow: column; grid-template-rows: repeat(8, auto); grid-column-gap:3em;}}<!-- | ||
--></div><!-- | --></div><!-- | ||
--></div><!-- | --></div><!-- | ||
Line 41: | Line 48: | ||
--><div style="font-size:1.2em;">In Inventory:</div><!-- | --><div style="font-size:1.2em;">In Inventory:</div><!-- | ||
--><div style="font-family: var(--qud-font-infobox-content);font-size:0.95em;padding-left:1em;"><!-- | --><div style="font-family: var(--qud-font-infobox-content);font-size:0.95em;padding-left:1em;"><!-- | ||
-->< | -->{{make list|{{{inventory}}}|</br>|style=display: inline-grid; grid-auto-flow: column; grid-template-rows: repeat(8, auto); grid-column-gap:3em;}}<!-- | ||
--></div><!-- | --></div><!-- | ||
--></div><!-- | --></div><!-- | ||
--></div><!-- | --></div><!-- | ||
--</div><!-- | --></div><!-- | ||
--></includeonly><noinclude> | --></includeonly><noinclude> | ||
<span style="font-size:150%;font-weight:bold;color:red;">This is currently only a test. It is not fully implemented</span> | <span style="font-size:150%;font-weight:bold;color:red;">This is currently only a test. It is not fully implemented</span> | ||
== Parameters == | |||
{| class="wikitable" | |||
! Parameter | |||
! Optional? | |||
! Description | |||
|- | |||
| name | |||
| no | |||
| Name of the subtype | |||
|- | |||
| image | |||
| no | |||
| image filename | |||
|- | |||
| buildcode | |||
| no | |||
| build code character for this subtype | |||
|- | |||
| strength | |||
| yes | |||
| The bonus or penalty to strength. | |||
|- | |||
| agility | |||
| yes | |||
| The bonus or penalty to agility. | |||
|- | |||
| toughness | |||
| yes | |||
| The bonus or penalty to toughness. | |||
|- | |||
| intelligence | |||
| yes | |||
| The bonus or penalty to intelligence. | |||
|- | |||
| willpower | |||
| yes | |||
| The bonus or penalty to willpower. | |||
|- | |||
| ego | |||
| yes | |||
| The bonus or penalty to ego. | |||
|- | |||
| skills | |||
| no | |||
| List of skill names, delimited with <code><nowiki></br></nowiki></code>. Will be converted to links automatically. Preface a skill with <code>--</code> to indent it beneath a previous skill. | |||
|- | |||
| equipped | |||
| no | |||
| List of equipped items, delimited with <code><nowiki></br></nowiki></code>. | |||
|- | |||
| inventory | |||
| no | |||
| List of inventory items, delimited with <code><nowiki></br></nowiki></code>. | |||
|} | |||
== Usage == | == Usage == | ||
< | <pre> | ||
{{Subtype infocard | |||
| name = Apostle | |||
| image = subtype apostle.png | |||
| buildcode = g | |||
| strength=+3 | |||
| ego=-1 | |||
| skills = Cooking and Gathering</br>Harvestry</br>Bow and Rifle</br>--Steady Hands</br>--Draw a Bead</br>Wilderness Lore: Jungles | |||
| equipped = 2 {{favilink|bronze dagger|plural}}</br>1 {{favilink|short bow}}</br>1 {{favilink|pocketed vest}}</br>1 {{favilink|vinewood sap mask}} | |||
| inventory = 3 {{favilink|waterskin|plural}}, 32 drams</br>2-3 {{favilink|food cube|plural}}</br>1 {{favilink|basic toolkit}}</br>{{dice tooltip|2d2+1}} {{favilink|salve injector|plural}}</br>{{dice tooltip|1d3}} [[Data:Injectors|Injectors]]</br>{{dice tooltip|2d2}} [[Data:Cells|Cells]]</br>{{dice tooltip|1d4}} [[Data:Junk#Junk 1|Junk 1]] items</br>{{dice tooltip|2d4}} [[Data:Scrap#Scrap 1|Scrap 1]] items</br>{{dice tooltip|1d3}} [[Data:Trinkets#Trinkets 1|Trinkets 1]] items</br>{{dice tooltip|1d2+1}} [[Data:Artifact#Artifact 2|Artifact 2]] items</br>{{dice tooltip|1d2}} [[Data:Artifact#Artifact 3|Artifact 3]] items</br>1 thing from [[Data:Artifact#Artifact 3|Artifact 3]] | |||
}} | |||
</pre> | |||
== Example == | == Example == | ||
{{Subtype infocard|Apostle|subtype apostle.png}} | {{Subtype infocard | ||
| name = Apostle | |||
| image = subtype apostle.png | |||
| buildcode = g | |||
| strength=+3 | |||
| ego=-1 | |||
| skills = Cooking and Gathering</br>Harvestry</br>Bow and Rifle</br>--Steady Hands</br>--Draw a Bead</br>Wilderness Lore: Jungles | |||
| equipped = 2 {{favilink|bronze dagger|plural}}</br>1 {{favilink|short bow}}</br>1 {{favilink|pocketed vest}}</br>1 {{favilink|vinewood sap mask}} | |||
| inventory = 3 {{favilink|waterskin|plural}}, 32 drams</br>2-3 {{favilink|food cube|plural}}</br>1 {{favilink|basic toolkit}}</br>{{dice tooltip|2d2+1}} {{favilink|salve injector|plural}}</br>{{dice tooltip|1d3}} [[Data:Injectors|Injectors]]</br>{{dice tooltip|2d2}} [[Data:Cells|Cells]]</br>{{dice tooltip|1d4}} [[Data:Junk#Junk 1|Junk 1]] items</br>{{dice tooltip|2d4}} [[Data:Scrap#Scrap 1|Scrap 1]] items</br>{{dice tooltip|1d3}} [[Data:Trinkets#Trinkets 1|Trinkets 1]] items</br>{{dice tooltip|1d2+1}} [[Data:Artifact#Artifact 2|Artifact 2]] items</br>{{dice tooltip|1d2}} [[Data:Artifact#Artifact 3|Artifact 3]] items</br>1 thing from [[Data:Artifact#Artifact 3|Artifact 3]] | |||
}} | |||
[[Category:Templates]] | [[Category:Templates]] | ||
</noinclude> | </noinclude> |
Revision as of 20:46, 19 December 2020
This is currently only a test. It is not fully implemented
Parameters
Parameter | Optional? | Description |
---|---|---|
name | no | Name of the subtype |
image | no | image filename |
buildcode | no | build code character for this subtype |
strength | yes | The bonus or penalty to strength. |
agility | yes | The bonus or penalty to agility. |
toughness | yes | The bonus or penalty to toughness. |
intelligence | yes | The bonus or penalty to intelligence. |
willpower | yes | The bonus or penalty to willpower. |
ego | yes | The bonus or penalty to ego. |
skills | no | List of skill names, delimited with </br> . Will be converted to links automatically. Preface a skill with -- to indent it beneath a previous skill.
|
equipped | no | List of equipped items, delimited with </br> .
|
inventory | no | List of inventory items, delimited with </br> .
|
Usage
{{Subtype infocard | name = Apostle | image = subtype apostle.png | buildcode = g | strength=+3 | ego=-1 | skills = Cooking and Gathering</br>Harvestry</br>Bow and Rifle</br>--Steady Hands</br>--Draw a Bead</br>Wilderness Lore: Jungles | equipped = 2 {{favilink|bronze dagger|plural}}</br>1 {{favilink|short bow}}</br>1 {{favilink|pocketed vest}}</br>1 {{favilink|vinewood sap mask}} | inventory = 3 {{favilink|waterskin|plural}}, 32 drams</br>2-3 {{favilink|food cube|plural}}</br>1 {{favilink|basic toolkit}}</br>{{dice tooltip|2d2+1}} {{favilink|salve injector|plural}}</br>{{dice tooltip|1d3}} [[Data:Injectors|Injectors]]</br>{{dice tooltip|2d2}} [[Data:Cells|Cells]]</br>{{dice tooltip|1d4}} [[Data:Junk#Junk 1|Junk 1]] items</br>{{dice tooltip|2d4}} [[Data:Scrap#Scrap 1|Scrap 1]] items</br>{{dice tooltip|1d3}} [[Data:Trinkets#Trinkets 1|Trinkets 1]] items</br>{{dice tooltip|1d2+1}} [[Data:Artifact#Artifact 2|Artifact 2]] items</br>{{dice tooltip|1d2}} [[Data:Artifact#Artifact 3|Artifact 3]] items</br>1 thing from [[Data:Artifact#Artifact 3|Artifact 3]] }}
Example
Apostle
Equipped:
In Inventory:
- 3 waterskins, 32 drams
- 2-3 food cubes
- 1 basic toolkit
- 2d2+13-5 (Avg: 4) salve injectors
- 1d31-3 (Avg: 2) Injectors
- 2d22-4 (Avg: 3) Cells
- 1d41-4 (Avg: 2.5) Junk 1 items
- 2d42-8 (Avg: 5) Scrap 1 items
- 1d31-3 (Avg: 2) Trinkets 1 items
- 1d2+12-3 (Avg: 2.5) Artifact 2 items
- 1d21-2 (Avg: 1.5) Artifact 3 items
- 1 thing from Artifact 3