Template:LoyalistChapters: Difference between revisions

From Eternum McEdition
Jump to navigationJump to search
No edit summary
Tag: Manual revert
No edit summary
Line 1: Line 1:
<includeonly><infobox>
.infobox {
<title source="name"><default>{{PAGENAME}}</default></title>
background-color: #ffff00;
<image source="image"/>
border: 2px solid #008600;
<data source="Warcry"><label>Warcry</label></data>
float: right;
<data source="Founding"><label>Founding</label></data>
margin: 0 0 1em 1em;
<data source="Successors of"><label>Successors of</label></data>
padding: 1em;
<data source="Successor Chapters"><label>Successor Chapters</label></data>
width: 400px;
<data source="Number"><label>Number</label></data>
}     
<data source="Primarch"><label>Primarch</label></data>
.infobox-title {
<data source="Chapter Master"><label>Chapter Master</label></data>
border: 1px solid #000000;
<data source="Homeworld"><label>Homeworld</label></data>
font-size: 1.5em;
<data source="Fortress-Monastery"><label>Fortress-Monastery</label></data>
text-align: center;
<data source="Alligiance"><label>Allegiance</label></data>
background-color: #ff0000;
<data source="Colours"><label>Colours</label></data>
}
</infobox></includeonly>
.infobox-subtitle {
<noinclude>
font-size: 1em;
== Usage & preview ==
text-align: center;
Type in this:
background-color: #fff00;
 
}
<pre>
.infobox-image {
{{Infobox Chapter
text-align: center;
|bgcolor=
background-color: #ffff00;
|fgcolor=
}
|name=
|image=
|Warcry=
|Founding=
|Successors of=
|Successor Chapters=
|Number=
|Primarch=
|Chapter Master=
|Homeworld=
|Fortress-Monastery=
|Alligiance=
|Colours=
}}
 
</pre>
 
to see this:
 
{{Infobox Chapter
|bgcolor=This is a test
|fgcolor=This is a test
|name=This is a test
|image=This is a test
|Warcry=This is a test
|Founding=This is a test
|Successors of=This is a test
|Successor Chapters=This is a test
|Number=This is a test
|Primarch=This is a test
|Chapter Master=This is a test
|Homeworld=This is a test
|Fortress-Monastery=This is a test
|Alligiance=This is a test
|Colours=This is a test
}}
[[Category:Templates]]</noinclude>

Revision as of 12:43, 31 July 2024

.infobox { background-color: #ffff00; border: 2px solid #008600; float: right; margin: 0 0 1em 1em; padding: 1em; width: 400px; } .infobox-title { border: 1px solid #000000; font-size: 1.5em; text-align: center; background-color: #ff0000; } .infobox-subtitle { font-size: 1em; text-align: center; background-color: #fff00; } .infobox-image { text-align: center; background-color: #ffff00; }