Difference between revisions of "Template:FactionReport/doc"

From CryGaia Wiki
Jump to navigation Jump to search
(Created page with " <templatedata> { "params": { "dragon": { "label": "Dragon", "description": "Dragon Faction Report", "example": "The butterflies are evil.", "type": "string",...")
 
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
__NOTOC__
 +
 +
This template is ''experimental'' and is in development.
 +
 +
There is also [[Template:Report]] which attempts to mimic the game's report UI.
 +
 +
Faction Report is a template for the REPORT section of a given page.
 +
 +
Usage is simple:
 +
 +
<pre>{{FactionReport
 +
|dragon=DRAGON TEXT
 +
|illuminati=ILLUMATI TEXT
 +
|templar=TEMPLAR TEXT
 +
}}
 +
</pre>
 +
 +
Faction logos will be automatically added as will the REPORT heading.
 +
 +
Any missing faction will have ''No data.'' shown instead.
 +
 +
 +
'''Example:'''
 +
{{FactionReport|dragon=Dragon Text|illuminati=This is
 +
a
 +
report from the Illumnati.
 +
}}
 +
  
 
<templatedata>
 
<templatedata>
Line 23: Line 51:
 
}
 
}
 
},
 
},
"description": "Faction Report is a template for the REPORT section of a given page."
+
"description": "Detailed Syntax"
 
}
 
}
 
</templatedata>
 
</templatedata>

Latest revision as of 18:01, 17 August 2017


This template is experimental and is in development.

There is also Template:Report which attempts to mimic the game's report UI.

Faction Report is a template for the REPORT section of a given page.

Usage is simple:

{{FactionReport
|dragon=DRAGON TEXT
|illuminati=ILLUMATI TEXT
|templar=TEMPLAR TEXT
}}

Faction logos will be automatically added as will the REPORT heading.

Any missing faction will have No data. shown instead.


Example:

Report

Faction Dragon 256.png Dragon

Dragon Text

Faction Illuminati 256.png Illuminati

This is a report from the Illumnati.

Faction Templar 256.png Templar

No data.



Detailed Syntax

Template parameters

ParameterDescriptionTypeStatus
Dragondragon

Dragon Faction Report

Example
The butterflies are evil.
Auto value
No Data.
Stringoptional
Illuminatiilluminati

Illuminati Faction Report

Example
What the fuck?
Auto value
No data.
Stringoptional
Templartemplar

Templar Faction Report

Example
The crusade continues!
Auto value
No data.
Stringoptional