Fatt Wiki:Getting Started: Difference between revisions

From fattwiki
No edit summary
Tag: 2017 source edit
Tag: 2017 source edit
Line 13: Line 13:
== Categories ==
== Categories ==
* [[Special:Categories|All current categories]]
* [[Special:Categories|All current categories]]
* We need help getting pages into categories! If you see a page that doesn't have categories, try adding some! If it's missing the category for its respective season, please add it!
===Generating categories===
* If you see a useful category with a red link, that means that there are pages that use this category, but the category page hasn't been generated. You can generate the category by following the link, putting one space into the editor and saving it to create the page.
* If you see a category that doesn't seem useful and has more than 2 members, red link or otherwise, mention it in the Discord - if other people agree we can remove it using Mass Regex Replace.
** To see the members of a ungenerated category, go to the page and click "What links here" in the Tools menu in the sidebar.


=== Overlap categories ===
=== Overlap categories ===

Revision as of 15:52, 15 July 2022

Useful templates

Navbox

Infobox

Categories

  • All current categories
  • We need help getting pages into categories! If you see a page that doesn't have categories, try adding some! If it's missing the category for its respective season, please add it!

Generating categories

  • If you see a useful category with a red link, that means that there are pages that use this category, but the category page hasn't been generated. You can generate the category by following the link, putting one space into the editor and saving it to create the page.
  • If you see a category that doesn't seem useful and has more than 2 members, red link or otherwise, mention it in the Discord - if other people agree we can remove it using Mass Regex Replace.
    • To see the members of a ungenerated category, go to the page and click "What links here" in the Tools menu in the sidebar.

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 Theme name
Default #FDCE5E --color-main main
Autumn in Hieron #E49108 --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 #7C7BCF --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
...
}}

Changing the color of Navboxes

Add the titleclass attribute to the template and use the class .bgcolor-SEASON Replace SEASON with the appropriate abbreviation from the theme name color column in the table above.

Example:

{{Autumn in Hieron episodes
| titleclass = bgcolor-aih
...
}}