Template:Func5: Difference between revisions
From Civilization Modding Wiki
Jump to navigationJump to search
Created page with "<includeonly>{{#if: {{{2|}}} |[[{{{1}}}.{{{2}}} (Civ5 API)|{{{2}}}]] |[[{{{1}}} (Civ5 API)|{{{1}}}]] }}</includeonly><noinclude> ==Demonstration== {| |- !Code !Result |- |<pre st..." |
mNo edit summary |
||
| Line 22: | Line 22: | ||
{{Func5|<function name>}} | {{Func5|<function name>}} | ||
</pre> | </pre> | ||
*'''type name:''' ''the name of the type declaring this function (optional).'' | |||
*'''function name:''' ''the name of the function to be linked.'' | |||
[[Category:Civ5 API Templates]]</noinclude> | [[Category:Civ5 API Templates]]</noinclude> | ||
Latest revision as of 14:13, 19 September 2012
Demonstration
| Code | Result |
|---|---|
{{Func5|HexToWorld}}
{{Func5|Plot|GetX}}
|
HexToWorld GetX |
Usage
{{Func5|<type name>|<function name>}}
{{Func5|<function name>}}
- type name: the name of the type declaring this function (optional).
- function name: the name of the function to be linked.