YellowWarningTriangle.png 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 search
m (ugh)
m (why....)
Line 2: Line 2:
 
{| class="infobox bordered" style="float: right; background-color:14193F; margin-left: 1em; margin-bottom: 10px; width: 270px; font-size: 11px; line-height: 14px; border: 1px solid #dddddd;" cellpadding="3"
 
{| class="infobox bordered" style="float: right; background-color:14193F; margin-left: 1em; margin-bottom: 10px; width: 270px; font-size: 11px; line-height: 14px; border: 1px solid #dddddd;" cellpadding="3"
 
|-
 
|-
| colspan="2" class="infobox-name" | '''{{{name}}}''' {{#switch: {{{image}}} | none = | #default = <br />{{!}}-
+
| colspan="2" class="infobox-name" | '''{{{name}}}''' {{#switch: {{{image}}} | none = | #default = <br />
 +
{{!}}-
 
{{!}} colspan="2" style="padding: 0px; text-align: center;" {{!}} {{#if: {{{image|}}}
 
{{!}} colspan="2" style="padding: 0px; text-align: center;" {{!}} {{#if: {{{image|}}}
 
| [[image:{{{image}}}|center|264px]]
 
| [[image:{{{image}}}|center|264px]]

Revision as of 00:43, 26 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 Flag-nomads3.png Nomads
Occupation Haunting
Affiliation Semi-lawful
Members
  • Gomez
  • Morticia
  • Pugsley
  • Wednesday
  • Uncle Fester
  • Grandmama
  • Cousin Itt
  • Lurch
  • Thing