Template:FuncInfos5: Difference between revisions

From Civilization Modding Wiki
Jump to navigationJump to search
No edit summary
mNo edit summary
 
Line 44: Line 44:
==Usage==  
==Usage==  
<pre>{{FuncInfos5|<availability1>|<availability2>|<hasDetailledInfos>|<note>|<warning>}}</pre>
<pre>{{FuncInfos5|<availability1>|<availability2>|<hasDetailledInfos>|<note>|<warning>}}</pre>
:'''availability1:''' <code>yes|yesNeverUsed|maybe|no</code>
*'''availability1:''' <code>yes|yesNeverUsed|maybe|no</code>
:'''availability2:''' <code>yes|yesNeverUsed|maybe|no</code>
*'''availability2:''' <code>yes|yesNeverUsed|maybe|no</code>
:'''hasDetailledInfos:''' <code>yes|no</code>
*'''hasDetailledInfos:''' <code>yes|no</code>
:'''note:''' ''a comment about this function (may be blank).''
*'''note:''' ''a comment about this function (may be blank).''
:'''warning:''' <code>warning</code> ''when set, a warning icon will be displayed for the comment instead of the usual speech icon..''
*'''warning:''' <code>warning</code> ''when set, a warning icon will be displayed for the comment instead of the usual speech icon..''






[[Category:Civ5 API Templates]]</noinclude>
[[Category:Civ5 API Templates]]</noinclude>

Latest revision as of 14:12, 19 September 2012

Demonstration

Code Result
{|cellspacing="4" cellpadding="0" width="100%" 
|-
| [[File:Civ5-16.png|Base game]] || [[File:GK.png|Gods & Kings]] || ||
{{FuncInfos5|yes|maybe|yes|here is some help|warning}}
{{FuncInfos5|yes|maybe|yes|here is some help}}
{{FuncInfos5|yesNeverUsed|maybe|yes}}
{{FuncInfos5|no|yes}}
|}
Base game Gods & Kings
Check.png Question.png Star.png Exclamation.png
Check.png Question.png Star.png Speech.png
CheckButZero.png Question.png Star.png Speech.png
Cross.png Check.png Star.png Speech.png


Usage

{{FuncInfos5|<availability1>|<availability2>|<hasDetailledInfos>|<note>|<warning>}}
  • availability1: yes|yesNeverUsed|maybe|no
  • availability2: yes|yesNeverUsed|maybe|no
  • hasDetailledInfos: yes|no
  • note: a comment about this function (may be blank).
  • warning: warning when set, a warning icon will be displayed for the comment instead of the usual speech icon..