This wiki is closed in favour of the new wiki. Information shown is likely to be very out of date. |
Difference between revisions of "Template:Family Infobox"
From Discovery Wiki
Jump to navigationJump to searchm (formatting) |
(made affiliation optional.) |
||
Line 17: | Line 17: | ||
{{!}} class="infobox-data-title" {{!}} '''Occupation''' | {{!}} class="infobox-data-title" {{!}} '''Occupation''' | ||
{{!}} style="padding-right: 1em;" {{!}} {{{occupation}}} | {{!}} style="padding-right: 1em;" {{!}} {{{occupation}}} | ||
− | }} | + | }}{{#if: {{{affiliation|}}}|<br /> |
− | + | {{!}}- | |
− | + | {{!}} class="infobox-data-title" {{!}} '''Affiliation''' | |
− | + | {{!}} style="padding-right: 1em;" {{!}} {{{affiliation}}} | |
− | |||
− | |||
}} | }} | ||
|- | |- | ||
Line 53: | Line 51: | ||
* Thing | * Thing | ||
}}</nowiki></pre> | }}</nowiki></pre> | ||
+ | |||
+ | Occupation and Affiliation are optional fields, and will not be displayed if they are not filled in. | ||
==Result== | ==Result== |
Revision as of 20:05, 25 January 2010
If you want to set the CSS styles of this infobox or colours, get a wiki Admin to change the Monobook.css. Most infoboxes' styles are controlled from there. This allows freedom for skins, while not changing the content of the infobox. (Say for example if you don't like this current one modelled off Freelancer User Interface, and want a default Wiki skin.)
Usage
{{Family_Infobox | name = The Addams Family | image = | origin = {{House Link | Nomads}} | occupation = Haunting | affiliation = Semi-lawful | members = * Gomez * Morticia * Pugsley * Wednesday * Uncle Fester * Grandmama * Cousin Itt * Lurch * Thing }}
Occupation and Affiliation are optional fields, and will not be displayed if they are not filled in.
Result
The Addams Family | |
Error creating thumbnail: Unable to save thumbnail to destination | |
Details | |
Origin | Nomads |
Occupation | Haunting |
Affiliation | Semi-lawful |
Members | |
---|---|
|