Template:Banner/data: Difference between revisions

From Red Faction Wiki
mNo edit summary
mNo edit summary
Line 11: Line 11:
-->
-->
| DashInstallTranslations = {{#switch: {{{data|}}}
| DashInstallTranslations = {{#switch: {{{data|}}}
   | description  = [[Dash Faction Installation Guide|English]] {{!}} [[Dash Faction Installation Guide/es|Spanish / Español]] {{!}} [[Dash Faction Installation Guide/fr|French / Français]] {{!}} [[Dash Faction Installation Guide/ru|Russian / Русский]] {{!}} [[Dash Faction Installation Guide/pl|Polish / Polskie]] {{!}} [[Dash Faction Installation Guide/ro|Romanian / Romana]]
   | description  = [[Dash Faction Installation Guide|English]]<br>[[Dash Faction Installation Guide/es|Spanish/Español]]<br>[[Dash Faction Installation Guide/fr|French/Français]]<br>[[Dash Faction Installation Guide/ru|Russian/Русский]]<br>[[Dash Faction Installation Guide/pl|Polish/Polskie]]<br>[[Dash Faction Installation Guide/ro|Romanian/Romana]]
   | icon        = Icon_Globe.png
   | icon        = Icon_Globe.png
   }}
   }}

Revision as of 22:15, 4 March 2024

For the border_color parameter, a name from the HTML Color Names list is able to be used.

A list of presets that are used by Template:Banner. Click on the page's edit button to view, add and edit banner presets.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Titletitle

A small amount of text to show the point of the banner.

Example
This page is under construction.
Stringrequired
Descriptiondescription

Extra information that the reader should know. Can be an expanded version of the title.

Example
The information on this page is not considered complete.
Stringsuggested
Iconicon

An icon to reflect the banner's purpose. Can be from a Red Faction series game or an actual icon.

Default
Icon_Info.png
Example
Icon_RFG.png
Filerequired
Border Colorborder_color

The color of the banner's border. It's advised to use a color either similar to or exactly the same as the icon being used to prevent an inconsistent style/color scheme. Only RGB values and HTML color names work as values, not hex codes.

Default
rgb(107,107,107)
Example
gold
Stringsuggested
Widthwidth

The width of the banner. This should only be used in cases where the banner's content would look better with a different width.

Default
65%
Example
30%
Numberoptional