|
|
(5 intermediate revisions by 3 users not shown) |
Line 1: |
Line 1: |
− | {{#if: {{{1|}}} | + | {{#invoke:MediumLink|main|medium=Animal Crossing: New Horizons – Happy Home Paradise|short=Happy Home Paradise|shorter=ACNH-HHP|shortest=HHP|{{{1|}}}|{{{2|}}}|{{{3|}}}}}<noinclude>{{Pp|full}}{{Documentation}}[[Category:Link templates]]</noinclude> |
− | | {{#switch: {{{1|}}}
| |
− | | nolink = {{#if: {{{2|}}}
| |
− | | {{#switch: {{{2|}}}
| |
− | | short = {{#if: {{{3|}}}
| |
− | | {{#ifeq: {{{3|}}}
| |
− | | sm
| |
− | | <small>'Happy Home Paradise'</small>
| |
− | | 3<sup>rd</sup> parameter invalid
| |
− | }}
| |
− | | 'Happy Home Paradise'
| |
− | }}
| |
− | | shorter = {{#if: {{{3|}}}
| |
− | | {{#ifeq: {{{3|}}}
| |
− | | sm
| |
− | | <small>ACNHHHP</small>
| |
− | | 3<sup>rd</sup> parameter invalid
| |
− | }}
| |
− | | ACNHHHP
| |
− | }}
| |
− | | shortest = {{#if: {{{3|}}}
| |
− | | {{#ifeq: {{{3|}}}
| |
− | | sm
| |
− | | <small>HHP</small>
| |
− | | 3<sup>rd</sup> parameter invalid
| |
− | }}
| |
− | | HHP
| |
− | }}
| |
− | | sm = {{#if: {{{3|}}}
| |
− | | {{#switch: {{{3|}}}
| |
− | | short = <small>'Happy Home Paradise'</small>
| |
− | | shorter = <small>ACNHHHP</small>
| |
− | | shortest = <small>HHP</small>
| |
− | | 3<sup>rd</sup> parameter invalid
| |
− | }}
| |
− | | <small>''Animal Crossing: New Horizons - Happy Home Paradise''</small>
| |
− | }}
| |
− | | 2<sup>nd</sup> parameter invalid
| |
− | }}
| |
− | | ''Animal Crossing: New Horizons - Happy Home Paradise''
| |
− | }}
| |
− | | short = {{#if: {{{2|}}}
| |
− | | {{#switch: {{{2|}}}
| |
− | | sm = {{#if: {{{3|}}}
| |
− | | {{#ifeq: {{{3|}}}
| |
− | | nolink
| |
− | | <small>'Happy Home Paradise'</small>
| |
− | | 3<sup>rd</sup> parameter invalid
| |
− | }}
| |
− | | <small>''[[Animal Crossing: New Horizons - Happy Home Paradise|New Horizons - Happy Home Paradise]]''</small>
| |
− | }}
| |
− | | nolink = {{#if: {{{3|}}}
| |
− | | {{#ifeq: {{{3|}}}
| |
− | | sm
| |
− | | <small>'Happy Home Paradise'</small>
| |
− | | 3<sup>rd</sup> parameter invalid
| |
− | }}
| |
− | | 'Happy Home Paradise'
| |
− | }}
| |
− | | 2<sup>nd</sup> parameter invalid
| |
− | }}
| |
− | | ''[[Animal Crossing: New Horizons - Happy Home Paradise|New Horizons - Happy Home Paradise]]''
| |
− | }}
| |
− | | shorter = {{#if: {{{2|}}}
| |
− | | {{#switch: {{{2|}}}
| |
− | | sm = {{#if: {{{3|}}}
| |
− | | {{#ifeq: {{{3|}}}
| |
− | | nolink
| |
− | | <small>ACNHHHP</small>
| |
− | | 3<sup>rd</sup> parameter invalid
| |
− | }}
| |
− | | <small>[[Animal Crossing: New Horizons - Happy Home Paradise|ACNHHHP]]</small>
| |
− | }}
| |
− | | nolink = {{#if: {{{3|}}}
| |
− | | {{#ifeq: {{{3|}}}
| |
− | | sm
| |
− | | <small>ACNHHHP</small>
| |
− | | 3<sup>rd</sup> parameter invalid
| |
− | }}
| |
− | | ACNHHHP
| |
− | }}
| |
− | | 2<sup>nd</sup> parameter invalid
| |
− | }}
| |
− | | [[Animal Crossing: New Horizons - Happy Home Paradise|ACNHHHP]]
| |
− | }}
| |
− | | shortest = {{#if: {{{2|}}}
| |
− | | {{#switch: {{{2|}}}
| |
− | | sm = {{#if: {{{3|}}}
| |
− | | {{#ifeq: {{{3|}}}
| |
− | | nolink
| |
− | | <small>HHP</small>
| |
− | | 3<sup>rd</sup> parameter invalid
| |
− | }}
| |
− | | <small>[[Animal Crossing: New Horizons - Happy Home Paradise|HHP]]</small>
| |
− | }}
| |
− | | nolink = {{#if: {{{3|}}}
| |
− | | {{#ifeq: {{{3|}}}
| |
− | | sm
| |
− | | <small>HHP</small>
| |
− | | 3<sup>rd</sup> parameter invalid
| |
− | }}
| |
− | | HHP
| |
− | }}
| |
− | | 2<sup>nd</sup> parameter invalid
| |
− | }}
| |
− | | [[Animal Crossing: New Horizons - Happy Home Paradise|HHP]]
| |
− | }}
| |
− | | sm = {{#if: {{{2|}}}
| |
− | | {{#switch: {{{2|}}}
| |
− | | short = {{#if: {{{3|}}}
| |
− | | {{#ifeq: {{{3|}}}
| |
− | | nolink
| |
− | | <small>'Happy Home Paradise'</small>
| |
− | | 3<sup>rd</sup> parameter invalid
| |
− | }}
| |
− | | <small>''[[Animal Crossing: New Horizons - Happy Home Paradise|New Horizons - Happy Home Paradise]]''</small>
| |
− | }}
| |
− | | shorter = {{#if: {{{3|}}}
| |
− | | {{#ifeq: {{{3|}}}
| |
− | | nolink
| |
− | | <small>ACNHHHP</small>
| |
− | | 3<sup>rd</sup> parameter invalid
| |
− | }}
| |
− | | <small>[[Animal Crossing: New Horizons - Happy Home Paradise|ACNHHHP]]</small>
| |
− | }}
| |
− | | shortest = {{#if: {{{3|}}}
| |
− | | {{#ifeq: {{{3|}}}
| |
− | | nolink
| |
− | | <small>HHP</small>
| |
− | | 3<sup>rd</sup> parameter invalid
| |
− | }}
| |
− | | <small>[[Animal Crossing: New Horizons - Happy Home Paradise|HHP]]</small>
| |
− | }}
| |
− | | nolink = {{#if: {{{3|}}}
| |
− | | {{#switch: {{{3|}}}
| |
− | | short = <small>'Happy Home Paradise'</small>
| |
− | | shorter = <small>ACNHHHP</small>
| |
− | | shortest = <small>HHP</small>
| |
− | | 3<sup>rd</sup> parameter invalid
| |
− | }}
| |
− | | <small>''Animal Crossing: New Horizons - Happy Home Paradise''</small>
| |
− | }}
| |
− | | 2<sup>nd</sup> parameter invalid
| |
− | }}
| |
− | | <small>''[[Animal Crossing: New Horizons - Happy Home Paradise]]''</small>
| |
− | }}
| |
− | | 1<sup>st</sup> parameter invalid
| |
− | }}
| |
− | | ''[[Animal Crossing: New Horizons - Happy Home Paradise]]''
| |
− | }}<noinclude>
| |
− | ==Usage==
| |
− | The template accepts up to three parameters:
| |
− | *<tt>'''nolink'''</tt> - Will remove link but still produce game name in italics (e.g. ''Animal Crossing: New Horizons - Happy Home Paradise''). Can be used in combination with <tt>'''sm'''</tt> and one of the following: <tt>'''short'''</tt>, <tt>'''shorter'''</tt>, <tt>'''shortest'''</tt>.
| |
− | *<tt>'''sm'''</tt> - Will make the name small text but still produce game name in italics (e.g. <small>''Animal Crossing: New Horizons - Happy Home Paradise''</small>). Can be used in combination with <tt>'''nolink'''</tt> and one of the following: <tt>'''short'''</tt>, <tt>'''shorter'''</tt>, <tt>'''shortest'''</tt>.
| |
− | *<tt>'''short'''</tt> - Will provide shorthand links (e.g. ''[[Animal Crossing: New Horizons - Happy Home Paradise|New Horizons - Happy Home Paradise]]''). Can be used in combination with <tt>'''nolink'''</tt> and <tt>'''sm'''</tt>.
| |
− | *<tt>'''shorter'''</tt> - Will produce long acronyms instead of title names (e.g. [[Animal Crossing: New Horizons - Happy Home Paradise|ACNHHHP]]). Can be used in combination with <tt>'''nolink'''</tt> and <tt>'''sm'''</tt>.
| |
− | *<tt>'''shortest'''</tt> - Will produce short acronyms instead of title names (e.g. [[Animal Crossing: New Horizons - Happy Home Paradise|HHP]]). Can be used in combination with <tt>'''nolink'''</tt> and <tt>'''sm'''</tt>.
| |
− | <br>
| |
− | The parameters can be used in any order to achieve the same effect. (e.g. <tt><nowiki>{{HHP|sm|nolink|short}}</nowiki></tt> will yield the same results as <tt><nowiki>{{HHP|short|nolink|sm}}</nowiki></tt> → {{HHP|sm|short|nolink}})
| |
− | [[Category:Link templates]] | |
− | </noinclude> | |