Template:Socialism/doc: Difference between revisions

From CivWiki
Jump to navigation Jump to search
Content added Content deleted
mNo edit summary
mNo edit summary
Line 3: Line 3:
Marks a page as part of the history of far left thought on Civ.
Marks a page as part of the history of far left thought on Civ.


To use this template in an article, copy the template below, then paste the template into an article. All parameters are optional. However using all is recommended to avoid visual clutter.
To use this template in an article, copy the template below, then paste the template into an article. Replace the "collapsed" to "uncollapsed" for the server the page has been on.


<source lang="html" style="overflow: hidden; background: unset;">
{{Socialism
| state = <!-- collapsed or uncollapsed -->
| civcraft2 = <!-- collapsed or uncollapsed -->
| civcraft3 = <!-- collapsed or uncollapsed -->
| civclassics = <!-- collapsed or uncollapsed -->
| civrealms = <!-- collapsed or uncollapsed -->
| civmc = <!-- collapsed or uncollapsed -->
| other = <!-- collapsed or uncollapsed -->
}}
</source>

"state" refers to the whole navbox, whereas the other named parameters determine the respective server.
It is recommended to only collapse the navbox of the server the page is on, when multiple apply or the page already has one or two more relevant navboxes it is recommended to collapse state and leave the respective server(s) uncollapsed.

For ease of use one may copy this and add "un" in front of the relevant server to collapse


<source lang="html" style="overflow: hidden; background: unset;">
<source lang="html" style="overflow: hidden; background: unset;">
{{Socialism=
{{Socialism
|state=uncollapsed
|state=uncollapsed
|civcraft2=collapsed
|civcraft2=collapsed
Line 32: Line 16:
|other=collapsed
|other=collapsed
}}
}}
</source>
</source>
</source>

"state" refers to the whole navbox, whereas the other named parameters determine the respective server.
It is recommended to only collapse the navbox of the server the page is on, when multiple apply or the page already has one or two more relevant navboxes it is recommended to collapse state and leave the respective server(s) uncollapsed.

For ease of use one may copy this and add "un" in front of the relevant server to collapse




Example of state being uncollapsed while 2 servers are collapsed:
Example of state being uncollapsed while 2 servers are collapsed:
<source lang="html" style="overflow: hidden; background: unset;">
<source lang="html" style="overflow: hidden; background: unset;">
{{Socialism=
{{Socialism
|state=collapsed
|state=collapsed
|civcraft2=collapsed
|civcraft2=collapsed

Revision as of 09:52, 2 April 2022

Usage

Marks a page as part of the history of far left thought on Civ.

To use this template in an article, copy the template below, then paste the template into an article. Replace the "collapsed" to "uncollapsed" for the server the page has been on.


{{Socialism
|state=uncollapsed
|civcraft2=collapsed
|civcraft3=collapsed
|civclassics=collapsed
|civrealms=collapsed
|civmc=collapsed
|other=collapsed
}}

</source>

"state" refers to the whole navbox, whereas the other named parameters determine the respective server. It is recommended to only collapse the navbox of the server the page is on, when multiple apply or the page already has one or two more relevant navboxes it is recommended to collapse state and leave the respective server(s) uncollapsed.

For ease of use one may copy this and add "un" in front of the relevant server to collapse


Example of state being uncollapsed while 2 servers are collapsed:

{{Socialism
|state=collapsed
|civcraft2=collapsed
|civcraft3=uncollapsed
|civclassics=collapsed
|civrealms=uncollapsed
|civmc=collapsed
|other=collapsed
}}