Template:CrewInfobox: Difference between revisions
From LoadingReadyWiki
Jump to navigationJump to search
mNo edit summary |
Cleanup, add defaults for parameters and add 'headers' (if you can even call them that) |
||
| Line 1: | Line 1: | ||
<div class="infobox" style="background-color:#FFFFFF; border:solid 1px #999999; width:225px; margin:auto; float:right;"> | <div class="infobox" style="background-color:#FFFFFF; border:solid 1px #999999; width:225px; margin:auto; float:right;"> | ||
{|style="padding:2px; margin:auto; font-size:85%;" cellspacing="0" | | {|style="padding:2px; margin:auto; font-size:85%;" cellspacing="0" | | ||
|<div class="crewname" style="background-color:#000000; border:solid 5px #5282ff; background-color:#180094; color:#FFFFFF; font-size:150%; text-align:center"> '''{{{Name}}}'''</div> | |<div class="crewname" style="background-color:#000000; border:solid 5px #5282ff; background-color:#180094; color:#FFFFFF; font-size:150%; text-align:center"> '''{{{Name|{{PAGENAME}}}}}'''</div> | ||
|- | |- | ||
|[[Image: {{{Picture}}}|center|200px|{{{Name}}}]] | |[[Image: {{{Picture|Image.jpg}}}|center|200px|{{{Name}}}]] | ||
<center>{{{PicDesc}}}</center> | <center>{{{PicDesc|Image Needed}}}</center> | ||
|- | |- | ||
|{{ #if: {{{DOB|}}} | '''Date of Birth:''' {{{DOB|}}} |}} | |{{ #if: {{{DOB|}}} | '''Date of Birth:''' {{{DOB|}}} |}} | ||
|- | |||
|{{ #if: {{{Family|}}} | '''Family:''' {{{Family|}}} |}} | |||
|- | |||
| style="background-color: #5282ff" |<center>'''LRR'''</center> | |||
|- | |- | ||
|{{ #if: {{{Duties|}}} | '''Duties:''' {{{Duties|}}} |}} | |{{ #if: {{{Duties|}}} | '''Duties:''' {{{Duties|}}} |}} | ||
| Line 48: | Line 52: | ||
|{{ #if: {{{RecurringCharacters|}}} | '''Recurring Characters:''' {{{RecurringCharacters|}}} |}} | |{{ #if: {{{RecurringCharacters|}}} | '''Recurring Characters:''' {{{RecurringCharacters|}}} |}} | ||
|- | |- | ||
|{{ #if: {{{ | | style="background-color: #5282ff; {{#if: {{{Website|}}}{{{Twitter|}}}||display: none}}" |<center>'''Online'''</center> | ||
|- | |- | ||
|{{ #if: {{{Website|}}} | '''Website:''' {{{Website|}}} |}} | |{{ #if: {{{Website|}}} | '''Website:''' {{{Website|}}} |}} | ||
| Line 54: | Line 58: | ||
|{{ #if: {{{Twitter|}}} | '''Twitter:''' {{{Twitter|}}} |}} | |{{ #if: {{{Twitter|}}} | '''Twitter:''' {{{Twitter|}}} |}} | ||
|- | |- | ||
|} | |} | ||
</div> | </div> | ||
{{#if: {{{Picture|}}}||<includeonly>[[Category:Pages Needing Images]]</includeonly>}} | |||
