Template:TowersCharacterTemplate: Difference between revisions

From TowersWiki

No edit summary
No edit summary
Line 1: Line 1:
<includeonly>
{{#tag:css|a:link {color: #00008B;}
{{#tag:css|a:link {color: #00008B;}
   a:visited {color: #00008B;}
   a:visited {color: #00008B;}
   a:hover {color: #D2042D;}
   a:hover {color: #D2042D;}
#bcp {
display: flex;
flex-direction: column;
flex-wrap: nowrap;
justify-content: flex-start;
align-items: stretch;
align-content: stretch;


.grid-container {
font-size: 11pt;
  display: grid;
}
  grid-template-columns: 80vw 20vw;
#bcp table {
  gap: 50px 0px;
width: 100%;
  padding: 10px;
}
  background-color: white;
#bcp table tr td:nth-child(1) {
font-weight: bold;
text-align: left;
}
}


.grid-item {
#bcp table tr td:nth-child(2) {
  background-color: rgba(255, 255, 255, 0.8);
text-align: right;
  border: 3px dashed;
}
  padding: 20px;
.bcpboxtitle {
  font-size: 30px;
color: {{{titlefg|white}}};
  text-align: center;
background: {{{titlebg|darkblue}}};
  color: orange;
text-align: center;
font-size: 1.2em;
font-weight: bold;
margin: 5px 0;
}
#bcpquote {
text-align: center;
font-style: italic;
}
}


* { box-sizing: border-box; }
#bcplogs li {
list-style-type: none;
}
#bcpcolumns {
display: flex;
flex-wrap: nowrap;
justify-content: flex-start;
align-items: stretch;
align-content: stretch;
}
@media (max-width: 990px) {
#bcpcolumns {
flex-direction: column-reverse;
}
}
@media (min-width: 991px) {
#bcpcolumns {
flex-direction: row;
}
#bcprightcolumn {
max-width: 25%;
}
#bcpleftcolumn {
max-width: 75%;
}
}
#bcpleftcolumn {
flex-grow: 3;
padding: 5px;
}
#bcpgallery p {
margin: 0;
text-align: center;
}


.menu { width: 25%;
#bcpgallery img {
  float: left;}
max-width: 30% !important;
 
height: auto !important;
.main {width: 75%;
}
  float: left;}
#bcplogs {
 
text-align: center;
.col-1 {width: 8%}
}
 
#bcprightcolumn {
.col-2 {width: 17%}
flex-grow: 1;
 
padding: 5px;
.col-3 {width: 25%}
}
 
#bcpname p {
.col-4 {width: 33%}
margin: 0;
 
.col-5 {width: 42%}
 
.col-6 {width: 50%}
 
.col-7 {width: 58%}
 
.col-8 {width: 57%}
 
.col-9 {width: 75%}
 
.col-10 {width: 83%}
 
.col-11 {width: 92%}
 
.col-12 {width: 100%}
 
[class* = "col-"] {
  float: left;
  padding: 15px;
  border: 1px solid red;
}
}
 
#bcpname img {
.row:after {
min-width: 100%;
  content: "";
max-width: 100%;
  clear: both;
height: auto;
  display: table;
}
}
}}
}}
<div id="bcp">
<div id="bcpquote">
{{{quote|&nbsp;}}}
</div>
<div id="bcpcolumns">
<div id="bcpleftcolumn" class="bcpcolumn">
<div class="bcpbox" id="bcpbiography">
<div class="bcpboxtitle">Biography</div>
{{{biography|&nbsp;}}}
</div>
<div class="bcpbox" id="bcprphooks">
<div class="bcpboxtitle">RP Hooks</div>
{{{rphooks|&nbsp;}}}
</div>
{{#if: {{{contacts|}}} |
<div class="bcpbox" id="bcpcontacts">
<div class="bcpboxtitle">Contacts</div>
{{{contacts}}}
</div>
}}
{{#if: {{{stereotypes|}}} |
<div class="bcpbox" id="bcpstereotypes">
<div class="bcpboxtitle">Stereotypes</div>
{{{stereotypes}}}
</div>
}}
{{#if: {{{filmography|}}} |
<div class="bcpbox" id="bcpstereotypes">
<div class="bcpboxtitle">Filmography</div>
{{{filmography}}}
</div>
}}
<div class="bcpbox" id="bcpgallery">
<div class="bcpboxtitle">Gallery</div>
{{{gallery|&nbsp;}}}
</div>
<div class="bcpbox" id="bcplogs">
<div class="bcpboxtitle">Logs</div>
{{#dpl:
|linksto={{{pagename|}}}
|category=Logs
|noresultsheader=No logs found!
}}
</div>
{{{leftcolumn|}}}
</div>
<div id="bcprightcolumn" class="bcpcolumn">
<div class="bcpbox" id="bcpname">
<div class="bcpboxtitle">{{{fullname|&nbsp;}}}</div>
{{{profileimage|&nbsp;}}}
{{{!}}
{{{profile|&nbsp;}}}
{{!}}}
</div>
{{#if: {{{statistics|}}} |
<div class="bcpbox" id="bcpstatistics">
<div class="bcpboxtitle">Statistics</div>
{{{!}}
{{{statistics|&nbsp;}}}
{{!}}}
</div>
}}
{{#if: {{{soundtrack|}}} |
<div class="bcpbox" id="bcpsoundtrack">
<div class="bcpboxtitle">Soundtrack</div>
{{{soundtrack|&nbsp;}}}
</div>
}}
{{{rightcolumn|}}}
</div>
</div>
</div>
[[Category:Characters]]
</includeonly>

Revision as of 01:25, 15 March 2024