Vorlage:Infobox: Unterschied zwischen den Versionen

Aus Rising World Wiki
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
Zeile 1: Zeile 1:
<includeonly>
<includeonly>
<div class="tright mw_metadata" style="width:250px; position:relative; font-size:120%; line-height:2.2; margin:1px; overflow:none;">
<style>
.Infobox
{
border-color: #c8ccd1;
    color: #000000;
    background: #f8f9fa;
    border: solid #eaecf0;
    border-width: 1px;
    padding: 1.1em;
    box-shadow: 0 1px 2px 1px rgba(0,0,0,0.02);
}
</style>
<div class="tright Infobox" style="width:250px; position:relative; font-size:120%; line-height:2.2; margin:0px; overflow:none;">
<div style="width:100%; margin:1px; border:0px; border-bottom:1px solid;">  
<div style="width:100%; margin:1px; border:0px; border-bottom:1px solid;">  
  <center> {{{1|{{{title|}}}}}} </center>
  <center> {{{1|{{{title|}}}}}} </center>

Version vom 22. Oktober 2024, 13:27 Uhr


Diese Vorlage ist ein Grundgerüst für Infoboxen und Steckbriefe, z.B. für Objekte oder Items.

Parameter

Parameter Bedeutung
title Titel des Steckbriefs
imagearea Platz für Bilder
rows Platz für weitere Parameter
footer Fußzeile

Anwendung

Beispiel 1

<style> .Infobox { border-color: #c8ccd1;

   color: #000000;
   background: #f8f9fa;
   border: solid #eaecf0;
   border-width: 1px;
   padding: 1.1em;
   box-shadow: 0 1px 2px 1px rgba(0,0,0,0.02);

} </style>

title

imagearea

Daten
rows

footer 


{{infobox
| title = title 
| imagearea = imagearea 
| rows = rows 
| footer = footer 
}}



Beispiel 2

<style> .Infobox { border-color: #c8ccd1;

   color: #000000;
   background: #f8f9fa;
   border: solid #eaecf0;
   border-width: 1px;
   padding: 1.1em;
   box-shadow: 0 1px 2px 1px rgba(0,0,0,0.02);

} </style>

Objekt Titel
Bauarbeiten icon-blue.png
Daten
Label 1 Field 1
Label 2 Field 2

footer XYZ 


{{infobox
| title = Objekt Titel
| imagearea = [[Datei:Bauarbeiten_icon-blue.png|150px|center]] 
| rows = 
{{InfoboxZeile|label=Label 1|field=Field 1}}
{{InfoboxZeile|label=Label 2|field=Field 2}}
| footer = footer XYZ
}}




Siehe auch