Template:Varcom: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
	
SirYodaJedi (talk | contribs)  (change <code> to <tt>, to remove undesired borders. Could use {{mono}} to avoid using deprecated tags, but that may break something due to how templates work)  | 
				 (readability)  | 
				||
| Line 3: | Line 3: | ||
<includeonly>  | <includeonly>  | ||
<onlyinclude>{{#switch:{{{1|{{style|color:#f00|'''  | <onlyinclude>{{#switch: {{{1|{{style|color:#f00|'''VARIABLE NAME MISSING!'''}}}}}  | ||
	| start =    | |||
	<table class="wikitable">  | |||
	<tr>  | |||
		<th style="background-color:#222;">{{#switch: {{language}}  | |||
			| #default = Cvar/Command  | |||
			| zh = 控制台变量/命令  | |||
			}}</th>  | |||
		<th style="background-color:#222;">{{#switch: {{language}}  | |||
			| #default = Parameters or default value  | |||
			| zh = 参数或默认值  | |||
			}}</th>  | |||
		<th style="background-color:#222;">{{#switch: {{language}}  | |||
			| #default = Descriptor  | |||
			| zh = 描述符  | |||
			}}</th>  | |||
		<th style="background-color:#222;">{{#switch: {{language}}  | |||
			| #default = Effect  | |||
			| zh = 效果  | |||
			}}</th>  | |||
	</tr>    | |||
	| end = </table>    | |||
	| #default =   | |||
	<tr>  | |||
		<td><tt>{{{1|</tt>{{style|color:#f00|'''NAME MISSING!'''}}</td></tr></table><tt>}}}</tt></td>  | |||
		<td><tt>{{#ifeq: {{{2|}}} | null  | |||
			| </tt>''[{{#switch: {{language}}  | |||
				| #default = blank by default  | |||
				| zh = 默认为空}}]''<tt>|{{{2|}}}  | |||
				}}</tt></td>  | |||
		<td><strong>{{#switch: {{{3|}}}  | |||
			| 01 = 0 disables, 1 enables  | |||
			| dist = [[Hammer units|{{#switch: {{language}}  | |||
					| #default = Hammer units  | |||
					| zh = Hammer 单位  | |||
				}}]]  | |||
			| #default = {{{3|}}}  | |||
			}}  | |||
			</strong></td>  | |||
		<td>{{{4|{{#switch: {{language}}  | |||
				| #default = {{todo|Effect description.}}  | |||
				| zh = {{todo|效果描述。}}  | |||
				}}}}}</td>  | |||
	</tr>}}</onlyinclude>  | |||
</includeonly>  | </includeonly>  | ||
<noinclude>[[Category:Templates]]</noinclude>  | <noinclude>[[Category:Templates]]</noinclude>  | ||
Revision as of 11:13, 9 March 2025
The above documentation is transcluded from Template:Varcom/doc. (Edit | Page history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.