imported>Aycee Lovelace (Created page with "Here is the page for the ideal formating: For file links we recommend doing it in this manner: <pre> File:Marx.png </pre>") |
imported>TheGhostOfInky No edit summary |
||
Line 1: | Line 1: | ||
In this page ideal formating rules are outlined, whenever possible follow these: | |||
For file links we recommend doing it in this manner: | ==Links== | ||
For file links we recommend doing it in this manner, do not use leading or trailing whitespace on the link, and do not separate the <code>File:</code> namespace name from the filename: | |||
[[File:No-icon.png]] No: | |||
<pre> | <pre> | ||
[[File: | [[File: Marxism.png]] | ||
</pre> | |||
[[File:No-icon.png]] No: | |||
<pre> | |||
[[ File:Marxism.png]] | |||
</pre> | |||
[[File:No-icon.png]] No: | |||
<pre> | |||
[[File:Marxism.png ]] | |||
</pre> | |||
[[File:Yes-icon.png]] Yes: | |||
<pre> | |||
[[File:Marxism.png]] | |||
</pre> | |||
<hr/> | |||
Files are all capitalized automatically, so the first letter's case is insensitive, so while a leading lowercase letter works, it is higly discouraged: | |||
[[File:No-icon.png]] No: | |||
<pre> | |||
[[File:marxism.png]] | |||
</pre> | |||
[[File:Yes-icon.png]] Yes: | |||
<pre> | |||
[[File:Marxism.png]] | |||
</pre> | |||
<hr/> | |||
Similarly the <code>File:</code> namespace's first character is insensitive and automatically capitalized, but again, it is disadvised: | |||
[[File:No-icon.png]] No: | |||
<pre> | |||
[[file:Marxism.png]] | |||
</pre> | |||
[[File:Yes-icon.png]] Yes: | |||
<pre> | |||
[[File:Marxism.png]] | |||
</pre> | |||
<hr/> | |||
If your filename has spaces,replace them with underscores, even if such action is not necessary as Mediawiki automatically converts between the 2 in internal links, it leaves some ambiguity in the link. | |||
[[File:No-icon.png]] No: | |||
<pre> | |||
[[File:Authoritarian Conservatism.png]] | |||
</pre> | |||
[[File:Yes-icon.png]] Yes: | |||
<pre> | |||
[[File:Authoritarian_Conservatism.png]] | |||
</pre> | |||
<hr/> | |||
If you want the icon to link to a page, add a <code>|</code> and <code>link=</code> followed by the page name, all without additional whitespace: | |||
<pre> | |||
[[File:Altcentr.png|link=Main Page]] | |||
</pre> | |||
<hr/> | |||
It is adviced to leave whitespace after the icon link, as it makes the rendered page's formatting nicer, but this depends on context. | |||
[[File:Yes-icon.png]] Yes: | |||
<pre> | |||
[[File:Altcentr.png]] [[Dead Centrism]] | |||
</pre> | |||
[[File:Meh-icon.png]] Usually not ok: | |||
<pre> | |||
[[File:Altcentr.png]][[Dead Centrism]] | |||
</pre> | |||
==Internal Links== | |||
For internal links use the standard internal link syntax without leading or trailing whitespace: | |||
<pre> | |||
[[Diarchy]] | |||
</pre> | |||
<hr/> | |||
The first character of a page name is always capitalized and as result the first character is case insensitive, but for consistency purposes, not capitalizing the first character is heavily discouraged: | |||
[[File:No-icon.png]] No: | |||
<pre> | |||
[[diarchy]] | |||
</pre> | |||
[[File:Yes-icon.png]] Yes: | |||
<pre> | |||
[[Diarchy]] | |||
</pre> | |||
<hr/> | |||
If the page name has spaces, leave them as spaces, do not convert them to underscores: | |||
[[File:No-icon.png]] No: | |||
<pre> | |||
[[Democratic_Socialism]] | |||
</pre> | |||
[[File:Yes-icon.png]] Yes: | |||
<pre> | |||
[[Democratic Socialism]] | |||
</pre> | |||
<hr/> | |||
If you want the linked page to have an alias, add a <code>|</code> and the alias name afterwards, again without any additional whitespace: | |||
<pre> | |||
[[Dead Centrism|Our mascot]] | |||
</pre> | |||
<hr/> | |||
If the pages you're wanting to link from are from a namespace, add the namespace without whitespace in between them, like the file links: | |||
<pre> | |||
[[Community:TheGhostOfInky]] | |||
</pre> | |||
<hr/> | |||
Similar to the pages themselves, the namespaces' first character is auto-capitalized, and as a result is case insensitive, but it is discouraged to leave it in lowercase: | |||
[[File:No-icon.png]] No: | |||
<pre> | |||
[[community:TheGhostOfInky]] | |||
</pre> | |||
[[File:Yes-icon.png]] Yes: | |||
<pre> | |||
[[Community:TheGhostOfInky]] | |||
</pre> | |||
<hr/> | |||
Bear in mind that the <code>Category:</code> and <code>File:</code> namespaces automatically add a category and file link by default, so to link to the pages you need to add a leading <code>:</code>, as follows: | |||
<pre> | |||
[[:File:Marxism.png]] | |||
[[:Category:Centrists]] | |||
</pre> | |||
==External links== | |||
If the external link is to a page on the Polcompball anarchy wiki, use the provided [[Template:PCBA|'''<code><nowiki>{{PCBA}}</nowiki></code>''']] template, simiarly to internal links, don't add extra whitespace and use spaces instead of underscores: | |||
<pre> | |||
{{PCBA|PCBA Graveyard|Banned users}} | |||
</pre> | |||
<hr/> | |||
For links to other wikis, use their respective interwiki links, following the same rules formatting as internal and PCBA links,like for example: | |||
For chromeball: | |||
<pre> | |||
[[mh:chromeball:Google Chrome|Ram eater]] | |||
</pre> | |||
For wikipedia: | |||
<pre> | |||
[[w:Chicken nugget|Nuggies]] | |||
</pre> | |||
==Bullet lists== | |||
For unordered lists, add <code>*</code> followed by a trailing whitespace character, as follows: | |||
<pre> | |||
* Hello | |||
* World | |||
</pre> | |||
<hr/> | |||
Similarly for ordered lists, do the same only with a <code>#</code> character: | |||
<pre> | |||
# Item 1 | |||
# Item 2 | |||
</pre> | </pre> |
Revision as of 17:03, 14 June 2023
In this page ideal formating rules are outlined, whenever possible follow these:
Links
For file links we recommend doing it in this manner, do not use leading or trailing whitespace on the link, and do not separate the File:
namespace name from the filename:
File:No-icon.png No:
[[File: Marxism.png]]
File:No-icon.png No:
[[ File:Marxism.png]]
File:No-icon.png No:
[[File:Marxism.png ]]
File:Yes-icon.png Yes:
[[File:Marxism.png]]
Files are all capitalized automatically, so the first letter's case is insensitive, so while a leading lowercase letter works, it is higly discouraged:
File:No-icon.png No:
[[File:marxism.png]]
File:Yes-icon.png Yes:
[[File:Marxism.png]]
Similarly the File:
namespace's first character is insensitive and automatically capitalized, but again, it is disadvised:
File:No-icon.png No:
[[file:Marxism.png]]
File:Yes-icon.png Yes:
[[File:Marxism.png]]
If your filename has spaces,replace them with underscores, even if such action is not necessary as Mediawiki automatically converts between the 2 in internal links, it leaves some ambiguity in the link.
File:No-icon.png No:
[[File:Authoritarian Conservatism.png]]
File:Yes-icon.png Yes:
[[File:Authoritarian_Conservatism.png]]
If you want the icon to link to a page, add a |
and link=
followed by the page name, all without additional whitespace:
[[File:Altcentr.png|link=Main Page]]
It is adviced to leave whitespace after the icon link, as it makes the rendered page's formatting nicer, but this depends on context.
File:Yes-icon.png Yes:
[[File:Altcentr.png]] [[Dead Centrism]]
File:Meh-icon.png Usually not ok:
[[File:Altcentr.png]][[Dead Centrism]]
Internal Links
For internal links use the standard internal link syntax without leading or trailing whitespace:
[[Diarchy]]
The first character of a page name is always capitalized and as result the first character is case insensitive, but for consistency purposes, not capitalizing the first character is heavily discouraged:
File:No-icon.png No:
[[diarchy]]
File:Yes-icon.png Yes:
[[Diarchy]]
If the page name has spaces, leave them as spaces, do not convert them to underscores:
File:No-icon.png No:
[[Democratic_Socialism]]
File:Yes-icon.png Yes:
[[Democratic Socialism]]
If you want the linked page to have an alias, add a |
and the alias name afterwards, again without any additional whitespace:
[[Dead Centrism|Our mascot]]
If the pages you're wanting to link from are from a namespace, add the namespace without whitespace in between them, like the file links:
[[Community:TheGhostOfInky]]
Similar to the pages themselves, the namespaces' first character is auto-capitalized, and as a result is case insensitive, but it is discouraged to leave it in lowercase:
File:No-icon.png No:
[[community:TheGhostOfInky]]
File:Yes-icon.png Yes:
[[Community:TheGhostOfInky]]
Bear in mind that the Category:
and File:
namespaces automatically add a category and file link by default, so to link to the pages you need to add a leading :
, as follows:
[[:File:Marxism.png]] [[:Category:Centrists]]
External links
If the external link is to a page on the Polcompball anarchy wiki, use the provided {{PCBA}}
template, simiarly to internal links, don't add extra whitespace and use spaces instead of underscores:
{{PCBA|PCBA Graveyard|Banned users}}
For links to other wikis, use their respective interwiki links, following the same rules formatting as internal and PCBA links,like for example:
For chromeball:
[[mh:chromeball:Google Chrome|Ram eater]]
For wikipedia:
[[w:Chicken nugget|Nuggies]]
Bullet lists
For unordered lists, add *
followed by a trailing whitespace character, as follows:
* Hello * World
Similarly for ordered lists, do the same only with a #
character:
# Item 1 # Item 2