Template:CrewInfobox: Difference between revisions
From LoadingReadyWiki
Jump to navigationJump to search
Road-hog123 (talk | contribs) Add YouTube link option. |
Road-hog123 (talk | contribs) m Remove duplicate background-color entry, fix "Online" section not displaying when only Mastodon and/or YouTube links were provided, standardise formatting |
||
| Line 1: | Line 1: | ||
<div class="infobox" style="background-color:#FFFFFF; border:solid 1px #999999; width:275px; margin:auto; float:right;"> | <div class="infobox" style="background-color:#FFFFFF; border:solid 1px #999999; width:275px; 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=" | |<div class="crewname" style="border:solid 5px #5282ff; background-color:#180094; color:#FFFFFF; font-size:150%; text-align:center;">'''{{{Name|{{PAGENAME}}}}}'''</div> | ||
|- | |- | ||
|[[Image: {{{Picture|Image.jpg}}}|center|200px|{{{Name}}}]] | |[[Image:{{{Picture|Image.jpg}}}|center|200px|{{{Name}}}]] | ||
<center>{{{PicDesc|Image Needed}}}</center> | <center>{{{PicDesc|Image Needed}}}</center> | ||
|- | |- | ||
| Line 9: | Line 9: | ||
|- | |- | ||
|{{ #if: {{{Family|}}} | '''Family:''' {{{Family|}}} |}} | |{{ #if: {{{Family|}}} | '''Family:''' {{{Family|}}} |}} | ||
|- | |- style="background-color:#5282ff;" | ||
|<center>'''LRR'''</center> | |||
|- | |- | ||
|{{ #if: {{{Duties|}}} | '''Duties:''' {{{Duties|}}} |}} | |{{ #if: {{{Duties|}}} | '''Duties:''' {{{Duties|}}} |}} | ||
| Line 39: | Line 39: | ||
|- | |- | ||
|{{ #if: {{{RecurringCharacters|}}} | '''Recurring Characters:''' {{{RecurringCharacters|}}} |}} | |{{ #if: {{{RecurringCharacters|}}} | '''Recurring Characters:''' {{{RecurringCharacters|}}} |}} | ||
|- | |- style="background-color:#5282ff; {{ #if: {{{Website|}}}{{{Twitter|}}}{{{Twitch|}}}{{{Mastodon|}}}{{{YouTube|}}} || display: none }}" | ||
|<center>'''Online'''</center> | |||
|- | |- | ||
|{{ #if: {{{Website|}}} | '''Website:''' {{{Website|}}} |}} | |{{ #if: {{{Website|}}} | '''Website:''' {{{Website|}}} |}} | ||
| Line 53: | Line 53: | ||
|} | |} | ||
</div> | </div> | ||
{{#if: {{{Picture|}}}||<includeonly>[[Category:Pages Needing Images]]</includeonly>}} | {{ #if: {{{Picture|}}} || <includeonly>[[Category:Pages Needing Images]]</includeonly> }} | ||
