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",...")
 
Line 1: Line 1:
 +
This template is ''experimental'' and is in development.
 +
 +
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 22: Line 46:
 
"autovalue": "No data."
 
"autovalue": "No data."
 
}
 
}
},
+
}
"description": "Faction Report is a template for the REPORT section of a given page."
 
 
}
 
}
 
</templatedata>
 
</templatedata>

Revision as of 17:57, 17 August 2017

This template is experimental and is in development.

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.



No description.

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