Difference between revisions of "Template:Icon"

From questden
(Created page with "<noinclude>{{Icon/Doc}}</noinclude><includeonly><table style="display: inline-table; background-color: #eee; color: black; text-align: center; width: 100px; margin-top: 2px; marg...")
 
Line 3: Line 3:
 
The upper row of the table is the image. The maximum thumbnail size will be 200px or 250px depending if it's the OP, plus 2x2px padding. Hence the max value.
 
The upper row of the table is the image. The maximum thumbnail size will be 200px or 250px depending if it's the OP, plus 2x2px padding. Hence the max value.
  
--><tr><td style="padding: 2px;" colspan="2"><span class="plainlinks">[http://tgchan.org/kusaba/image-for/icon/{{{1}}} http://tgchan.org/kusaba/thumb-for/icon/{{{1}}}.png]</span></td></tr><!--
+
--><tr><td style="padding: 2px;" colspan="2"><span class="plainlinks">[http://tgchan.org/kusaba/image-for/icons/{{{1}}} http://tgchan.org/kusaba/thumb-for/icons/{{{1}}}.png]</span></td></tr><!--
  
 
The second row contains a caption cell (may be empty) and the link to the post.
 
The second row contains a caption cell (may be empty) and the link to the post.
  
--><tr><td>{{{caption|}}}{{#if:{{{by|}}}|{{#if:{{{caption|}}}|<br />|}}''By&nbsp;[[{{{by|}}}]]''|}}</td><td style="width: 20px">[[File:LinkToBoard.gif|link=http://tgchan.org/kusaba/thread-for/icon/{{{1}}}]]</td></tr><!--
+
--><tr><td>{{{caption|}}}{{#if:{{{by|}}}|{{#if:{{{caption|}}}|<br />|}}''By&nbsp;[[{{{by|}}}]]''|}}</td><td style="width: 20px">[[File:LinkToBoard.gif|link=http://tgchan.org/kusaba/thread-for/icons/{{{1}}}]]</td></tr><!--
  
 
--></table></includeonly><!-- Don't leave a trailing newline after this! Very whitespace-sensitive. -->
 
--></table></includeonly><!-- Don't leave a trailing newline after this! Very whitespace-sensitive. -->

Revision as of 23:32, 28 June 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.