Difference between revisions of "Template:LlamaBox"

From PRIMUS Database
Jump to: navigation, search
(Additional prettification.)
(Added color customization (I hope))
Line 1: Line 1:
 
<includeonly></includeonly>
 
<includeonly></includeonly>
<div style="background-color: #000000; border: Solid 2px #203040; border-radius: 20px; color: #ffffff; float: right; font-family: sans-serif; margin: 10px; padding: 10px; position: relative; z-index: 1">
+
<div style="background-color: {{{Background|#000000}}}; border: Solid 2px {{{OuterBorder|#203040}}}; border-radius: 20px; color: {{{TextColor|#ffffff}}}; float: right; font-family: sans-serif; margin: 10px; padding: 10px; position: relative; z-index: 1">
     <div style="background-color: #000000; border-radius: 10px; border: 2px Solid #203040; padding: 0px; width: 300px;">
+
     <div style="background-color: {{{Background|#000000}}}; border-radius: 10px; border: 2px Solid #203040; padding: 0px; width: 300px;">
         <div style="background-color: #80a0c0; border-top-left-radius: 8px; border-top-right-radius: 8px; color: #ffffff; font-size: 150%; font-variant: small-caps; font-weight: bold; padding: 4px; text-align: center; text-shadow: 1px 1px 1px #000000;">{{{HeroName|Your Name Here!}}}</div>
+
         <div style="background-color: {{{HeaderColor|#80a0c0}}}; border-top-left-radius: 8px; border-top-right-radius: 8px; color: {{{NameColor|#ffffff}}}; font-size: 150%; font-variant: small-caps; font-weight: bold; padding: 4px; text-align: center; text-shadow: 1px 1px 1px #000000;">{{{HeroName|Your Name Here!}}}</div>
         <div style="border-top: Solid 2px #203040; width: 300px;">[[File:{{{Image|Primusdatabase300.jpg}}}|300px]]</div>
+
         <div style="border-top: Solid 2px {{{ItemBorder|#203040}}}; width: 300px;">[[File:{{{Image|Primusdatabase300.jpg}}}|300px]]</div>
         <div style="background-color: #80a0c0; border-top: Solid 2px #203040; border-bottom-left-radius: 8px; border-bottom-right-radius: 8px; color: #000000; font-variant: small-caps; padding: 4px; text-align: center;">Player: <span style="font-weight: bold;">{{{Player|}}}</span></div>
+
         <div style="background-color: {{{HeaderColor|#80a0c0}}}; border-top: Solid 2px {{{ItemBorder|#203040}}}; border-bottom-left-radius: 8px; border-bottom-right-radius: 8px; color: {{{HeaderText|#000000}}}; font-variant: small-caps; padding: 4px; text-align: center;">Player: <span style="font-weight: bold;">{{{Player|}}}</span></div>
 
     </div>
 
     </div>
     <table cellspacing="0" style="border-collapse: collapse; color: #ffffff; margin: 0px; padding: 0px; width: 300px;">
+
     <table cellspacing="0" style="border-collapse: collapse; color: {{{TextColor|#ffffff}}}; margin: 0px; padding: 0px; width: 300px;">
 
         <tr>
 
         <tr>
 
             <td colspan="2" style="padding: 0px;">
 
             <td colspan="2" style="padding: 0px;">
                 <div style="background-color: #80a0c0; border: Solid 2px #203040; border-top-left-radius: 10px; border-top-right-radius: 10px; color: #000000; font-variant: small-caps; font-weight: bold; margin: 10px -1px -2px -1px; padding: 4px; text-align: center;">Biographical Information</div>
+
                 <div style="background-color: {{{HeaderColor|#80a0c0}}}; border: Solid 2px {{{ItemBorder|#203040}}}; border-top-left-radius: 10px; border-top-right-radius: 10px; color: {{{HeaderText|#000000}}}; font-variant: small-caps; font-weight: bold; margin: 10px -1px -2px -1px; padding: 4px; text-align: center;">Biographical Information</div>
 
             </td>
 
             </td>
 
         </tr>
 
         </tr>
 
         <tr style="font-size: 80%">
 
         <tr style="font-size: 80%">
             <td style="border: Solid 2px #203040; font-variant: small-caps; padding: 3px 6px;">Name:</td>
