Jump to content

Useable Templates for contribution: Difference between revisions

From ModEnc²
No edit summary
No edit summary
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 70: Line 70:
Example: [[VehicleTypes|VehicleTypes]]
Example: [[VehicleTypes|VehicleTypes]]


===I===
{{I}}
{{I}}
<pre>{{I}}</pre>
===!===
{{!}}
<pre>{{!}}</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>

Revision as of 19:46, 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

Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge
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

Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge


{{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


BigHorizontalBar

THIS IS A HEADLINE
Tiberian Sun is the best game in the World

{{BigHorizontalBar|HEADLINE|TEXT}}

RedHorizontalBar

THIS IS A HEADLINE
Tiberian Sun is the best game in the World

{{RedHorizontalBar|HEADLINE|TEXT}}

WrongTitle

This page should correctly be named "[Useable Templates for contribution]"; it is wrong due to technical restrictions.

{{WrongTitle|[{{PAGENAME}}]}}

Example: VehicleTypes

I

{{I}}

!

{{!}}

=Arr

↑ ↓ ← →

{{Arr|x}}
replace x with
u - arrow up
d - arrow down
l - arrow left
r - arrow right