User:Mondegreen

From FFXI Wiki

You might occasionally see me listed as an administrator on here; that's just for the purpose of working on protected pages. I'm not actually in charge here, go find somebody else. :P

Throne of Games livestreaming
Caveant Mundi game studio

FFXI
FFXIV
Steam



CSS and Implementation Example

/* Default item table styling */

table.item {
	border-collapse: collapse;
	
}

table.item, table.item th, table.item td {
	border: 1px solid #3c6a95;
}

table.item th, table.item td {
	padding: 3px;
}

table.item th {
	background-color: #d4d4d4;
	color: #000000;
	font-weight: bold;
	text-align: center;
	vertical-align: middle;
}

table.item th.title {
	background-color: #4696cf;
	color: #ffffff;
	column-span: all;
}

table.item td {
	background-color: #f5f5f5;
	color: #000000;
}

/* Example alternate-purpose table styling */

table.campaign, table.campaign th, table.campaign td {
	border-color: ;
}

table.campaign th {
	background-color: #7a9671;
}

table.campaign th.title {
	background-color: #1e7800;
}

table.campaign td {
	background-color: #c8ffb5;
}

Example tables using the above CSS

{| class="item" style="width: 788px;"
! class="title" colspan="2" | Title Text
|-
! Header 1
! Header 2
|-
| Cell 1-1
| Cell 1-2
|-
| Cell 2-1
| Cell 2-2
|}
Title Text
Header 1 Header 2
Cell 1-1 Cell 1-2
Cell 2-1 Cell 2-2
{| class="campaign" style="width: 788px;"
! class="title" colspan="2" | Title Text
|-
! Header 1
! Header 2
|-
| Cell 1-1
| Cell 1-2
|-
| Cell 2-1
| Cell 2-2
|}
Title Text
Header 1 Header 2
Cell 1-1 Cell 1-2
Cell 2-1 Cell 2-2
{| class="campaign item" style="width: 788px;"
! class="title" colspan="2" | Title Text
|-
! Header 1
! Header 2
|-
| Cell 1-1
| Cell 1-2
|-
| Cell 2-1
| Cell 2-2
|}
Title Text
Header 1 Header 2
Cell 1-1 Cell 1-2
Cell 2-1 Cell 2-2

Sandbox

{{Two Columns
| content = 
{{ColumnsContent
|a
|b
|c
|d
}}
}}


a b |- | c | d


{{Two Columns
| content = 
{{ColumnsContent
|a
|b
|c
|d
|e
}}


a b |- | c | d |- | e |


{{Two Columns
| heading = Buttfarts
| content = 
{{ColumnsContent
|a
|
|
|d
|e
}}
}}

Buttfarts

a

|- | | d |- | e |


{{Two Columns
| heading = Columnizing some actual tables
| content = 
{{ColumnsContent
| {{TemplateTest|Insert Item Other Template=
{{Item Other
|Item Name=Cursed Hauberk
|Craft Name=Smithing
|Level=199
}}
{{Item Other
|Item Name=Cursed Hauberk -1
|Craft Name=Smithing
|Level=199
}}
{{Item Other
|Item Name=Adaman Kilij
|Craft Name=Smithing
|Level=199
}}
}}
| {{TemplateTest|Insert Item Other Template=
{{Item Other
|Item Name=Cursed Hauberk
|Craft Name=Smithing
|Level=199
}}
{{Item Other
|Item Name=Cursed Hauberk -1
|Craft Name=Smithing
|Level=199
}}
{{Item Other
|Item Name=Adaman Kilij
|Craft Name=Smithing
|Level=199
}}
}}
| {{TemplateTest|Insert Item Other Template=
{{Item Other
|Item Name=Cursed Hauberk
|Craft Name=Smithing
|Level=199
}}
{{Item Other
|Item Name=Cursed Hauberk -1
|Craft Name=Smithing
|Level=199
}}
{{Item Other
|Item Name=Adaman Kilij
|Craft Name=Smithing
|Level=199
}}
}}
| {{TemplateTest|Insert Item Other Template=
{{Item Other
|Item Name=Cursed Hauberk
|Craft Name=Smithing
|Level=199
}}
{{Item Other
|Item Name=Cursed Hauberk -1
|Craft Name=Smithing
|Level=199
}}
{{Item Other
|Item Name=Adaman Kilij
|Craft Name=Smithing
|Level=199
}}
}}
}}
}}

Columnizing some actual tables

Used in the following Synthesis & Synergy Recipes
Item Main Craft Level
Cursed Hauberk Smithing 199
Cursed Hauberk -1 Smithing 199
Adaman Kilij Smithing 199
Used in the following Synthesis & Synergy Recipes
Item Main Craft Level
Cursed Hauberk Smithing 199
Cursed Hauberk -1 Smithing 199
Adaman Kilij Smithing 199

|- |

Used in the following Synthesis & Synergy Recipes
Item Main Craft Level
Cursed Hauberk Smithing 199
Cursed Hauberk -1 Smithing 199
Adaman Kilij Smithing 199

|

Used in the following Synthesis & Synergy Recipes
Item Main Craft Level
Cursed Hauberk Smithing 199
Cursed Hauberk -1 Smithing 199
Adaman Kilij Smithing 199