Difference between revisions of "Template:Sidebar"

From Game Logs
Jump to: navigation, search
m
m
Line 1: Line 1:
<includeonly>
+
<includeonly><table style="
<table style="
 
 
     width: 22em;
 
     width: 22em;
 
     border: 1px solid #aaa;
 
     border: 1px solid #aaa;
Line 14: Line 13:
 
">
 
">
 
<tr>
 
<tr>
{{#if: {{{Nick|}}} |<th colspan="2" style="text-align:center;font-size:125%;font-weight:bold">"{{{Nick}}}"</th>| }}
+
{{#if: {{{Nick|}}} |<th colspan="2" style="text-align:center;font-size:125%;font-weight:bold">{{{Nick}}}</th>| }}
 
</tr>
 
</tr>
 
<tr>
 
<tr>
 
<td colspan="2" style="text-align:center">{{#if: {{{File|}}} |[[File:{{{File}}}]]| }}
 
<td colspan="2" style="text-align:center">{{#if: {{{File|}}} |[[File:{{{File}}}]]| }}
<div>{{{Name}}}</div></td>
+
{{#if: {{{Name|}}} |<div>{{{Name}}}</div></td>| }}
 
</tr>
 
</tr>
 
{{#if: {{{1|}}} |<tr><th scope="row" align="right">{{{1}}}</th><td class="category">{{{2}}}</td></tr>|}}
 
{{#if: {{{1|}}} |<tr><th scope="row" align="right">{{{1}}}</th><td class="category">{{{2}}}</td></tr>|}}
Line 33: Line 32:
 
<td colspan="2" style="text-align:center"></td>
 
<td colspan="2" style="text-align:center"></td>
 
</tr>
 
</tr>
</table>
+
</table></includeonly>
</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}}
 
Side bar with a character info (nick, portrait, name, and up to 10 attribute pairs).<br>
 
Side bar with a character info (nick, portrait, name, and up to 10 attribute pairs).<br>
 
Example code<br>
 
Example code<br>
 
  <nowiki>
 
  <nowiki>
  {{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}}
 
  </nowiki>
 
  </nowiki>
 
results in --------><br><br><br><br><br><br><br><br>
 
results in --------><br><br><br><br><br><br><br><br>

Revision as of 21:35, 16 June 2016

"PC"
Generic-portrait.png
Character Name
Born01.01.2001 (age 30)
GenderFemale
RaceHalf-Human
AligmentChaotic-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
One1
Two2
Three3
Four4
Five5
Six6
Seven7
Eight8
Nine9
Ten10

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 -------->