Difference between revisions of "Template:Int"

From Game Detectives Wiki
Jump to: navigation, search
[unchecked revision][checked revision]
(parameters)
m (30 revisions imported)
 
(12 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{#invoke:String|replace
+
{{#invoke:Int|renderIntMessage|{{{1|}}}}}<noinclude>
|source={{#invoke:String|replace
+
{{ {{TNTN|Documentation}} |content=
  |source={{ MediaWiki:{{trim|{{{1|}}} }}{{translation}} }}
+
{{lua|Module:Int|Module:Template translation}}
  |pattern=$1
 
  |replace={{{2|$1}}}
 
  }}
 
|pattern=$2
 
|replace={{{3|$2}}}
 
}}<noinclude>
 
  
 
Not to be confused with the int [[Special:MyLanguage/Help:magic words#int|magic word]].
 
Not to be confused with the int [[Special:MyLanguage/Help:magic words#int|magic word]].
 +
 +
== Examples ==
 +
 +
* <code><nowiki>{{int|vector-view-history}}</nowiki></code>
 +
{{int|vector-view-history}}
 +
 +
* <code><nowiki>{{int|Notification-link-text-expand-notice-count|1}}</nowiki></code>
 +
{{int|Notification-link-text-expand-notice-count|1}}
 +
* <code><nowiki>{{int|Notification-link-text-expand-notice-count|2}}</nowiki></code>
 +
{{int|Notification-link-text-expand-notice-count|2}}
 +
* <code><nowiki>{{int|Notification-link-text-expand-notice-count|5}}</nowiki></code>
 +
{{int|Notification-link-text-expand-notice-count|5}}
 +
 +
== Templatedata ==
 +
<templatedata>
 +
{
 +
"params": {
 +
"1": {
 +
"label": "i18n string",
 +
"description": "The i18n string, found using qqx",
 +
"example": "rcfilters-filter-patrolled-label",
 +
"type": "string",
 +
"required": true
 +
},
 +
"2": {
 +
"label": "Value ",
 +
"example": "Notification-link-text-expand-notice-count can display a count",
 +
"description": "Value of an included parameter (counter, message...)"
 +
}
 +
},
 +
"format": "inline"
 +
}
 +
</templatedata>
  
 
== See also ==
 
== See also ==
  
 
* [[Template:Intcurrent]]
 
* [[Template:Intcurrent]]
 +
 +
}}
  
 
[[Category:Internationalization templates]]
 
[[Category:Internationalization templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 03:27, 18 May 2018

⧼⧽

<templatestyles src="Module:Documentation/styles.css"></templatestyles>
Template documentation

Not to be confused with the int magic word.

Examples

  • {{int|vector-view-history}}

View history

  • {{int|Notification-link-text-expand-notice-count|1}}

⧼Notification-link-text-expand-notice-count⧽

  • {{int|Notification-link-text-expand-notice-count|2}}

⧼Notification-link-text-expand-notice-count⧽

  • {{int|Notification-link-text-expand-notice-count|5}}

⧼Notification-link-text-expand-notice-count⧽

Templatedata

<templatedata> { "params": { "1": { "label": "i18n string", "description": "The i18n string, found using qqx", "example": "rcfilters-filter-patrolled-label", "type": "string", "required": true }, "2": { "label": "Value ", "example": "Notification-link-text-expand-notice-count can display a count", "description": "Value of an included parameter (counter, message...)" } }, "format": "inline" } </templatedata>

See also

[[Category:Template documentation pages{{#translation:}}]]