User:Athena von Krab/sandbox: Difference between revisions

From Polcompball Wiki
Jump to navigationJump to search
Content added Content deleted
No edit summary
No edit summary
Line 620: Line 620:
*[[File:Zog I.png]] Zog I Thought ([[File:Abmon.png]] [[Absolute Monarchism]])
*[[File:Zog I.png]] Zog I Thought ([[File:Abmon.png]] [[Absolute Monarchism]])
}}
}}

This should serve as a detailed guide on how to properly edit wiki pages and contribute to the Polcompball Wiki, detailing every step so the admins don't have to fix broken formatting and code ever again.

==The Basics of MediaWiki Editing==

Whenever you want to edit a page, you can either press "Edit" (Visual Editing) or "Edit source" (Source Editing). They differ immensely and therefore you have to choose which one to edit with. The general rules are this:

===Visual Editing===
Do not use visual editing.

===Source Editing===
Source editing looks complicated at first but for general use, it is pretty simple:
* To input an image, use <code>'''<nowiki>[[File:(filename).(file format, should be png, gif or jpg)]]</nowiki>'''</code>. So for example, to put [[File:Ancom.png]] into a page you'd write <code>'''<nowiki>[[File:Ancom.png]]</nowiki>'''</code>.
** Note that we do not have a specific file name system, so often you'll have to look out for icons on other pages to use or upload your own, as the wiki will tell you if a file is a duplicate. Alternatively, look on the [[List of Variants]], [[List of Polandball icons]] or [[List of People Icons]].
* To link to other PCB pages, use <code>'''<nowiki>[[page name]]</nowiki>'''</code>. So if I wanted to link to [[File:Internation.png]] [[Internationalism]], you'd type <code>'''<nowiki>[[Internationalism]]</nowiki>'''</code>.
**To link to a page with a specific word instead of just its name such as [[Luddism|this]], simply write <code>'''<nowiki>[[(pagename)|(whatever you want)]]</nowiki>'''</code>, e.g. <code>'''<nowiki>[[Luddism|this]]</nowiki>'''</code>
**To link to categories you can't use this. Putting in <code>'''<nowiki>[[Category:(category name)]]</nowiki>'''</code> in the page just makes it a part of that category. Instead, use <code>'''<nowiki>{{Info|category name}}</nowiki>'''</code>.
*To link to a page outside the wiki, simply put one square bracket on each side of the link like this: <code>'''<nowiki>[(link)]</nowiki>'''</code>
**To link to a page with a specific word instead of just its name such as [https://www.youtube.com/watch?v=WHkewGc9n58 this], simply write <code>'''<nowiki>[(link) (whatever you want)]]</nowiki>'''</code>, e.g. <code>'''<nowiki>[https://www.youtube.com/watch?v=1AV6Ijawb7Y Wow check out this funny video!]</nowiki>'''</code>
**We have special templates for linking to other wikis. To link to Wikipedia, write <code>'''<nowiki>[[w:page name]]</nowiki>'''</code>, to link to the Philosophyball Wiki write <code>'''<nowiki>{{PHB|page name}}</nowiki>'''</code> and to link to the Polandball Wiki <code>'''<nowiki>{{PBW|page name}}</nowiki>'''</code>
*To put a subheading, simply add two equals signs at both ends of the line like <code>'''<nowiki>==this==</nowiki>'''</code>. To lessen the importance of the subheading just add more equals signs on both sides <code>'''<nowiki>===like===</nowiki>'''</code> <code>'''<nowiki>====this====</nowiki>'''</code>.
*To use a template on a page use <code>'''<nowiki>{{template name}}</nowiki>'''</code>. Many templates use variables to dictate content through <code>'''<nowiki>{{template name|variable}}</nowiki>'''</code>.
**Every template is different. [[List of Templates]] has a list of all the templates however as of writing this parts of the page are outdated. If you don't know how to use a template, don't be afraid to go to [https://discord.gg/qaTJz2ZVtH our Discord Server] for help.
*To make a new line in normal writing, use <code>'''<nowiki><br></nowiki>'''</code>. Still however use the "Enter" key to make the page easier to edit.

Hopefully that should get you started. The best way to learn MediaWiki is to look at other pages to see what they're doing, and applying it elsewhere.<br>
Now let's get to the actual content of a page.

==Infoboxes==
The infobox are arguably the most important part of any Polcompball page. They show the basics and general personality of an ideology. <br>
Infoboxes are a template and are always right after Messageboxes on a standard page. They use the <code>'''<nowiki>{{Ideology}}</nowiki>'''</code> template and have an absolute ton of variables, as shown below with what to put in each one.
<pre>{{Ideology
|title = The title of an ideology, as well as its icon before it, or alternatively icons either side.
|image = Just the file name and the file type of an image, no need for the brackets or "File:" part. Cannot be an icon.
|caption = A short joke, or something that the ideology would say.
|gallery = If the ball has multiple designs, then use this. Separate each image with a new line and a title, in the format "filename.png|Title"
|aliases = The different names for an ideology, Separated with a line break .
|alignments = Contains the before-mentioned category links ({{Info|category name}}). Separated by line breaks.
|influences = List the ideologies that have influenced the ideology you are writing for in any way. You can use brackets if they have only influenced variants of the ideology. Separated by line breaks.
|influenced = List the ideologies that have been influenced by the ideology you are writing for in any way. You can use brackets if it has only influenced variants of another ideology. Separated by line breaks.
|theorists = The page where you put all the people who adhere/adhered to this ideology or were associated with it. Separated by region with collapsed sections for readability. Separated by line breaks.
|examples = Examples of where this ideology was implemented. IRL and only sometimes fictional. Separated by line breaks.
|sub = Sub-Ideologies of an ideology, with it's relevant parts and influences collapsible. Separated by line breaks.
|school = Schools of Thought of an ideology, with it's relevant parts and influences collapsible. Separated by line breaks.
|regional = Regional Tendencies of an ideology, with it's relevant parts and influences collapsible. Separated by line breaks.
|personal = Personal Tendencies of an ideology, with it's relevant parts and influences collapsible. The difference between all fo these can be found in the [[List of Variants]]. Separated by line breaks.
|likes = What the ideology likes as a character. Can be people, events, objects, anything. Separated by line breaks.
|dislikes = What the ideology dislikes as a character. Can be people, events, objects, anything. Separated by line breaks.
|song = Links to Youtube songs that are associated with the ideology. Can be jokes. Separated by line breaks.
|themecolor = Hexadecimal code for how the boxes holding subtitles and the title look. For fancier designs, look at other pages. White/Blank when left blank.
|textcolor = Hexadecimal code for how the title and subheading text looks. For fancier designs, look at other pages. White when left blank.
|border = Border width. Leave blank on almost every page.
|bordercolor = Self-described. Leave blank on almost every page. Uses hexadecimal.
}}</pre>