Useable Templates for contribution: Difference between revisions
Appearance
Created page with "To keep an unique look on every page and to keep the text structured and visualized, there are some templates available: <br> == Flag == {{Flag |files={{Categ|ini=rules}} |values={{Values|Boolean}} |default=0 |types={{Categ|BuildingTypes}} |td=yes |ra=yes |ts=yes |fs=yes |ra2=yes |yr=yes }} <br>Code:<pre> {{Flag |files={{Categ|ini=rules}} |values={{Values|Boolean}} |default=0 |types={{Categ|BuildingTypes}} |td=yes |ra=yes |ts=yes |fs=yes |ra2=yes |yr=yes }} </pre>" |
No edit summary Tag: Manual revert |
||
| (14 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
To keep an unique look on every page and to keep the text structured and visualized, there are some templates available: | {{I}} To keep an unique look on every page and to keep the text structured and visualized, there are some templates available: | ||
<br> | <br> | ||
== Flag == | == Flag == | ||
| Line 29: | Line 29: | ||
}} | }} | ||
</pre> | </pre> | ||
<br> | |||
This should be used on every Flag on top of the article. | |||
Set games which aren't using that flag to no. | |||
Example: [[IsJuggernaut|IsJuggernaut]] | |||
<br> | |||
=== Guideheader === | |||
{{Guideheader | |||
|td=yes | |||
|ra=yes | |||
|ts=yes | |||
|fs=yes | |||
|ra2=yes | |||
|yr=yes | |||
}} | |||
<br> | |||
<pre>{{Guideheader | |||
|td=yes | |||
|ra=yes | |||
|ts=yes | |||
|fs=yes | |||
|ra2=yes | |||
|yr=yes | |||
}}</pre> | |||
For any kinds of tutorials to visualize for which game the guide/tutorial is for. | |||
Example: [[How_to_add_Repair_ring_System|How_to_add_Repair_ring_System]] | |||
===Sectionheader=== | |||
{{Sectionheader | |||
|files={{Categ|ini=rules}} | |||
|td=yes | |||
|ra=yes | |||
|ts=yes | |||
|fs=yes | |||
|ra2=yes | |||
|yr=yes | |||
}} | |||
<pre> | |||
{{Sectionheader | |||
|files={{Categ|ini=rules}} | |||
|td=yes | |||
|ra=yes | |||
|ts=yes | |||
|fs=yes | |||
|ra2=yes | |||
|yr=yes | |||
}} | |||
</pre> | |||
===HoriontalBar=== | |||
{{HorizontalBar|[[Image:Cc_documentinfo.png|24px]] This is a text}} | |||
<pre>{{HorizontalBar|[[Image:Cc_documentinfo.png|24px]] This is a text}}</pre> | |||
Image can be replaced with any picture from [[Special:ListFiles]].Pictures with CC at the beginning are recommended for this Template. | |||
24px says, the picture will be shown with a width of 24 pixels. | |||
===BigHorizontalBar=== | |||
{{BigHorizontalBar|THIS IS A HEADLINE|Tiberian Sun is the best game in the World}} | |||
<pre>{{BigHorizontalBar|HEADLINE|TEXT}}</pre> | |||
===RedHorizontalBar=== | |||
{{RedHorizontalBar|THIS IS A HEADLINE|Tiberian Sun is the best game in the World}} | |||
<pre>{{RedHorizontalBar|HEADLINE|TEXT}}</pre> | |||
===WrongTitle=== | |||
{{WrongTitle|[{{PAGENAME}}]}} | |||
<pre>{{WrongTitle|[{{PAGENAME}}]}}</pre> | |||
Example: [[VehicleTypes|VehicleTypes]] | |||
===I=== | |||
{{I}} | |||
<pre>{{I}}</pre> | |||
===Arr=== | |||
{{Arr|u}} {{Arr|d}} {{Arr|l}} {{Arr|r}} | |||
<pre>{{Arr|x}} | |||
replace x with | |||
u - arrow up | |||
d - arrow down | |||
l - arrow left | |||
r - arrow right</pre> | |||
===NeedsTesting=== | |||
{{NeedsTesting}} | |||
<pre>{{NeedsTesting}} | |||
{{NeedsTesting|New Text is also possible}}</pre> | |||
===Strike=== | |||
{{Strike|text}} | |||
<pre>{{Strike|text}}</pre> | |||
===Content style consistency=== | |||
* When listing multiple items, use proper list formatting: * (asterisk) in front of each list item. | |||
* Sentences should end with a full-stop. | |||
* When quoting text, use single quotes instead of double quotes - e.g. `this phrase' instead of "this phrase". | |||
* When listing two alternates A or B, the following conventions apply: | |||
** if A and B are single words, then 'A/B' (no spaces) - e.g. this/that. | |||
** if A and/or B consist of multiple words, then 'A / B' (spaces before and after slash) - e.g. Global Defense Initiative / Brotherhood of Nod. | |||
** If A and/or B are URL links, use the same 'A / B' convention above to make it more obvious that one or more links are present. | |||
Latest revision as of 15:27, 13 April 2025
To keep an unique look on every page and to keep the text structured and visualized, there are some templates available:
Flag
|
|
|
|
|
|
| Flag: | Useable Templates for contribution |
| File(s): | rules(md).ini |
| Values: | Boolean values: yes or no, true or false, 1 or 0 |
| Default: | 0 |
| Applicable to: | BuildingTypes |
Code:
{{Flag
|files={{Categ|ini=rules}}
|values={{Values|Boolean}}
|default=0
|types={{Categ|BuildingTypes}}
|td=yes
|ra=yes
|ts=yes
|fs=yes
|ra2=yes
|yr=yes
}}
This should be used on every Flag on top of the article.
Set games which aren't using that flag to no.
Example: IsJuggernaut
Guideheader
|
|
|
|
|
|
{{Guideheader
|td=yes
|ra=yes
|ts=yes
|fs=yes
|ra2=yes
|yr=yes
}}For any kinds of tutorials to visualize for which game the guide/tutorial is for. Example: How_to_add_Repair_ring_System
Sectionheader
|
|
|
|
|
|
| Section: | [Useable Templates for contribution] |
| File(s): | rules(md).ini |
{{Sectionheader
|files={{Categ|ini=rules}}
|td=yes
|ra=yes
|ts=yes
|fs=yes
|ra2=yes
|yr=yes
}}
HoriontalBar
{{HorizontalBar|[[Image:Cc_documentinfo.png|24px]] This is a text}}
Image can be replaced with any picture from Special:ListFiles.Pictures with CC at the beginning are recommended for this Template. 24px says, the picture will be shown with a width of 24 pixels.
BigHorizontalBar
{{BigHorizontalBar|HEADLINE|TEXT}}
RedHorizontalBar
{{RedHorizontalBar|HEADLINE|TEXT}}
WrongTitle
{{WrongTitle|[{{PAGENAME}}]}}
Example: VehicleTypes
I
{{I}}
Arr
↑ ↓ ← →
{{Arr|x}}
replace x with
u - arrow up
d - arrow down
l - arrow left
r - arrow right
NeedsTesting
{{NeedsTesting}}
{{NeedsTesting|New Text is also possible}}
Strike
text
{{Strike|text}}
Content style consistency
- When listing multiple items, use proper list formatting: * (asterisk) in front of each list item.
- Sentences should end with a full-stop.
- When quoting text, use single quotes instead of double quotes - e.g. `this phrase' instead of "this phrase".
- When listing two alternates A or B, the following conventions apply:
- if A and B are single words, then 'A/B' (no spaces) - e.g. this/that.
- if A and/or B consist of multiple words, then 'A / B' (spaces before and after slash) - e.g. Global Defense Initiative / Brotherhood of Nod.
- If A and/or B are URL links, use the same 'A / B' convention above to make it more obvious that one or more links are present.







