Difference between revisions of "Template:Sidebar"
From Game Logs
m |
m |
||
(13 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly> | + | <includeonly><table style=" |
− | + | width: {{{Width|25em}}}; | |
− | <table style=" | ||
− | width: 25em; | ||
border: 1px solid #aaa; | border: 1px solid #aaa; | ||
border-spacing: 3px; | border-spacing: 3px; | ||
Line 14: | Line 12: | ||
line-height: 1.5em; | line-height: 1.5em; | ||
"> | "> | ||
− | <tr>{{#if: {{{Nick|}}} |<th colspan="2" style="text-align:center; font-size:125%; font-weight:bold">{{{Nick}}}</th>| }}</tr> | + | <tr> |
− | <tr><td colspan="2" style="text-align:center">{{#if: {{{File|}}} |[[File:{{{File}}}]]|}}{{#if: {{{Name|}}} |<div>{{{Name}}}</div></td> | + | {{#if: {{{Nick|}}} |<th colspan="2" style="text-align:center;font-size:125%;font-weight:bold">{{{Nick}}}</th>| }} |
− | {{#if: {{{1|}}} |<tr><th scope="row" align="right">{{{1}}}</th><td>{{{2}}}</td></tr>|}} | + | </tr> |
− | {{#if: {{{3|}}} |<tr><th scope="row" align="right">{{{3}}}</th><td>{{{4}}}</td></tr>|}} | + | <tr> |
− | {{#if: {{{5|}}} |<tr><th scope="row" align="right">{{{5}}}</th><td>{{{6}}}</td></tr>|}} | + | <td colspan="2" style="text-align:center">{{#if: {{{File|}}} |[[File:{{{File}}}]]| }}{{#if: {{{Name|}}} |<div>{{{Name}}}</div>| }}</td> |
− | {{#if: {{{7|}}} |<tr><th scope="row" align="right">{{{7}}}</th><td>{{{8}}}</td></tr>|}} | + | </tr> |
− | {{#if: {{{9|}}} |<tr><th scope="row" align="right">{{{9}}}</th><td>{{{10}}}</td></tr>|}} | + | {{#if: {{{1|}}} |<tr><th scope="row" align="right">{{{1}}}</th><td class="category">{{{2}}}</td></tr>|}}{{#if: {{{3|}}} |<tr><th scope="row" align="right">{{{3}}}</th><td class="category">{{{4}}}</td></tr>|}} |
− | {{#if: {{{11|}}} |<tr><th scope="row" align="right">{{{11}}}</th><td>{{{12}}}</td></tr>|}} | + | {{#if: {{{5|}}} |<tr><th scope="row" align="right">{{{5}}}</th><td class="category">{{{6}}}</td></tr>|}}{{#if: {{{7|}}} |<tr><th scope="row" align="right">{{{7}}}</th><td class="category">{{{8}}}</td></tr>|}} |
− | {{#if: {{{13|}}} |<tr><th scope="row" align="right">{{{13}}}</th><td>{{{14}}}</td></tr>|}} | + | {{#if: {{{9|}}} |<tr><th scope="row" align="right">{{{9}}}</th><td class="category">{{{10}}}</td></tr>|}}{{#if: {{{11|}}} |<tr><th scope="row" align="right">{{{11}}}</th><td class="category">{{{12}}}</td></tr>|}}{{#if: {{{13|}}} |<tr><th scope="row" align="right">{{{13}}}</th><td class="category">{{{14}}}</td></tr>|}}{{#if: {{{15|}}} |<tr><th scope="row" align="right">{{{15}}}</th><td class="category">{{{16}}}</td></tr>|}}{{#if: {{{17|}}} |<tr><th scope="row" align="right">{{{17}}}</th><td class="category">{{{18}}}</td></tr>|}}{{#if: {{{19|}}} |<tr><th scope="row" align="right">{{{19}}}</th><td class="category">{{{20}}}</td></tr>|}}{{#if: {{{21|}}} |<tr><th scope="row" align="right">{{{21}}}</th><td class="category">{{{22}}}</td></tr>|}}{{#if: {{{23|}}} |<tr><th scope="row" align="right">{{{23}}}</th><td class="category">{{{24}}}</td></tr>|}}{{#if: {{{25|}}} |<tr><th scope="row" align="right">{{{25}}}</th><td class="category">{{{26}}}</td></tr>|}}{{#if: {{{27|}}} |<tr><th scope="row" align="right">{{{27}}}</th><td class="category">{{{28}}}</td></tr>|}}{{#if: {{{29|}}} |<tr><th scope="row" align="right">{{{29}}}</th><td class="category">{{{30}}}</td></tr>|}}{{#if: {{{31|}}} |<tr><th scope="row" align="right">{{{31}}}</th><td class="category">{{{32}}}</td></tr>|}} |
− | {{#if: {{{15|}}} |<tr><th scope="row" align="right">{{{15}}}</th><td>{{{16}}}</td></tr>|}} | + | <tr> |
− | {{#if: {{{17|}}} |<tr><th scope="row" align="right">{{{17}}}</th><td>{{{18}}}</td></tr>|}} | + | <td colspan="2" style="text-align:center"></td> |
− | {{#if: {{{19|}}} |<tr><th scope="row" align="right">{{{19}}}</th><td>{{{20}}}</td></tr>|}} | + | </tr> |
− | <tr><td colspan="2" style="text-align:center"></td></tr> | + | </table></includeonly> |
− | </table></includeonly><noinclude> | + | <noinclude> |
[[Category:Appearance]] | [[Category:Appearance]] | ||
{{Sidebar|Nick="PC"|File=Generic-portrait.png|Name=Character Name|Born|01.01.2001 (age 30)|Gender|Female|Race|Half-Human|Aligment|Chaotic-Stupid}} | {{Sidebar|Nick="PC"|File=Generic-portrait.png|Name=Character Name|Born|01.01.2001 (age 30)|Gender|Female|Race|Half-Human|Aligment|Chaotic-Stupid}} |
Latest revision as of 14:51, 7 March 2021
"PC" | |
---|---|
Character Name |
|
Born | 01.01.2001 (age 30) |
Gender | Female |
Race | Half-Human |
Aligment | Chaotic-Stupid |
Side bar with a character info (nick, portrait, name, and up to 10 attribute pairs).
Example code
{{Sidebar|Nick="PC"|File=Generic-portrait.png|Name=Character Name|Born|01.01.2001 (age 30)|Gender|Female|Race|Half-Human|Aligment|Chaotic-Stupid}}
results in -------->
Example |
|
One | 1 |
---|---|
Two | 2 |
Three | 3 |
Four | 4 |
Five | 5 |
Six | 6 |
Seven | 7 |
Eight | 8 |
Nine | 9 |
Ten | 10 |
While this one
{{Sidebar|Name=Example|One|1|Two|2|Three|3|Four|4|Five|5|Six|6|Seven|7|Eight|8|Nine|9|Ten|10}}
gives you that -------->