Once I get that upgrade to 36-hour days, I will tackle that. – Mychaeel

Difference between revisions of "Template:Ch"

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
m
m (Protected "Template:Ch": high-risk template ([edit=sysop] (indefinite) [move=sysop] (indefinite)))
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<onlyinclude>{{#if: {{{10|}}}|[[{{#if:{{{e}}}|{{{e}}}:}}{{{10}}}{{#if:{{{g}}}|_({{{g}}})}}|{{{10}}}]] >>&nbsp;}}{{#if: {{{9|}}}|[[{{#if:{{{e}}}|{{{e}}}:}}{{{9}}}{{#if:{{{g}}}|_({{{g}}})}}|{{{9}}}]] >>&nbsp;}}{{#if: {{{8|}}}|[[{{#if:{{{e}}}|{{{e}}}:}}{{{8}}}{{#if:{{{g}}}|_({{{g}}})}}|{{{8}}}]] >>&nbsp;}}{{#if: {{{7|}}}|[[{{#if:{{{e}}}|{{{e}}}:}}{{{7}}}{{#if:{{{g}}}|_({{{g}}})}}|{{{7}}}]] >>&nbsp;}}{{#if: {{{6|}}}|[[{{#if:{{{e}}}|{{{e}}}:}}{{{6}}}{{#if:{{{g}}}|_({{{g}}})}}|{{{6}}}]] >>&nbsp;}}{{#if: {{{5|}}}|[[{{#if:{{{e}}}|{{{e}}}:}}{{{5}}}{{#if:{{{g}}}|_({{{g}}})}}|{{{5}}}]] >>&nbsp;}}{{#if: {{{4|}}}|[[{{#if:{{{e}}}|{{{e}}}:}}{{{4}}}{{#if:{{{g}}}|_({{{g}}})}}|{{{4}}}]] >>&nbsp;}}{{#if: {{{3|}}}|[[{{#if:{{{e}}}|{{{e}}}:}}{{{3}}}{{#if:{{{g}}}|_({{{g}}})}}|{{{3}}}]] >>&nbsp;}}{{#if: {{{2|}}}|[[{{#if:{{{e}}}|{{{e}}}:}}{{{2}}}{{#if:{{{g}}}|_({{{g}}})}}|{{{2}}}]] >>&nbsp;}}{{#if: {{{1|}}}|[[{{#if:{{{e}}}|{{{e}}}:}}{{{1}}}{{#if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}}{{{2}}}{{{s|{{#if:{{{g}}}|_({{{g}}})}}}}}|{{{2}}}]] >>&nbsp;}}{{#if: {{{1|}}}|[[{{{p|{{#if:{{{e}}}|{{{e}}}:}}}}}{{{1}}}{{{s|{{#if:{{{g}}}|_({{{g}}})}}}}}|{{{1}}}]] >>&nbsp;}}{{#if: {{{c|}}}|[[{{{p|{{#if:{{{e}}}|{{{e}}}:}}}}}{{{c}}}{{{s|{{#if:{{{g}}}|_({{{g}}})}}}}}|{{{c}}}]]}}</onlyinclude>
 
{{documentation}}
 
{{documentation}}

Latest revision as of 06:48, 17 March 2010

[edit] Documentation

Helper template for class/interface infoboxes and any other templates that want to display a parent class hierarchy.

Usage

{{ch|Info|Actor|Object|e=UE1|g=UT|c=Mutator}}

Object >> Actor >> Info >> Mutator

All class parameters are optional, engine and game are required, but may be empty. A ">>" separator will be displayed for each parent class. They are followed by a non-breaking space, but preceded by a regular space. This means, line wraps will happen between a parent class name and the following ">>".

Alternatively the following syntax can be used:

{{ch|Info|Actor|Object|p=UE1:|s=_(UT)|c=Mutator}}

Object >> Actor >> Info >> Mutator

This version specifies plain link prefix and suffix strings instead of engine and game names, respectively.

Both versions allow up to ten parent classes. If more parents are specified, they are silently dropped.

See also