Difference between revisions of "Template:Int"

From Game Detectives Wiki
Jump to: navigation, search
[unchecked revision][checked revision]
m (Undo revision 2376816 by Shirayuki (talk))
m (30 revisions imported)
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{#invoke:String|replace
+
{{#invoke:Int|renderIntMessage|{{{1|}}}}}<noinclude>
|source={{#invoke:String|replace
 
  |source={{#invoke:String|replace
 
    |source={{#invoke:String|replace
 
      |source={{#invoke:String|replace
 
        |source={{ MediaWiki:{{trim|{{{1|}}} }}{{translation}} }}
 
        |pattern=$1|replace={{{2|$1}}}
 
        }}
 
      |pattern=$2|replace={{{3|$2}}}
 
      }}
 
    |pattern=$3|replace={{{4|$3}}}
 
    }}
 
  |pattern=$4|replace={{{5|$4}}}
 
  }}
 
|pattern=$5|replace={{{6|$5}}}
 
}}<noinclude>
 
 
{{ {{TNTN|Documentation}} |content=
 
{{ {{TNTN|Documentation}} |content=
 +
{{lua|Module:Int|Module:Template translation}}
  
 
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]].
Line 23: Line 9:
 
* <code><nowiki>{{int|vector-view-history}}</nowiki></code>
 
* <code><nowiki>{{int|vector-view-history}}</nowiki></code>
 
{{int|vector-view-history}}
 
{{int|vector-view-history}}
 
== Limitations ==
 
 
This template cannot process <code><nowiki>{{PLURAL:}}</nowiki></code> and <code><nowiki>{{GENDER:}}</nowiki></code>. ({{ll|Help:Magic_words#Localization}})
 
  
 
* <code><nowiki>{{int|Notification-link-text-expand-notice-count|1}}</nowiki></code>
 
* <code><nowiki>{{int|Notification-link-text-expand-notice-count|1}}</nowiki></code>
 
{{int|Notification-link-text-expand-notice-count|1}}
 
{{int|Notification-link-text-expand-notice-count|1}}
* <code><nowiki>{{int|Notification-link-text-expand-notice-count|4}}</nowiki></code>
+
* <code><nowiki>{{int|Notification-link-text-expand-notice-count|2}}</nowiki></code>
{{int|Notification-link-text-expand-notice-count|4}}
+
{{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 ==

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:}}]]