+
             <td style="border: Solid 2px {{{ItemBorder|#203040}}}; font-variant: small-caps; padding: 3px 6px;">Name:</td>
             <td style="border: Solid 2px #203040; padding: 3px 6px;">{{{Name|Confidential}}}</td>
+
             <td style="border: Solid 2px {{{ItemBorder|#203040}}}; padding: 3px 6px;">{{{Name|Confidential}}}</td>
 
         </tr>
 
         </tr>
 
         <tr style="font-size: 80%">
 
         <tr style="font-size: 80%">
             <td style="border: Solid 2px #203040; font-variant: small-caps; padding: 3px 6px;">Age:</td>
+
             <td style="border: Solid 2px {{{ItemBorder|#203040}}}; font-variant: small-caps; padding: 3px 6px;">Age:</td>
             <td style="border: Solid 2px #203040; padding: 3px 6px;">{{{Age|Confidential}}}</td>
+
             <td style="border: Solid 2px {{{ItemBorder|#203040}}}; padding: 3px 6px;">{{{Age|Confidential}}}</td>
 
         </tr>
 
         </tr>
 
         <tr style="font-size: 80%">
 
         <tr style="font-size: 80%">
             <td style="border: Solid 2px #203040; font-variant: small-caps; padding: 3px 6px;">Place of Residence:</td>
+
             <td style="border: Solid 2px {{{ItemBorder|#203040}}}; font-variant: small-caps; padding: 3px 6px;">Place of Residence:</td>
             <td style="border: Solid 2px #203040; padding: 3px 6px;">{{{PlaceOfResidence|Confidential}}}</td>
+
             <td style="border: Solid 2px {{{ItemBorder|#203040}}}; padding: 3px 6px;">{{{PlaceOfResidence|Confidential}}}</td>
 
         </tr>
 
         </tr>
 
         <tr style="font-size: 80%">
 
         <tr style="font-size: 80%">
             <td style="border: Solid 2px #203040; font-variant: small-caps; padding: 3px 6px;">Occupation:</td>
+
             <td style="border: Solid 2px {{{ItemBorder|#203040}}}; font-variant: small-caps; padding: 3px 6px;">Occupation:</td>
             <td style="border: Solid 2px #203040; padding: 3px 6px;">{{{Occupation|Confidential}}}</td>
+
             <td style="border: Solid 2px {{{ItemBorder|#203040}}}; padding: 3px 6px;">{{{Occupation|Confidential}}}</td>
 
         </tr>
 
         </tr>
 
         <tr style="font-size: 80%">
 
         <tr style="font-size: 80%">
             <td style="border: Solid 2px #203040; font-variant: small-caps; padding: 3px 6px;">Marital Status:</td>
+
             <td style="border: Solid 2px {{{ItemBorder|#203040}}}; font-variant: small-caps; padding: 3px 6px;">Marital Status:</td>
             <td style="border: Solid 2px #203040; padding: 3px 6px;">{{{MaritalStatus|Confidential}}}</td>
+
             <td style="border: Solid 2px {{{ItemBorder|#203040}}}; padding: 3px 6px;">{{{MaritalStatus|Confidential}}}</td>
 
         </tr>
 
         </tr>
 
         <tr style="font-size: 80%">
 
         <tr style="font-size: 80%">
             <td style="border: Solid 2px #203040; font-variant: small-caps; padding: 3px 6px;">Legal Status:</td>
+
             <td style="border: Solid 2px {{{ItemBorder|#203040}}}; font-variant: small-caps; padding: 3px 6px;">Legal Status:</td>
             <td style="border: Solid 2px #203040; padding: 3px 6px;">{{{LegalStatus|Confidential}}}</td>
+
             <td style="border: Solid 2px {{{ItemBorder|#203040}}}; padding: 3px 6px;">{{{LegalStatus|Confidential}}}</td>
 
         </tr>
 
         </tr>
 
         <tr style="font-size: 80%">
 
         <tr style="font-size: 80%">
             <td style="border: Solid 2px #203040; font-variant: small-caps; padding: 3px 6px;">Identity:</td>
+
             <td style="border: Solid 2px {{{ItemBorder|#203040}}}; font-variant: small-caps; padding: 3px 6px;">Identity:</td>
             <td style="border: Solid 2px #203040; padding: 3px 6px;">{{{Identity|Secret}}}</td>
