Useable Templates for contribution: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 55: | Line 55: | ||
Example: [[How_to_add_Repair_ring_System|How_to_add_Repair_ring_System]] | Example: [[How_to_add_Repair_ring_System|How_to_add_Repair_ring_System]] | ||
===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 [[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=== | ||
| Line 74: | Line 79: | ||
<pre>{{I}}</pre> | <pre>{{I}}</pre> | ||
===Arr=== | ===Arr=== | ||
Revision as of 20:09, 4 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
HoriontalBar
{{HorizontalBar|[[Image:Cc_documentinfo.png|24px]] This is a text}}Image can be replaced with any picture from 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 rightNeedsTesting
{{NeedsTesting}}
{{NeedsTesting|New Text is also possible}}Strike
text
{{Strike|text}}







