Difference between revisions of "Template:Base point multi"

From Valve Developer Community
Jump to: navigation, search
(Marked useless page for deletion This action was perfomed by a bot under supervision.)
m (Replaced deprecated {{Game name}} template with {{Software}} counterpart. Action performed by bot)
 
Line 15: Line 15:
 
| true        = {{#if:{{{cut|}}}||n}}{{#switch:{{{suf|}}}|#default= |:zh-cn=}}[[internal entity{{{suf|}}}|{{#switch:{{{suf|}}}|#default=internal|:zh-cn=内部|:de=intern}}]]
 
| true        = {{#if:{{{cut|}}}||n}}{{#switch:{{{suf|}}}|#default= |:zh-cn=}}[[internal entity{{{suf|}}}|{{#switch:{{{suf|}}}|#default=internal|:zh-cn=内部|:de=intern}}]]
 
}}<!--
 
}}<!--
-->{{#switch:{{{suf|}}}|#default=&nbsp;[[point entity]] available in the following {{game name|src|name=Source}} engine games:|:zh-cn=[[Point entity:zh-cn|点实体]]可用于下列{{source|4|suf=:zh-cn}}游戏中:|:de=&nbsp;[[point entity:de|Punkt-Entität]] nachfolgend erhältlich {{game name|src|name=Source}}-Engine-Spielen:}}<p><!--
+
-->{{#switch:{{{suf|}}}|#default=&nbsp;[[point entity]] available in the following {{src|4}} engine games:|:zh-cn=[[Point entity:zh-cn|点实体]]可用于下列{{source|4|suf=:zh-cn}}游戏中:|:de=&nbsp;[[point entity:de|Punkt-Entität]] nachfolgend erhältlich {{src|4}}-Engine-Spielen:}}<p><!--
 
-->{{#if: {{{game1|}}} |  {{#ifexist:{{{game1}}}{{{suf}}}|{{{{game icon name|{{{game1}}}}}|4|suf={{{suf|}}}}}|{{{{game icon name|{{{game1}}}}}|4}}}} {{Main other|[[Category:{{{game1}}} Entities{{{suf|}}}]]}}|}}<!--
 
-->{{#if: {{{game1|}}} |  {{#ifexist:{{{game1}}}{{{suf}}}|{{{{game icon name|{{{game1}}}}}|4|suf={{{suf|}}}}}|{{{{game icon name|{{{game1}}}}}|4}}}} {{Main other|[[Category:{{{game1}}} Entities{{{suf|}}}]]}}|}}<!--
 
-->{{#if: {{{game2|}}} | , {{#ifexist:{{{game2}}}{{{suf}}}|{{{{game icon name|{{{game2}}}}}|4|suf={{{suf|}}}}}|{{{{game icon name|{{{game2}}}}}|4}}}} {{Main other|[[Category:{{{game2}}} Entities{{{suf|}}}]]}}|}}<!--
 
-->{{#if: {{{game2|}}} | , {{#ifexist:{{{game2}}}{{{suf}}}|{{{{game icon name|{{{game2}}}}}|4|suf={{{suf|}}}}}|{{{{game icon name|{{{game2}}}}}|4}}}} {{Main other|[[Category:{{{game2}}} Entities{{{suf|}}}]]}}|}}<!--

Latest revision as of 06:20, 31 May 2024

Warning icon.png
This template has been marked as a candidate for speedy deletion for the following reason:
Deprecated, and not used anywhere anymore
If you object to this decision, then please discuss why hereIf this page doesn't meet the criteria for speedy deletion, then please remove this notice, but do not remove it from pages that you have created yourself
Administrators - Remember to check if anything links here and the page history (last edit) before deleting.
Red x.png
This template (and its redirect) is Wikipedia icon Deprecated. Its use is not recommended and its functionality may be compromised.
Please use {{This is a}} instead.
You can help our editors by replacing or deleting this template on the Pages that use this template. Once no more pages use this template, it should be Marked for deletion.
Curly brackets white.pngTemplate Documentation
Icon-translate.png
View
Edit
Page history

Parameters

  • {{{1}}} - The point entity name, which will be bold.
  • {{{game1}}} to {{{game5}}} - The value is used for the Template:Game name to display the text and to generate the Categories, so make sure your write it right.
  • {{{cut}}} - If set to 1, adjusts displayed text and adds the article to the Category:Cut Entities.
  • {{{internal}}} - If set to 1, adjusts displayed text. Otherwise, adds the article to the Category:Non-internal entity.
  • {{{suf}}} - Optional. This is a suffix that will be added to all elements of the template to display the content in the desired language (if it is translated into it).
Note.pngNote:There should be a colon before the language code, for example ":es".

Examples

{{base point multi|game1=Half-Life|game2=Half-Life 2}}
This is a point entity available in the following Source Source engine games:

Half-Life Half-Life, Half-Life 2 Half-Life 2.

{{base point multi|cut=1|internal=1|game1=Half-Life|game2=Half-Life 2}}
This is a cut internal point entity available in the following Source Source engine games:

Half-Life Half-Life, Half-Life 2 Half-Life 2.

See also