Difference between revisions of "Template:CorInfoBox"

From PRIMUS Database
Jump to: navigation, search
m (fixed example transclusion code)
m
 
(3 intermediate revisions by the same user not shown)
Line 6: Line 6:
 
| style="font-size: 8pt; padding: 4pt; line-height: 1.25em;" | {{{Desc| }}}
 
| style="font-size: 8pt; padding: 4pt; line-height: 1.25em;" | {{{Desc| }}}
 
|-
 
|-
| colspan="3" | <div style="background:{{{Color|#0082A1}}}; text-align:right;">
+
| colspan="3" | <div style="background:{{{Color|#0082A1}}}; text-align:right; border: solid black 1px;"><span style="float:left;">[[File:{{{Icon|Silver medal T.png}}}|18px]] </span><span style="font-size: 8pt; line-height: 1.25em; padding-right:5px; text-transform:uppercase; color:{{{Fontcolor|white}}}">'''{{{Archetype|Freeform}}}'''</span></div>  
<span style="font-size: 8pt; line-height: 1.25em; padding-right:5px; text-transform:uppercase; color:{{{Fontcolor|white}}}">'''{{{Archetype|Freeform}}}'''</span>
+
</div>  
+
 
|}</div>
 
|}</div>
 
<noinclude>
 
<noinclude>
Line 20: Line 18:
 
|Image=
 
|Image=
 
|Desc=
 
|Desc=
 +
|Icon=
 
|Color=
 
|Color=
 
|Fontcolor=
 
|Fontcolor=
Line 28: Line 27:
 
*The Image does not require brackets or the word image.  Instead of using <nowiki>[[File:Primusdatabase300.jpg]]</nowiki>, use Primusdatabase300.jpg.  That image, conveniently, is the default if you remove this line.
 
*The Image does not require brackets or the word image.  Instead of using <nowiki>[[File:Primusdatabase300.jpg]]</nowiki>, use Primusdatabase300.jpg.  That image, conveniently, is the default if you remove this line.
 
*The Desc field should have a link to the character name.
 
*The Desc field should have a link to the character name.
 +
*Icon is just a small image that appears on the left side of the bottom bar.  It defaults to a silver medal, but can be used if you have, say, a supergroup icon/logo for the character.  Enter it in the same way you entered in an Image option.
 
*The Archetype field allows you to change the Archetype displayed from Freeform to whatever you choose.
 
*The Archetype field allows you to change the Archetype displayed from Freeform to whatever you choose.
 
*The Color field allows you to change the color of the bottom bar from its default.
 
*The Color field allows you to change the color of the bottom bar from its default.
Line 34: Line 34:
 
Here is an example:
 
Here is an example:
  
 +
{{CorInfoBox
 +
|Level=99
 +
|Archetype=Grimoire
 +
|Image=Asteroid.jpg
 +
|Desc='''If I had a Name, I'd be here''' was an innocent bit of text until a mean and crafty wiki editor trapped him into an infobox.  Now he is exposed for the whole world to see, and he longs for the days of freedom again!
 +
|Icon=Paragons Logo.png
 +
|Color=#7851A9
 +
|Fontcolor=#FFD700
 +
|}}
  
 
</noinclude>
 
</noinclude>

Latest revision as of 20:40, 21 July 2014

Primusdatabase300.jpg
Silver medal T.png Freeform


This is a template I put together for a more concise listing of my characters on my user page. To use for your user pages, use the format below:

{{CorInfoBox
|Level=
|Archetype=
|Image=
|Desc=
|Icon=
|Color=
|Fontcolor=
|}}
  • Level allows you to display the character level.
  • The Image does not require brackets or the word image. Instead of using [[File:Primusdatabase300.jpg]], use Primusdatabase300.jpg. That image, conveniently, is the default if you remove this line.
  • The Desc field should have a link to the character name.
  • Icon is just a small image that appears on the left side of the bottom bar. It defaults to a silver medal, but can be used if you have, say, a supergroup icon/logo for the character. Enter it in the same way you entered in an Image option.
  • The Archetype field allows you to change the Archetype displayed from Freeform to whatever you choose.
  • The Color field allows you to change the color of the bottom bar from its default.
  • The Fontcolor field will change the color of the font of the bottom bar, which in some cases may make it more readable.

Here is an example:


99 Asteroid.jpg If I had a Name, I'd be here was an innocent bit of text until a mean and crafty wiki editor trapped him into an infobox. Now he is exposed for the whole world to see, and he longs for the days of freedom again!
Paragons Logo.png Grimoire