Difference between revisions of "Template:Icon"

From questden
(Refurbished from Sandbox template finally.)
 
Line 2: Line 2:
  
 
<tr>                <!-- New row! -->
 
<tr>                <!-- New row! -->
<td style="vertical-align: top; border-top: 7px solid white; background:#{{{background|eee}}};">
+
<td style="vertical-align: top; border-top: 7px solid white; background:#{{{background|eee}}}; text:#{{{text|000}}};">
 
{{simpleicon|{{{icon|1}}}|{{#if:{{{icon2|}}}|{{{icon2|2}}}|}}|{{#if:{{{icon3|}}}|{{{icon3|3}}}|}}|{{#if:{{{icon4|}}}|{{{icon4|4}}}|}}|}}
 
{{simpleicon|{{{icon|1}}}|{{#if:{{{icon2|}}}|{{{icon2|2}}}|}}|{{#if:{{{icon3|}}}|{{{icon3|3}}}|}}|{{#if:{{{icon4|}}}|{{{icon4|4}}}|}}|}}
 
</td>
 
</td>
 
                       <!-- Second cell, second column -->
 
                       <!-- Second cell, second column -->
<td style="min-width: 300px; width: 40%; border: 1px solid white;  vertical-align: top; background:#{{{background|eee}}};">
+
<td style="min-width: 300px; width: 40%; border: 1px solid white;  vertical-align: top; background:#{{{background|eee}}}; text:#{{{text|000}}};">
 
'''Name:''' {{{name|Unnamed}}}<br />  
 
'''Name:''' {{{name|Unnamed}}}<br />  
 
'''Age:''' {{{age|Ageless}}}<br />  
 
'''Age:''' {{{age|Ageless}}}<br />  
Line 14: Line 14:
 
</td>
 
</td>
 
                         <!-- Third cell, third column -->
 
                         <!-- Third cell, third column -->
<td style="border: 1px solid white; vertical-align: top; background:#{{{background|eee}}};">
+
<td style="border: 1px solid white; vertical-align: top; background:#{{{background|eee}}}; text:#{{{text|000}}};">
 
'''Description:''' {{{description|Nondescript!}}}<br />
 
'''Description:''' {{{description|Nondescript!}}}<br />
 
'''Trivia:''' {{{trivia|Apparently has nothing special going for them}}}  
 
'''Trivia:''' {{{trivia|Apparently has nothing special going for them}}}  

Latest revision as of 21:42, 19 July 2014

By changing around a whole lot of jazz, you can now host up to four images for one character in a nifty little setup!
What all's available in the second (middle) row:
|icon is used for the default, or first icon.
|iconx is used for any extra icons, though it will only work for 2, 3, and 4.
|name The character's name, of course.
|age The character's age.
|gender As it says.
|pawn An optional input, for use with RUST and joined storylines.
|relation What relationship the character is in.
And for the third (right) column:
|description Information about this character. Put the important stuff here!
|trivia Unimportant information that can still be useful or humorous.
Finally, some extras:
|background For customizing the background color of the entire thing. Please note this effects ALL THREE columns, not just one.
|text For customizing the text color for the entire thing. As is the case with background, it effects ALL THREE columns.