Template:Wrath-Character-Abilities: Difference between revisions
Created a new template for the "Abilities and Talents" box in the Wrath and Glory character sheet |
Added a How To description. |
||
(8 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<div | <includeonly><div style=" | ||
<ul | width: 100%; | ||
border: 1px solid #aaa; | |||
margin: 0; | |||
padding: 0 2px 2px 0; | |||
box-sizing: border-box;"> | |||
<!-- HEADER --> | |||
<ul style=" | |||
display: flex; | |||
width: 100%; | |||
margin: 0; | |||
padding: 0; | |||
list-style-type: none; | |||
list-style-image: none; | |||
margin: 0;"> | |||
<li style=" | |||
margin: 2px 0 0 2px; | |||
width: 100%; | |||
text-align: center; | |||
background-color: #ddd;"> | |||
<span style="padding: 1px; margin: 2px;"><b>ABILITIES AND TALENTS</b></span></li> | |||
</ul> | </ul> | ||
<ul | <!-- ROW 1 --> | ||
<ul style=" | |||
display: flex; | |||
</ul> | width: 100%; | ||
<ul | margin: 0; | ||
padding: 0; | |||
list-style-type: none; | |||
</ul> | list-style-image: none; | ||
</div> | margin: 0;"> | ||
<li style=" | |||
width: 25%; | |||
background-color: #eee; | |||
margin: 2px 0 0 2px;"> | |||
<span style="padding: 1px; margin: 2px;">{{{Name1|}}}</span></li> | |||
<li style=" | |||
width: 75%; | |||
background-color: #f8f8f8; | |||
margin: 2px 0 0 2px;"> | |||
<span style="padding: 1px; margin: 2px;">{{{Description1|}}}</span></li> | |||
</ul><!-- ROW 2 -->{{#if: {{{Name2|}}} | | |||
<ul style=" | |||
display: flex; | |||
width: 100%; | |||
margin: 0; | |||
padding: 0; | |||
list-style-type: none; | |||
list-style-image: none; | |||
margin: 0;"> | |||
<li style=" | |||
width: 25%; | |||
background-color: #eee; | |||
margin: 2px 0 0 2px;"> | |||
<span style="padding: 1px; margin: 2px;">{{{Name2|}}}</span></li> | |||
<li style=" | |||
width: 75%; | |||
background-color: #f8f8f8; | |||
margin: 2px 0 0 2px;"> | |||
<span style="padding: 1px; margin: 2px;">{{{Description2|}}}</span></li> | |||
</ul> |}}<!-- ROW 3 -->{{#if: {{{Name3|}}} | | |||
<ul style=" | |||
display: flex; | |||
width: 100%; | |||
margin: 0; | |||
padding: 0; | |||
list-style-type: none; | |||
list-style-image: none; | |||
margin: 0;"> | |||
<li style=" | |||
width: 25%; | |||
background-color: #eee; | |||
margin: 2px 0 0 2px;"> | |||
<span style="padding: 1px; margin: 2px;">{{{Name3|}}}</span></li> | |||
<li style=" | |||
width: 75%; | |||
background-color: #f8f8f8; | |||
margin: 2px 0 0 2px;"> | |||
<span style="padding: 1px; margin: 2px;">{{{Description3|}}}</span></li> | |||
</ul> |}}<!-- ROW 4 -->{{#if: {{{Name4|}}} | | |||
<ul style=" | |||
display: flex; | |||
width: 100%; | |||
margin: 0; | |||
padding: 0; | |||
list-style-type: none; | |||
list-style-image: none; | |||
margin: 0;"> | |||
<li style=" | |||
width: 25%; | |||
background-color: #eee; | |||
margin: 2px 0 0 2px;"> | |||
<span style="padding: 1px; margin: 2px;">{{{Name4|}}}</span></li> | |||
<li style=" | |||
width: 75%; | |||
background-color: #f8f8f8; | |||
margin: 2px 0 0 2px;"> | |||
<span style="padding: 1px; margin: 2px;">{{{Description4|}}}</span></li> | |||
</ul> |}}<!-- ROW 5 -->{{#if: {{{Name5|}}} | | |||
<ul style=" | |||
display: flex; | |||
width: 100%; | |||
margin: 0; | |||
padding: 0; | |||
list-style-type: none; | |||
list-style-image: none; | |||
margin: 0;"> | |||
<li style=" | |||
width: 25%; | |||
background-color: #eee; | |||
margin: 2px 0 0 2px;"> | |||
<span style="padding: 1px; margin: 2px;">{{{Name5|}}}</span></li> | |||
<li style=" | |||
width: 75%; | |||
background-color: #f8f8f8; | |||
margin: 2px 0 0 2px;"> | |||
<span style="padding: 1px; margin: 2px;">{{{Description5|}}}</span></li> | |||
</ul> |}}<!-- ROW 6 -->{{#if: {{{Name6|}}} | | |||
<ul style=" | |||
display: flex; | |||
width: 100%; | |||
margin: 0; | |||
padding: 0; | |||
list-style-type: none; | |||
list-style-image: none; | |||
margin: 0;"> | |||
<li style=" | |||
width: 25%; | |||
background-color: #eee; | |||
margin: 2px 0 0 2px;"> | |||
<span style="padding: 1px; margin: 2px;">{{{Name6|}}}</span></li> | |||
<li style=" | |||
width: 75%; | |||
background-color: #f8f8f8; | |||
margin: 2px 0 0 2px;"> | |||
<span style="padding: 1px; margin: 2px;">{{{Description6|}}}</span></li> | |||
</ul> |}}<!-- ROW 7 -->{{#if: {{{Name7|}}} | | |||
<ul style=" | |||
display: flex; | |||
width: 100%; | |||
margin: 0; | |||
padding: 0; | |||
list-style-type: none; | |||
list-style-image: none; | |||
margin: 0;"> | |||
<li style=" | |||
width: 25%; | |||
background-color: #eee; | |||
margin: 2px 0 0 2px;"> | |||
<span style="padding: 1px; margin: 2px;">{{{Name7|}}}</span></li> | |||
<li style=" | |||
width: 75%; | |||
background-color: #f8f8f8; | |||
margin: 2px 0 0 2px;"> | |||
<span style="padding: 1px; margin: 2px;">{{{Description7|}}}</span></li> | |||
</ul> |}}<!-- ROW 8 -->{{#if: {{{Name8|}}} | | |||
<ul style=" | |||
display: flex; | |||
width: 100%; | |||
margin: 0; | |||
padding: 0; | |||
list-style-type: none; | |||
list-style-image: none; | |||
margin: 0;"> | |||
<li style=" | |||
width: 25%; | |||
background-color: #eee; | |||
margin: 2px 0 0 2px;"> | |||
<span style="padding: 1px; margin: 2px;">{{{Name8|}}}</span></li> | |||
<li style=" | |||
width: 75%; | |||
background-color: #f8f8f8; | |||
margin: 2px 0 0 2px;"> | |||
<span style="padding: 1px; margin: 2px;">{{{Description8|}}}</span></li> | |||
</ul> |}}<!-- ROW 9 -->{{#if: {{{Name9|}}} | | |||
<ul style=" | |||
display: flex; | |||
width: 100%; | |||
margin: 0; | |||
padding: 0; | |||
list-style-type: none; | |||
list-style-image: none; | |||
margin: 0;"> | |||
<li style=" | |||
width: 25%; | |||
background-color: #eee; | |||
margin: 2px 0 0 2px;"> | |||
<span style="padding: 1px; margin: 2px;">{{{Name9|}}}</span></li> | |||
<li style=" | |||
width: 75%; | |||
background-color: #f8f8f8; | |||
margin: 2px 0 0 2px;"> | |||
<span style="padding: 1px; margin: 2px;">{{{Description9|}}}</span></li> | |||
</ul> |}} | |||
</div></includeonly><noinclude>This template is for use in a Wrath and Glory character sheet. It allows up to 9 abilities or talents to be shown in an full-width infobox in the character sheet. | |||
Usage is as follows, though note that not all 9 sets of abilities or descriptions need to be specified. Just omit those that you are not using. | |||
==Sample Usage== | |||
<pre><nowiki>{{Wrath-Character-Abilities</nowiki> | |||
| Name1 = From the Shadows | |||
| Description1 = Increase vision or cover penalty by + Rank DN | |||
| Name2 = Deadshot | |||
| Description2 = Double the bonus ED when you Aim and make a Called Shot. <br> | |||
| Name3 = Ever Vigilant | |||
| Description3 = Gain x2 Rank to Passive Awareness. | |||
}}</pre> | |||
(and so on all the way up to "Name9" and "Description9".)</noinclude> |