Difference between revisions of "MediaWiki:Common.css"

From Block library
Jump to: navigation, search
Line 3: Line 3:
  
 
<div class="Blockbox">
 
<div class="Blockbox">
<div class="infobox-title">{{{title|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}|
+
<div class="Blockbox-title">{{{title|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}|
<div class="infobox-image">[[File:{{{image}}}|300px]]</div>}}
+
<div class="Blockbox-image">[[File:{{{image}}}|300px]]</div>}}
 
<table>{{#if:{{{param1|}}}|<tr>
 
<table>{{#if:{{{param1|}}}|<tr>
 
     <th>Parameter 1</th>
 
     <th>Parameter 1</th>

Revision as of 16:07, 29 August 2018

/* CSS placed here will be applied to all skins */
body.page-Main_Page.action-view h1.firstHeading, body.page-Main_Page.action-submit h1.firstHeading { display: none; }

<div class="Blockbox">
<div class="Blockbox-title">{{{title|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}|
<div class="Blockbox-image">[[File:{{{image}}}|300px]]</div>}}
<table>{{#if:{{{param1|}}}|<tr>
    <th>Parameter 1</th>
    <td>{{{param1}}}</td>
</tr>}}{{#if:{{{param2|}}}|<tr>
    <th>Parameter 2</th>
    <td>{{{param2}}}</td>
</tr>}}{{#if:{{{param3|}}}|<tr>
    <th>Parameter 3</th>
    <td>{{{param3}}}</td>
</tr>}}{{#if:{{{param4|}}}|<tr>
    <th>Parameter 4</th>
    <td>{{{param4}}}</td>
</tr>}}{{#if:{{{param5|}}}|<tr>
    <th>Parameter 5</th>
    <td>{{{param5}}}</td>
</tr>}}</table>
</div>