+
             <td style="border: Solid 2px {{{ItemBorder|#203040}}}; padding: 3px 6px;">{{{Identity|Secret}}}</td>
 
         </tr>
 
         </tr>
 
         <tr style="font-size: 80%">
 
         <tr style="font-size: 80%">
             <td colspan="2" style="background-color: #80a0c0; border: Solid 2px #203040; color: #000000; font-variant: small-caps; font-weight: bold; padding: 3px 6px; text-align: center;">Known Affiliations</td>
+
             <td colspan="2" style="background-color: {{{HeaderColor|#80a0c0}}}; border: Solid 2px {{{ItemBorder|#203040}}}; color: {{{HeaderText|#000000}}}; font-variant: small-caps; font-weight: bold; padding: 3px 6px; text-align: center;">Known Affiliations</td>
 
         </tr>
 
         </tr>
 
         <tr style="font-size: 80%">
 
         <tr style="font-size: 80%">
             <td colspan="2" style="border: Solid 2px #203040; padding: 3px 6px; text-align: center;">{{{Affiliations|-}}}</td>
+
             <td colspan="2" style="border: Solid 2px {{{ItemBorder|#203040}}}; padding: 3px 6px; text-align: center;">{{{Affiliations|-}}}</td>
 
         </tr>
 
         </tr>
 
         <tr>
 
         <tr>
 
             <td colspan="2" style="padding: 0px;">
 
             <td colspan="2" style="padding: 0px;">
                 <div style="background-color: #80a0c0; border: Solid 2px #203040; border-bottom-left-radius: 10px; border-bottom-right-radius: 10px; font-weight: bold; margin: -2px -1px 0px -1px; padding: 4px; text-align: center;"></div>
+
                 <div style="background-color: {{{HeaderColor|#80a0c0}}}; border: Solid 2px {{{ItemBorder|#203040}}}; border-bottom-left-radius: 10px; border-bottom-right-radius: 10px; font-weight: bold; margin: -2px -1px 0px -1px; padding: 4px; text-align: center;"></div>
 
             </td>
 
             </td>
 
         </tr>
 
         </tr>
 
         <tr>
 
         <tr>
 
             <td colspan="2" style="padding: 0px;">
 
             <td colspan="2" style="padding: 0px;">
                 <div style="background-color: #80a0c0; border: Solid 2px #203040; border-top-left-radius: 10px; border-top-right-radius: 10px; color: #000000; font-variant: small-caps; font-weight: bold; margin: 10px -1px -2px -1px; padding: 4px; text-align: center;">Physical Features</div>
+
                 <div style="background-color: {{{HeaderColor|#80a0c0}}}; border: Solid 2px {{{ItemBorder|#203040}}}; border-top-left-radius: 10px; border-top-right-radius: 10px; color: {{{HeaderText|#000000}}}; font-variant: small-caps; font-weight: bold; margin: 10px -1px -2px -1px; padding: 4px; text-align: center;">Physical Features</div>
 
             </td>
 
             </td>
 
         </tr>
 
         </tr>
 
         <tr style="font-size: 80%">
 
         <tr style="font-size: 80%">
             <td style="border: Solid 2px #203040; font-variant: small-caps; padding: 3px 6px;">Gender:</td>
+
             <td style="border: Solid 2px {{{ItemBorder|#203040}}}; font-variant: small-caps; padding: 3px 6px;">Gender:</td>
             <td style="border: Solid 2px #203040; padding: 3px 6px;">{{{Gender|Confidential}}}</td>
+
             <td style="border: Solid 2px {{{ItemBorder|#203040}}}; padding: 3px 6px;">{{{Gender|Confidential}}}</td>
 
         </tr>
 
         </tr>
 
         <tr style="font-size: 80%">
 
         <tr style="font-size: 80%">
             <td style="border: Solid 2px #203040; font-variant: small-caps; padding: 3px 6px;">Ethnicity:</td>
+
             <td style="border: Solid 2px {{{ItemBorder|#203040}}}; font-variant: small-caps; padding: 3px 6px;">Ethnicity:</td>
             <td style="border: Solid 2px #203040; padding: 3px 6px;">{{{Ethnicity|Confidential}}}</td>
