Difference between revisions of "Template:Event infobox"

Jump to navigation Jump to search
677 bytes removed ,  04:56, 13 July 2018
no edit summary
Line 1: Line 1:
<includeonly>{{#css:
<includeonly>{{#if: {{NAMESPACE}} | <!-- don't create subobj within namespace --> | {{#subobject:event{{#vardefineecho:eventnumber|{{#expr:{{#var:eventnumber|-1}}+1}}}}
table.infobox {
    background-color: #f9f9f9;
    border: 1px solid #aaa;
    font-size: 11px;
    margin: 1em 0em 1em 2em;
    padding: 2px;
    text-align: center;
    width: 250px;
    float: right;
    overflow: visible;
    position: relative;
    width: 250px;
}
 
table.infobox th {
    padding: 0em 1em 0em 1em;
}
 
table.infobox tr:first-child th {
    background-color: #ccf;
    padding: 0.5em 1em 0.5em 1em;
    font-size: 1.2em;
}
 
table.infobox tr:not(:first-child) th {
    background-color: #ddf;
}
 
table.infobox tr:not(:first-child) th + th {
    background-color: #e4e4ff;
}
 
table.infobox td {
    text-align: left;
    padding: 0px 7px 0px 7px;
}
}}{{#if: {{NAMESPACE}} | <!-- don't create subobj within namespace --> | {{#subobject:event{{#vardefineecho:eventnumber|{{#expr:{{#var:eventnumber|-1}}+1}}}}
| Has game context = Event
| Has game context = Event
| Has Japanese name ={{{jp name|}}}
| Has Japanese name ={{{jp name|}}}

Navigation menu