This page serves as a list of templates most commonly used in this wiki
Infoboxes
Infoboxes are commonly found in most articles in the wiki. The regular infobox is used for most ideologies, while the infobox variant is used for subpages of existing articles. The user infobox isn't used for articles but only for user pages. To insert an infobox, insert it on the top of the page as an infobox , select the one you want and fill in the fields.
Ideology Template
This is the main template in the Polcompball wiki, it is meant to be added to every page that is about an ideology regardless of the state of completion of said page. To add this page in the visual editor click the insert button, select infobox and choose the Ideology infobox. one the infobox is added it will prompt you to fill the fields and once you're done, press Apply, to go back to the infobox editor click the infobox and select edit to return to it. If you prefer to use the source editor like an absolute chad add the following lines to the top of your page:
{{Ideology | themecolor = | textcolor = | title1 = | image1 = | caption1 = | aliases = | family = | gangs = | likes = | dislikes = | definition = | origin = }}
User Template
This template is designed to be added to be added to users' profile pages and to pages about users, implementing it works in the same way as the template above but instead of selecting the Ideology infobox, select the user infobox. For source editors paste the following:
{{User | themecolor = | textcolor = | title = | image = | caption = | name = | gender = | birthday = | ideology = | nationality = | sexuality = | language = | likes = | dislikes = | interests = | reddit = | discord = | twitter = | other = }}
Extra information templates
These templates are used for extra information. The flag color template is used for flag colors of the ball. To insert extra information templates, upload them as a template and fill in the fields.
Flag-color Template
The Flag-color template serves to indicate the canon color tones for each ideology's design to aid in the creation of more visually accurate art. To add this template in the visual editor click the insert button, select template, type "Flag color" without quotes and click add template. Click each of the fields to add information to them, to convert the color values from HEX to RGB and vice versa you can use one of many online tools like Absolute Zero or Convert a Color. For source editors insert the following code and fill as many fields as necessary:
{{Flag-color |color1-name = |color1-hex = |color1-rgb = |color2-name = |color2-hex = |color2-rgb = |color3-name = |color3-hex = |color3-rgb = |color4-name = |color4-hex = |color4-rgb = |color5-name = |color5-hex = |color5-rgb = |color6-name = |color6-hex = |color6-rgb = |color7-name = |color7-hex = |color7-rgb = |color8-name = |color8-hex = |color8-rgb = |color9-name = |color9-hex = |color9-rgb = |color10-name = |color10-hex = |color10-rgb = }}
Hatnote Template
Hatnote is a template for displaying some pertinant small piece of information above the main body of the page, it can only be utilized in the source editor and to deploy it add at the top of the page the following code with text replaced by whatever you want to put in the hatnote:
{{hatnote|text}}
These navboxes are used on most articles in the wiki and are found on the bottom of each article. These are used for navigation without having to use the search bar. To insert navboxes, insert it as a template and search and select the one you want.
If you're creating/editing a navbox, the format should be like this. Some fields aren't required:
{{Navbox main |pagename = {{subst:PAGENAME}} |icon = |name = |titlecolor = |titlefontcolor = |groupcolor = |groupfontcolor = |groupwidth = |listcolor = |listfontcolor = |group1 = |list1 = |group2 = |list2 = |group3 = |list3 = |group4 = |list4 = |group5 = |list5 = |group6 = |list6 = |group7 = |list7 = |group8 = |list8 = |group9 = |list9 = |group10 = |list10 = }}
Colorlinks
Colorlinks are used only in navboxes and add color to the links. To insert them, edit the navbox and insert each one of the colorlinks listed below.