+
             <td style="border: Solid 2px {{{ItemBorder|#203040}}}; padding: 3px 6px;">{{{Ethnicity|Confidential}}}</td>
 
         </tr>
 
         </tr>
 
         <tr style="font-size: 80%">
 
         <tr style="font-size: 80%">
             <td style="border: Solid 2px #203040; font-variant: small-caps; padding: 3px 6px;">Hair:</td>
+
             <td style="border: Solid 2px {{{ItemBorder|#203040}}}; font-variant: small-caps; padding: 3px 6px;">Hair:</td>
             <td style="border: Solid 2px #203040; padding: 3px 6px;">{{{Hair|Confidential}}}</td>
+
             <td style="border: Solid 2px {{{ItemBorder|#203040}}}; padding: 3px 6px;">{{{Hair|Confidential}}}</td>
 
         </tr>
 
         </tr>
 
         <tr style="font-size: 80%">
 
         <tr style="font-size: 80%">
             <td style="border: Solid 2px #203040; font-variant: small-caps; padding: 3px 6px;">Eyes:</td>
+
             <td style="border: Solid 2px {{{ItemBorder|#203040}}}; font-variant: small-caps; padding: 3px 6px;">Eyes:</td>
             <td style="border: Solid 2px #203040; padding: 3px 6px;">{{{Eyes|Confidential}}}</td>
+
             <td style="border: Solid 2px {{{ItemBorder|#203040}}}; padding: 3px 6px;">{{{Eyes|Confidential}}}</td>
 
         </tr>
 
         </tr>
 
         <tr style="font-size: 80%">
 
         <tr style="font-size: 80%">
             <td colspan="2" style="background-color: #80a0c0; border: Solid 2px #203040; color: #000000; font-variant: small-caps; font-weight: bold; padding: 3px 6px; text-align: center;">Distinguishing Features</td>
+
             <td colspan="2" style="background-color: {{{HeaderColor|#80a0c0}}}; border: Solid 2px {{{ItemBorder|#203040}}}; color: {{{HeaderText|#000000}}}; font-variant: small-caps; font-weight: bold; padding: 3px 6px; text-align: center;">Distinguishing Features</td>
 
         </tr>
 
         </tr>
 
         <tr style="font-size: 80%">
 
         <tr style="font-size: 80%">
             <td colspan="2" style="border: Solid 2px #203040; padding: 3px 6px; text-align: center;">{{{Features|-}}}</td>
+
             <td colspan="2" style="border: Solid 2px {{{ItemBorder|#203040}}}; padding: 3px 6px; text-align: center;">{{{Features|-}}}</td>
 
         </tr>
 
         </tr>
 
         <tr>
 
         <tr>
 
             <td colspan="2" style="padding: 0px;">
 
             <td colspan="2" style="padding: 0px;">
                 <div style="background-color: #80a0c0; border: Solid 2px #203040; border-bottom-left-radius: 10px; border-bottom-right-radius: 10px; font-weight: bold; margin: -2px -1px 0px -1px; padding: 4px; text-align: center;"></div>
+
                 <div style="background-color: {{{HeaderColor|#80a0c0}}}; border: Solid 2px {{{ItemBorder|#203040}}}; border-bottom-left-radius: 10px; border-bottom-right-radius: 10px; font-weight: bold; margin: -2px -1px 0px -1px; padding: 4px; text-align: center;"></div>
 
             </td>
 
             </td>
 
         </tr>
 
         </tr>
 
         <tr>
 
         <tr>
 
             <td colspan="2" style="padding: 0px;">
 
             <td colspan="2" style="padding: 0px;">
                 <div style="background-color: #80a0c0; border: Solid 2px #203040; border-top-left-radius: 10px; border-top-right-radius: 10px; color: #000000; font-variant: small-caps; font-weight: bold; margin: 10px -1px -2px -1px; padding: 4px; text-align: center;">Known Powers</div>
+
                 <div style="background-color: {{{HeaderColor|#80a0c0}}}; border: Solid 2px {{{ItemBorder|#203040}}}; border-top-left-radius: 10px; border-top-right-radius: 10px; color: {{{HeaderText|#000000}}}; font-variant: small-caps; font-weight: bold; margin: 10px -1px -2px -1px; padding: 4px; text-align: center;">Known Powers</div>
 
             </td>
 
             </td>
 
         </tr>
 
         </tr>
 
         <tr style="font-size: 80%">
 
         <tr style="font-size: 80%">
             <td colspan="2" style="border: Solid 2px #203040; padding: 3px 6px; text-align: center;">{{{Powers|-}}}</td>
