User:KJNanika: Difference between revisions

From No Man's Land - A Trigun Wiki
Jump to navigation Jump to search
imported>KJNanika
(infobox testing)
 
imported>KJNanika
(infobox testing)
Line 1: Line 1:
/**
{{Infobox character
* Common TemplateStyles used by [[Template:Extension]], [[Template:Skin]],
| color            = <!-- headers background color; the foreground color is automatically computed -->
* [[Template:Tool]], etc.
| name              =
*/
| series            = <!-- or |franchise=; use without the italic on the outside -->
.infobox {
| image            =
box-sizing: border-box;
| alt              =
border: 2px solid #a2a9b1;
| caption          =
width: 280px;
| first_major      = <!-- per [[MOS:MAJORWORK]] - major works include TV series, films, books, albums and games -->
border-collapse: collapse;
| first_minor      = <!-- or |first_issue=; Per [[MOS:MINORWORK]] - minor works include TV episodes, chapters, songs and game missions -->
border-spacing: 0;
| first_date        =
background-color: white;
| first            = <!-- Use instead of first_major= etc. when custom or complex formatting is needed. -->
/* these are overriden by .infobox-rtl on the templates of interest */
| last_major        =
/* @noflip */
| last_minor        = <!-- or |last_issue= -->
clear: right;
| last_date        =
/* @noflip */
| last              = <!-- Use instead of last_major= etc. when custom or complex formatting is needed. -->
float: right;
| creator          = <!-- only the credited creators; use adapted_by= for adaptations -->
/* @noflip */
| based_on          = <!-- if not an original creation, use {{based on|character|author}} -->
margin: 0 0 0.5em 0.5em;
| adapted_by        = <!-- for character adaption articles -->
}
| designer          =
 
| portrayer        =
.infobox-rtl {
| voice            =
/* @noflip */
| motion_actor      =
clear: left;
| full_name        =
/* @noflip */
| nickname          = <!-- or |nicknames= -->
float: left;
| alias            = <!-- or |aliases= -->
/* @noflip */
| species          = <!-- or |race=; for non-humans only -->
margin: 0 0.5em 0.5em 0;
| gender            = <!-- if not obvious -->
}
| title            =
 
| occupation        = <!-- or |position= or |class= -->
.infobox th {
| affiliation      = <!-- or |alignment= -->
/* @noflip */
| fighting_style    =
text-align: left;
| weapon            =
padding: 0.2em 0.5em;
| family            =
vertical-align: top;
| spouse            = <!-- or |spouses= -->
}
| significant_other = <!-- or |significant_others= -->
 
| children          =
.infobox-rtl th {
| relatives        =
/* @noflip */
| religion          =
text-align: right;
| origin            = <!-- or |home= -->
}
| nationality      =
 
}}
@media (max-width: 719px) {
/* high specificity to ensure specific infoboxes won't override these
* properties with their own tstyles inadvertently */
body.mediawiki .infobox {
float: none;
clear: both;
width: 100%;
margin: 0 0 .5em 0;
}
}
 
.infobox td {
border: none;
padding: 0.2em 0.5em;
vertical-align: top;
}
 
.infobox-header {
background-color: #a2a9b1;
color: #FFF;
text-align: left;
}
 
.infobox-header a {
color: #FFF;
}
 
.infobox-header td,
.infobox-header th {
padding: 0.5em 0.5em;
}
 
.infobox-header img {
padding: 0 0.2em 0 0.5em;
}

Revision as of 22:32, 12 March 2023