Template:FuncInfos5: Difference between revisions

From Civilization Modding Wiki
Jump to navigationJump to search
No edit summary
mNo edit summary
 
(6 intermediate revisions by the same user not shown)
Line 21: Line 21:
!Result
!Result
|-
|-
|<pre style="border:none; margin:0px; padding:0px;">
|<pre style="border:none; margin:0px; padding:0px;">{|cellspacing="4" cellpadding="0" width="100%"
|-
| [[File:Civ5-16.png|Base game]] || [[File:GK.png|Gods &amp; Kings]] || ||
{{FuncInfos5|yes|maybe|yes|here is some help|warning}}
{{FuncInfos5|yes|maybe|yes|here is some help|warning}}
{{FuncInfos5|yes|maybe|yes|here is some help}}
{{FuncInfos5|yes|maybe|yes|here is some help}}
{{FuncInfos5|yesNeverUsed|maybe|yes}}
{{FuncInfos5|yesNeverUsed|maybe|yes}}
{{FuncInfos5|no|yes}}
{{FuncInfos5|no|yes}}
|}
</pre>
</pre>
|
|
{|cellspacing="4" cellpadding="0" width="100%"  
{|cellspacing="4" cellpadding="0" width="100%"  
|-
|-
| [[File:civ5-16.png|Base game]] || [[File:gk-16.png|Gods &amp; Kings]] || ||
| [[File:Civ5-16.png|Base game]] || [[File:GK.png|Gods &amp; Kings]] || ||
{{FuncInfos5|yes|maybe|yes|here is some help|warning}}<br/>
{{FuncInfos5|yes|maybe|yes|here is some help|warning}}
{{FuncInfos5|yes|maybe|yes|here is some help}}<br/>
{{FuncInfos5|yes|maybe|yes|here is some help}}
{{FuncInfos5|yesNeverUsed|maybe|yes}}<br/>
{{FuncInfos5|yesNeverUsed|maybe|yes}}
{{FuncInfos5|no|yes}}<br/>
{{FuncInfos5|no|yes}}
|}
|}
|}
|}
Line 41: 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..