Difference between revisions of "Template:Sidebar"
From Game Logs
m |
m |
||
| Line 1: | Line 1: | ||
| − | <includeonly> | + | <includeonly><table style="width: 25em; border: 1px solid #aaa; border-spacing: 3px; background-color: #f9f9f9; color: black; margin: 0.5em 0 0.5em 1em; padding: 0.2em; float: right; clear: right; font-size: 88%; line-height: 1.5em;"> |
| − | |||
| − | <table style=" | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | "> | ||
<tr>{{#if: {{{Nick|}}} |<th colspan="2" style="text-align:center; font-size:125%; font-weight:bold">{{{Nick}}}</th>| }}</tr> | <tr>{{#if: {{{Nick|}}} |<th colspan="2" style="text-align:center; font-size:125%; font-weight:bold">{{{Nick}}}</th>| }}</tr> | ||
<tr><td colspan="2" style="text-align:center">{{#if: {{{File|}}} |[[File:{{{File}}}]]|}}{{#if: {{{Name|}}} |<div>{{{Name}}}</div></td>|}}</tr> | <tr><td colspan="2" style="text-align:center">{{#if: {{{File|}}} |[[File:{{{File}}}]]|}}{{#if: {{{Name|}}} |<div>{{{Name}}}</div></td>|}}</tr> | ||
Revision as of 10:59, 20 January 2018
| "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 -------->
