Fatt Wiki:Getting Started: Difference between revisions

From fattwiki
No edit summary
Tag: 2017 source edit
No edit summary
Tag: 2017 source edit
Line 22: Line 22:


{| class="wikitable"
{| class="wikitable"
! Purpose !! Color
! Purpose !! Color !! CSS variable name !! Infobox theme name
|-
|-
| Default & ''[[Autumn in Hieron]]''  
| Default & ''[[Autumn in Hieron]]''  
| style="background-color:#fdcd5e" | #FDCE5E
| style="background-color:#fdcd5e" | #FDCE5E
| --color-aih
| aih
|-
|-
| ''[[COUNTER/Weight]]''
| ''[[COUNTER/Weight]]''
| style="background-color:#f47ac7" |#F47AC7
| style="background-color:#f47ac7" |#F47AC7
| --color-cw
| cw
|-
|-
|''[[Marielda (season)|Marielda]]''
|''[[Marielda (season)|Marielda]]''
| style="background-color:#FFB27B" |#FFB27B
| style="background-color:#FFB27B" |#FFB27B
| --color-marielda
| marielda
|-
|-
|''[[Winter in Hieron]]''
|''[[Winter in Hieron]]''
| style="background-color:#92D1F4" |#92D1F4
| style="background-color:#92D1F4" |#92D1F4
| --color-wih
| wih
|-
|-
|''[[Twilight Mirage]]''
|''[[Twilight Mirage]]''
| style="background-color:#59ADA1" |#59ADA1
| style="background-color:#59ADA1" |#59ADA1
| --color-tm
| tm
|-
|-
|''[[Spring in Hieron]]''
|''[[Spring in Hieron]]''
| style="background-color:#AFE27D" |#AFE27D
| style="background-color:#AFE27D" |#AFE27D
| --color-sih
| sih
|-
|-
|''[[PARTIZAN]]''
|''[[PARTIZAN]]''
| style="background-color:#f75451" |#F75451
| style="background-color:#f75451" |#F75451
| --color-pzn
| pzn
|-
|-
|''[[Sangfielle (season)|Sangfielle]]''
|''[[Sangfielle (season)|Sangfielle]]''
| style="background-color:#FAD47A" |#FAD47A
| style="background-color:#FAD47A" |#FAD47A
| --color-sf
| sf
|-
|-
|''[[Bluff City (season)|Bluff City]]''
|''[[Bluff City (season)|Bluff City]]''
| style="background-color:#2F7FAB" |#2F7FAB
| style="background-color:#2F7FAB" |#2F7FAB
| --color-bluff
| bluff
|-
|-
|''[[Live at the Table]]''
|''[[Live at the Table]]''
| style="background-color:#5AC45E" |#5AC45E
| style="background-color:#5AC45E" |#5AC45E
| --color-live
| live
|-
|-
|Background
|Background
| style="background-color:#fff1d1" |#FFF1D1
| style="background-color:#fff1d1" |#FFF1D1
| --color-background
|}
|}
=== Changing the color of Infoboxes ===
To change the color of an infobox, the TEMPLATE must contain <code>theme-source="color-theme"</code> in the infobox tag. See [[Template:Infobox_Season]] for an example.
Code example:
<pre><infobox theme-source="color-theme">...</infobox></pre>
When you use the infobox on a page, add the attribute: <code>color-theme=</code> and use the appropriate infobox theme name from the table above as the value.
See the infobox [[Marielda (season)]] for an example.
Code example:
<pre>{{Infobox Season
|color-theme=pzn
|title1=PARTIZAN
...
}}</pre>

Revision as of 19:11, 11 July 2022

Useful templates

Navbox

Infobox

Categories

Overlap categories

  • We can use DPL3 to generate "overlap" categories. So if you add Category:NPCs and Category:Marielda to a character's page, you don't need to also add Category:Marielda NPCs - that page is generated automatically when a page has both categories already!
    • Overlap categories do need to be set up manually so let me know if you want to add one. (If you feel good about setting one up yourself also go for it!)

Colors

Some season-specific colors I've been using for navboxes and tables:

Purpose Color CSS variable name Infobox theme name
Default & Autumn in Hieron #FDCE5E --color-aih aih
COUNTER/Weight #F47AC7 --color-cw cw
Marielda #FFB27B --color-marielda marielda
Winter in Hieron #92D1F4 --color-wih wih
Twilight Mirage #59ADA1 --color-tm tm
Spring in Hieron #AFE27D --color-sih sih
PARTIZAN #F75451 --color-pzn pzn
Sangfielle #FAD47A --color-sf sf
Bluff City #2F7FAB --color-bluff bluff
Live at the Table #5AC45E --color-live live
Background #FFF1D1 --color-background

Changing the color of Infoboxes

To change the color of an infobox, the TEMPLATE must contain theme-source="color-theme" in the infobox tag. See Template:Infobox_Season for an example. Code example:

<infobox theme-source="color-theme">...</infobox>

When you use the infobox on a page, add the attribute: color-theme= and use the appropriate infobox theme name from the table above as the value. See the infobox Marielda (season) for an example. Code example:

{{Infobox Season
|color-theme=pzn
|title1=PARTIZAN
...
}}