+
             <td colspan="2" style="border: Solid 2px {{{ItemBorder|#203040}}}; padding: 3px 6px; text-align: center;">{{{Powers|-}}}</td>
 
         </tr>
 
         </tr>
 
         <tr style="font-size: 80%">
 
         <tr style="font-size: 80%">
             <td colspan="2" style="background-color: #80a0c0; border: Solid 2px #203040; color: #000000; font-variant: small-caps; font-weight: bold; padding: 3px 6px; text-align: center;">Special Equipment</td>
+
             <td colspan="2" style="background-color: {{{HeaderColor|#80a0c0}}}; border: Solid 2px {{{ItemBorder|#203040}}}; color: {{{HeaderText|#000000}}}; font-variant: small-caps; font-weight: bold; padding: 3px 6px; text-align: center;">Special Equipment</td>
 
         </tr>
 
         </tr>
 
         <tr style="font-size: 80%">
 
         <tr style="font-size: 80%">
             <td colspan="2" style="border: Solid 2px #203040; padding: 3px 6px; text-align: center;">{{{Equipment|-}}}</td>
+
             <td colspan="2" style="border: Solid 2px {{{ItemBorder|#203040}}}; padding: 3px 6px; text-align: center;">{{{Equipment|-}}}</td>
 
         </tr>
 
         </tr>
 
         <tr>
 
         <tr>
 
             <td colspan="2" style="padding: 0px;">
 
             <td colspan="2" style="padding: 0px;">
                 <div style="background-color: #80a0c0; border: Solid 2px #203040; border-bottom-left-radius: 10px; border-bottom-right-radius: 10px; font-weight: bold; margin: -2px -1px 0px -1px; padding: 4px; text-align: center;"></div>
+
                 <div style="background-color: {{{HeaderColor|#80a0c0}}}; border: Solid 2px {{{ItemBorder|#203040}}}; border-bottom-left-radius: 10px; border-bottom-right-radius: 10px; font-weight: bold; margin: -2px -1px 0px -1px; padding: 4px; text-align: center;"></div>
 
             </td>
 
             </td>
 
         </tr>
 
         </tr>
Line 108: Line 108:
 
<pre style="font-size:125%; margin-right: 350px; border: 1px solid gray; background: lightgray"><nowiki>
 
<pre style="font-size:125%; margin-right: 350px; border: 1px solid gray; background: lightgray"><nowiki>
 
{{LlamaBox
 
{{LlamaBox
 +
<!-- COLOR SECTION - Remove any of these you don't want to change. -->
 +
|Background=#000000
 +
|OuterBorder=#203040
 +
|TextColor=#ffffff
 +
|NameColor=#ffffff
 +
|HeaderColor=#80a0c0
 +
|HeaderText=#000000
 +
|ItemBorder|#203040
 +
<!-- END COLOR SECTION -->
 
|HeroName=
 
|HeroName=
 
|Image=
 
|Image=

Revision as of 09:11, 22 February 2015

Your Name Here!
Primusdatabase300.jpg
Player:
Biographical Information
Name: Confidential
Age: Confidential
Place of Residence: Confidential
Occupation: Confidential
Marital Status: Confidential
Legal Status: Confidential
Identity: Secret
Known Affiliations
-
Physical Features
Gender: Confidential
Ethnicity: Confidential
Hair: Confidential
Eyes: Confidential
Distinguishing Features
-
Known Powers
-
Special Equipment
-

Cheat Sheet

{{LlamaBox
<!-- COLOR SECTION - Remove any of these you don't want to change. -->
|Background=#000000
|OuterBorder=#203040
|TextColor=#ffffff
|NameColor=#ffffff
|HeaderColor=#80a0c0
|HeaderText=#000000
|ItemBorder|#203040
<!-- END COLOR SECTION -->
|HeroName=
|Image=
|Player=
|Name=
|Age=
|PlaceOfResidence=
|Occupation=
|MaritalStatus=
|LegalStatus=
|Identity=
|Affiliations=
|Gender=
|Ethnicity=
|Hair=
|Eyes=
|Features=
|Powers=
|Equipment=
|}}

About This Template

I created this template because I wanted a character info box that was fairly stripped down, removing some of the detail that the other templates have.

TheBobbyLlama