Page MenuHomeMiraheze

Wikipedia-20180210082530.xml

Authored By
Rob_Kam
Feb 10 2018, 08:28
Size
2 MB
Referenced Files
None
Subscribers
None

Wikipedia-20180210082530.xml

This file is larger than 256 KB, so syntax highlighting was skipped.
<mediawiki xmlns="http://www.mediawiki.org/xml/export-0.10/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.mediawiki.org/xml/export-0.10/ http://www.mediawiki.org/xml/export-0.10.xsd" version="0.10" xml:lang="en">
<siteinfo>
<sitename>Wikipedia</sitename>
<dbname>enwiki</dbname>
<base>https://en.wikipedia.org/wiki/Main_Page</base>
<generator>MediaWiki 1.31.0-wmf.20</generator>
<case>first-letter</case>
<namespaces>
<namespace key="-2" case="first-letter">Media</namespace>
<namespace key="-1" case="first-letter">Special</namespace>
<namespace key="0" case="first-letter" />
<namespace key="1" case="first-letter">Talk</namespace>
<namespace key="2" case="first-letter">User</namespace>
<namespace key="3" case="first-letter">User talk</namespace>
<namespace key="4" case="first-letter">Wikipedia</namespace>
<namespace key="5" case="first-letter">Wikipedia talk</namespace>
<namespace key="6" case="first-letter">File</namespace>
<namespace key="7" case="first-letter">File talk</namespace>
<namespace key="8" case="first-letter">MediaWiki</namespace>
<namespace key="9" case="first-letter">MediaWiki talk</namespace>
<namespace key="10" case="first-letter">Template</namespace>
<namespace key="11" case="first-letter">Template talk</namespace>
<namespace key="12" case="first-letter">Help</namespace>
<namespace key="13" case="first-letter">Help talk</namespace>
<namespace key="14" case="first-letter">Category</namespace>
<namespace key="15" case="first-letter">Category talk</namespace>
<namespace key="100" case="first-letter">Portal</namespace>
<namespace key="101" case="first-letter">Portal talk</namespace>
<namespace key="108" case="first-letter">Book</namespace>
<namespace key="109" case="first-letter">Book talk</namespace>
<namespace key="118" case="first-letter">Draft</namespace>
<namespace key="119" case="first-letter">Draft talk</namespace>
<namespace key="446" case="first-letter">Education Program</namespace>
<namespace key="447" case="first-letter">Education Program talk</namespace>
<namespace key="710" case="first-letter">TimedText</namespace>
<namespace key="711" case="first-letter">TimedText talk</namespace>
<namespace key="828" case="first-letter">Module</namespace>
<namespace key="829" case="first-letter">Module talk</namespace>
<namespace key="2300" case="first-letter">Gadget</namespace>
<namespace key="2301" case="first-letter">Gadget talk</namespace>
<namespace key="2302" case="case-sensitive">Gadget definition</namespace>
<namespace key="2303" case="case-sensitive">Gadget definition talk</namespace>
</namespaces>
</siteinfo>
<page>
<title>Template:N/a</title>
<ns>10</ns>
<id>2499787</id>
<revision>
<id>738385183</id>
<parentid>689743301</parentid>
<timestamp>2016-09-08T17:07:00Z</timestamp>
<contributor>
<username>Andy M. Wang</username>
<id>516856</id>
</contributor>
<comment>sync sandbox by [[User:Matt Fitzpatrick]]: default sort as blank cell requested by [[User:Masem]] and 50.53.1.33, unopposed</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="279">{| class=&quot;wikitable&quot;
|-
| &lt;onlyinclude&gt;data-sort-value=&quot;{{{sort|}}}&quot; style=&quot;background: #ececec; color: #2C2C2C; vertical-align: middle; font-size: smaller; text-align: {{{align|center}}}; {{{style|}}}&quot; class=&quot;table-na&quot; &lt;!--
--&gt;| {{{1|N/A}}}&lt;/onlyinclude&gt;
|}
{{documentation}}</text>
<sha1>izdroi3sfz085omzs2a6c9gu7f6zyzd</sha1>
</revision>
</page>
<page>
<title>Template:No</title>
<ns>10</ns>
<id>1818444</id>
<revision>
<id>691784809</id>
<parentid>690336509</parentid>
<timestamp>2015-11-22T04:07:39Z</timestamp>
<contributor>
<username>Codename Lisa</username>
<id>16847332</id>
</contributor>
<comment>Reverted [[WP:AGF|good faith]] edits by [[Special:Contributions/Ahecht|Ahecht]] ([[User talk:Ahecht|talk]]): We already have {{No2}} with this background.</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="209">&lt;noinclude&gt;{| class=&quot;wikitable&quot;
|-
|&lt;/noinclude&gt;style=&quot;background:#F99;vertical-align:middle;text-align:{{{align|center}}};{{{style|}}}&quot; class=&quot;table-no&quot;|{{{1|No}}}&lt;noinclude&gt;
|}
{{documentation}}
&lt;/noinclude&gt;</text>
<sha1>9sy5yzld48zzicuuz6htc8iqyyy9es3</sha1>
</revision>
</page>
<page>
<title>Template:Oldid</title>
<ns>10</ns>
<id>18476649</id>
<revision>
<id>588643399</id>
<parentid>429272441</parentid>
<timestamp>2014-01-01T10:18:28Z</timestamp>
<contributor>
<username>Salix alba</username>
<id>212526</id>
</contributor>
<minor/>
<comment>Changed protection level of Template:Oldid: change to new template editor level ([Edit=Allow only template editors and admins] (indefinite) [Move=Allow only template editors and admins] (indefinite))</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="275">&lt;span class=&quot;plainlinks&quot;&gt;[{{fullurl:{{{page|{{{1|Main Page}}}}}}|oldid={{{oldid|{{{2|}}}}}}}} {{{label|{{{title|{{{3|{{#if:{{{oldid|{{{2|}}}}}}|Old revision|Current version}} of''' {{{page|{{{1|'''a page'''}}}}}} '''}}}}}}}}}]&lt;/span&gt;&lt;noinclude&gt;
{{documentation}}
&lt;/noinclude&gt;</text>
<sha1>9hfrpwl1lydirqbggsf0jg7g2pxuv6e</sha1>
</revision>
</page>
<page>
<title>Template:Ombox</title>
<ns>10</ns>
<id>17522403</id>
<revision>
<id>577969039</id>
<parentid>463278061</parentid>
<timestamp>2013-10-20T12:45:08Z</timestamp>
<contributor>
<username>Mr. Stradivarius</username>
<id>4708675</id>
</contributor>
<comment>switch to Lua version</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="146">{{#invoke:Message box|ombox}}&lt;noinclude&gt;
{{documentation}}
&lt;!-- Categories go on the /doc subpage, and interwikis go on Wikidata. --&gt;
&lt;/noinclude&gt;</text>
<sha1>1o93yrjvq6v2ylug2k0uaaltljurje2</sha1>
</revision>
</page>
<page>
<title>Template:Para</title>
<ns>10</ns>
<id>16639086</id>
<revision>
<id>679823176</id>
<parentid>660922353</parentid>
<timestamp>2015-09-07T00:44:14Z</timestamp>
<contributor>
<username>HJ Mitchell</username>
<id>9336033</id>
</contributor>
<minor/>
<comment>Changed protection level of Template:Para: lower to TE per request; also removed from [[WP:CASC]] ([Edit=Allow only template editors and admins] (indefinite) [Move=Allow only template editors and admins] (indefinite))</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="267">&lt;code class=&quot;nowrap&quot; {{#if:{{{plain|}}}|style=&quot;border:none;background-color:inherit;color:inherit;&quot;}}&gt;&amp;#124;{{#if:{{{1|}}}|{{{1}}}&amp;#61;}}{{{2|}}}&lt;/code&gt;&lt;noinclude&gt;
{{Documentation}}
&lt;!--Categories and interwikis go near the bottom of the /doc subpage.--&gt;
&lt;/noinclude&gt;</text>
<sha1>byvvhmp41qjgp4713oxicsdwzjqb1b0</sha1>
</revision>
</page>
<page>
<title>Template:Plain link</title>
<ns>10</ns>
<id>4651605</id>
<revision>
<id>797881294</id>
<parentid>797881250</parentid>
<timestamp>2017-08-29T18:25:20Z</timestamp>
<contributor>
<username>JJMC89</username>
<id>24812038</id>
</contributor>
<comment>typo in last edit</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="231">&lt;span class=&quot;plainlinks&quot;&gt;{{SAFESUBST:&lt;noinclude /&gt;#if:{{{2|{{{NAME|{{{name|}}}}}}}}}
|[{{{1|{{{URL|{{{url}}}}}}}}} {{{2|{{{NAME|{{{name|}}}}}}}}}]
|[{{{1|{{{URL|{{{url}}}}}}}}}]
}}&lt;/span&gt;&lt;noinclude&gt;
{{documentation}}
&lt;/noinclude&gt;</text>
<sha1>4ksm928qcz1wzong5bwawgcsgfzt0v4</sha1>
</revision>
</page>
<page>
<title>Template:Pp-template</title>
<ns>10</ns>
<id>10225116</id>
<revision>
<id>619983120</id>
<parentid>578340995</parentid>
<timestamp>2014-08-05T17:17:27Z</timestamp>
<contributor>
<username>Mr. Stradivarius</username>
<id>4708675</id>
</contributor>
<comment>convert this to use [[Module:Protection banner]]; see [[Module talk:Protection banner#Proposal to convert all protection templates to use this module|here]] for details</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="178">&lt;includeonly&gt;{{#invoke:Protection banner|main}}&lt;/includeonly&gt;&lt;noinclude&gt;
{{documentation}}
&lt;!-- Categories go on the /doc subpage, and interwikis go on Wikidata. --&gt;
&lt;/noinclude&gt;</text>
<sha1>5t6lal9n9hcpwsso2obr7pcyjbg26xc</sha1>
</revision>
</page>
<page>
<title>Template:Refbegin</title>
<ns>10</ns>
<id>9391283</id>
<revision>
<id>780001198</id>
<parentid>772120876</parentid>
<timestamp>2017-05-12T09:46:40Z</timestamp>
<contributor>
<username>TheDJ</username>
<id>244887</id>
</contributor>
<comment>Use class from MediaWiki:Common.css to implement hanging indentation</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="828">&lt;includeonly&gt;&lt;div class=&quot;refbegin &lt;!--
--&gt;{{#if: {{{indent|}}}
| refbegin-hanging-indents }} &lt;!--
--&gt;{{#if: {{{normalfont|}}}
| refbegin-100 }} &lt;!--
--&gt;{{#if: {{{1|}}}
| columns {{#iferror: {{#ifexpr: {{{1|1}}} &gt; 1 }}
| references-column-width
| references-column-count references-column-count-{{#if:1|{{{1}}}}} }}
| {{#if: {{{colwidth|}}}
| references-column-width }} }}&quot; style=&quot;&lt;!--
--&gt;{{#if: {{{1|}}}
| {{#iferror: {{#ifexpr: {{{1|1}}} &gt; 1 }}
| {{column-width|{{#if:1|{{{1}}}}}}}
| {{column-count|{{#if:1|{{{1}}}}}}} }}
| {{#if: {{{colwidth|}}}
| {{column-width|{{{colwidth}}}}} }} }}&quot;&gt;&lt;!--
--&gt;{{#if: {{{normalfont|}}}
| [[Category:Pages using refbegin with normalfont parameter]]}}&lt;/includeonly&gt;&lt;noinclude&gt;
{{Documentation}}
{{/TemplateData}}
&lt;/noinclude&gt;</text>
<sha1>jviesmg7qfir8shmypzzu26dk3g9eiw</sha1>
</revision>
</page>
<page>
<title>Template:Refend</title>
<ns>10</ns>
<id>10023179</id>
<revision>
<id>792167400</id>
<parentid>772120878</parentid>
<timestamp>2017-07-24T21:40:56Z</timestamp>
<contributor>
<username>WOSlinker</username>
<id>3138265</id>
</contributor>
<comment>remove &lt;/dl&gt; since no &lt;dl&gt; in Template:Refbegin</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="246">&lt;includeonly&gt;&lt;/div&gt;&lt;/includeonly&gt;&lt;noinclude&gt;
{{template doc|Template:refbegin/doc}}
{{TemplateDataHeader}}
&lt;templatedata&gt;
{
&quot;description&quot;: &quot;Ends a reference lists started by {{refbegin}}.&quot;,
&quot;params&quot;: {
}
}
&lt;/templatedata&gt;
&lt;/noinclude&gt;</text>
<sha1>kcrxzrf6v4rvbl0yhnfcb5labufpnsp</sha1>
</revision>
</page>
<page>
<title>Template:Reflist</title>
<ns>10</ns>
<id>7585648</id>
<revision>
<id>794499661</id>
<parentid>794499298</parentid>
<timestamp>2017-08-08T12:05:27Z</timestamp>
<contributor>
<username>Anomie</username>
<id>301903</id>
</contributor>
<comment>Please stop, you apparently don't know what you're doing here and shouldn't fool around with heavily-used live templates. I'll post an explanation to the talk page momentarily.</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="1008">&lt;div class=&quot;reflist &lt;!--
--&gt;{{#if: {{{1|}}} {{{colwidth|}}}
| columns references-column-width
}}&quot; style=&quot;&lt;!--
--&gt;{{#if: {{{1|}}}
| {{#iferror: {{#ifexpr: {{{1|1}}} &gt; 1 }}
| {{column-width|1={{{1}}}}}
| {{#switch:{{{1|}}}|1=|2={{column-width|1=30em}}|#default={{column-width|1=25em}}}} }}
| {{#if: {{{colwidth|}}}
| {{column-width|1={{{colwidth}}}}} }} }} list-style-type: &lt;!--
--&gt;{{{liststyle|{{#switch: {{{group|}}}
| upper-alpha
| upper-roman
| lower-alpha
| lower-greek
| lower-roman = {{{group}}}
| #default = decimal}}}}};&quot;&gt;
{{#tag:references|{{{refs|}}}|group={{{group|}}}|responsive={{#if:{{{1|}}}{{{colwidth|}}}|0|1}}}}&lt;/div&gt;{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using reflist with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Reflist]] with unknown parameter &quot;_VALUE_&quot;|ignoreblank=y| 1 | colwidth | group | liststyle | refs }}&lt;noinclude&gt;
{{Documentation}}
&lt;/noinclude&gt;</text>
<sha1>2k096ppl7lxbcjqmfluu9x2sc91rmzl</sha1>
</revision>
</page>
<page>
<title>Template:Reflist hide</title>
<ns>10</ns>
<id>24449851</id>
<revision>
<id>735694099</id>
<parentid>541547140</parentid>
<timestamp>2016-08-22T13:37:17Z</timestamp>
<contributor>
<username>Frietjes</username>
<id>13791031</id>
</contributor>
<comment>name space</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="105">{{main other|2=&lt;div style=&quot;display: none;&quot;&gt;&lt;references /&gt;&lt;/div&gt;}}&lt;noinclude&gt;{{documentation}}&lt;/noinclude&gt;</text>
<sha1>fpvrbrsxr90csvfws2bhqf2tu2quhry</sha1>
</revision>
</page>
<page>
<title>Template:Reflist/doc</title>
<ns>10</ns>
<id>8512635</id>
<revision>
<id>822055088</id>
<parentid>820942430</parentid>
<timestamp>2018-01-24T03:42:08Z</timestamp>
<contributor>
<username>Voidxor</username>
<id>329764</id>
</contributor>
<minor/>
<comment>Update example oldid due to numerous deprecated-template errors in the reference section.</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="18508">{{Documentation subpage}}
&lt;includeonly&gt;{{High-risk| 4200000+ }}&lt;/includeonly&gt;
{{notice|&lt;nowiki /&gt;
* This page gives technical details for the {{tl|reflist}} template. For a full overview of this template in use, see [[Help:Footnotes]].
}}
{{Transwiki guide |small=yes |text=See [[Template:Reflist/Transwiki guide|'''this information''']] on copying this template and modifying it for use on another wiki.}}
This [[Wikipedia:Citation templates|citation template]] provides formatting and organizational features for [[Help:Footnotes|footnotes]]. It encapsulates the {{tag|references|s}} tag used by the {{cite.php}} MediaWiki extension to show the list of references as defined by {{tag|ref|o}} tags. It adds support for sizing the column width, groups and {{ldr}}.
==Parameters==
There are no ''required'' parameters; if none are supplied, a single-column list will be generated if there are fewer than 10 references in the list. If you have more than 10 references, it will use columns of 30em wide if your device allows this.
Optional parameters are:
* Unnamed parameter (must be the first one if used): the minimum width for each column of references, typically in [[em (typography)#CSS|em]]s. Syntax (for example) {{para||30em}} with no space (i.e. not {{para||30 em}}). Note that this replaces '''colwidth'''—see [[#Obsolete parameters|§&amp;nbsp;Obsolete parameters]].
* '''refs''': used with {{ldr}}.
* '''group''': identifies by name the subset of references to be rendered; the value should correspond to that used inline, e.g., {{tlx|Reflist|2=group=groupname}} renders all references with groupname as the group name ({{tag|ref|o|params=group=groupname}}). There are five pre-defined group names that style the list differently. See [[#Grouped references|§ Grouped references]] below.
* '''liststyle''': specifies the style used when the reference list is rendered. The default is a numbered list. When set, it will override the style set by the {{para|group}} parameter, without affecting group functionality. See [[#List styles|§ List styles]] below.
{{anchor|Multiple uses}}
==Usage==
{{markup|title=Using only footnote-style references
|&lt;nowiki&gt;Lorem ipsum.&lt;ref&gt;Source name, access date, etc.&lt;/ref&gt;
Lorem ipsum dolor sit amet.&lt;ref&gt;Source name, access date, etc.&lt;/ref&gt;
==References==
{{Reflist}}&lt;/nowiki&gt;
|Lorem ipsum.&lt;ref&gt;Source name, access date, etc.&lt;/ref&gt;
Lorem ipsum dolor sit amet.&lt;ref&gt;Source name, access date, etc.&lt;/ref&gt;
{{fake heading|sub=3|References}}
{{Reflist}}
}}
{{markup|title=Using only bibliographical style references (no direct references from the text)
|&lt;nowiki&gt;Lorem ipsum. Lorem ipsum dolor sit amet.
==References==
{{Refbegin}}
* reference 1
* reference 2
{{Refend}}&lt;/nowiki&gt;
|Lorem ipsum. Lorem ipsum dolor sit amet.
{{fake heading|sub=3|References}}
{{Refbegin}}
* reference 1
* reference 2
{{Refend}}
}}
{{markup|title=Using both footnote-style and bibliography-style references
|&lt;nowiki&gt;Lorem ipsum.&lt;ref&gt;Source name, access date, etc.&lt;/ref&gt;
Lorem ipsum dolor sit amet.&lt;ref&gt;Source name, access date, etc.&lt;/ref&gt;
==References==
{{Reflist}}
{{Refbegin}}
* reference 1
* reference 2
{{Refend}}&lt;/nowiki&gt;
|Lorem ipsum.&lt;ref&gt;Source name, access date, etc.&lt;/ref&gt;
Lorem ipsum dolor sit amet.&lt;ref&gt;Source name, access date, etc.&lt;/ref&gt;
{{fake heading|sub=3|References}}
{{Reflist}}
{{Refbegin}}
* reference 1
* reference 2
{{Refend}}
}}
===Columns===
{{tlx|Reflist|30em}} (for example) instructs the browser to create as many columns as possible (of width at least 30&amp;nbsp;[[Em (typography)|em]], in this example) given the width of the display window. ([http://www.w3.org/TR/CSS21/syndata.html#length-units Units supported are em, ex, in, cm, mm, pt, pc, px], but em is almost always used.) There must not be a space between the number and the unit.
Choose a width appropriate to the typical width of the references:
* Automatic columns (default when no width is specified): Where there are only a few {{fnote}}; see, e.g., {{oldid|Silver State Arena|530211388#References|Silver State Arena (23:05, 28 December 2012)}}
* 30em: Where there are many footnotes plus a page-width Bibliography subsection: see, e.g., {{oldid|Ebola virus disease|819923970#References|Ebola virus disease (02:02, 12 January 2018)}}
* 20em: Where {{sfnote}} are used; see, e.g., {{oldid|NBR 224 and 420 Classes|442508215#Notes|NBR 224 and 420 Classes (13:32, 1 August 2011)}}.
====Example====
{{markup|title=15em wide columns (vary width of display window to see change in number of columns)
|&lt;nowiki&gt;Lorem ipsum.&lt;ref&gt;Source name, access date, etc.&lt;/ref&gt;
Lorem ipsum dolor sit amet.&lt;ref&gt;Source name, access date, etc.&lt;/ref&gt;
Lorem ipsum dolor sit amet.&lt;ref&gt;Source name, access date, etc.&lt;/ref&gt;
Lorem ipsum dolor sit amet.&lt;ref&gt;Source name, access date, etc.&lt;/ref&gt;
Lorem ipsum dolor sit amet.&lt;ref&gt;Source name, access date, etc.&lt;/ref&gt;
==References==
{{Reflist|15em}}&lt;/nowiki&gt;
|Lorem ipsum.&lt;ref&gt;Source name, access date, etc.&lt;/ref&gt;
Lorem ipsum dolor sit amet.&lt;ref&gt;Source name, access date, etc.&lt;/ref&gt;
Lorem ipsum dolor sit amet.&lt;ref&gt;Source name, access date, etc.&lt;/ref&gt;
Lorem ipsum dolor sit amet.&lt;ref&gt;Source name, access date, etc.&lt;/ref&gt;
Lorem ipsum dolor sit amet.&lt;ref&gt;Source name, access date, etc.&lt;/ref&gt;
{{fake heading|sub=3|References}}
{{Reflist|15em}}&lt;!-- note 15em used here for illustration purposes because larger value won't columnize in the &quot;renders as&quot; part on many screens --&gt;
}}
* &lt;strong&gt;Note 1:&lt;/strong&gt; The syntax {{tlx|Reflist|2}} (for example), which specifies two columns of equal width ''regardless of the available display width'', is deprecated (and is disabled for mobile view). When you use 1 the template gives you a single column while 2 will pretend you specified 30em. When using higher column counts, it will pretend you specified 25em.
* &lt;strong&gt;Note 2:&lt;/strong&gt; Browser support: Internet Explorer 10+, Microsoft Edge, Firefox 2+, Chrome 4+, Safari 3.1+, Opera 11.1+
===List-defined references===
{{see|Help:List-defined references}}
A list of references may be defined within {{tl|Reflist}} using the {{para|refs}} parameter, just like including named {{tag|ref|params=name=&quot;...&quot;}} elements inside the {{tag|references}} container.
====Example====
{{markup
|&lt;nowiki&gt;This is reference 1.&lt;ref name=&quot;refname1&quot; /&gt;
This is reference 2.&lt;ref name=&quot;refname2&quot; /&gt;
==References==
{{Reflist|refs=
&lt;ref name=&quot;refname1&quot;&gt;content1&lt;/ref&gt;
&lt;ref name=&quot;refname2&quot;&gt;content2&lt;/ref&gt;
}}&lt;/nowiki&gt;
|This is reference 1.&lt;ref name=&quot;refname1&quot; group=decimal/&gt;
This is reference 2.&lt;ref name=&quot;refname2&quot; group=decimal/&gt;
{{fake heading|sub=3|References}}
{{Reflist|group=decimal|refs=
&lt;ref name=&quot;refname1&quot;&gt;content1&lt;/ref&gt;
&lt;ref name=&quot;refname2&quot;&gt;content2&lt;/ref&gt;
}}
}}
===Grouped references===
{{details|WP:REFGROUP}}
References can be grouped into separate sections (for explanatory notes, table references, and the like) via &lt;code&gt;group=&lt;/code&gt;:
:{{tag|ref|open|params=group=&lt;var&gt;groupname&lt;/var&gt;}}
where &lt;var&gt;groupname&lt;/var&gt; is (for example) &lt;code&gt;notes&lt;/code&gt; or &lt;code&gt;sources&lt;/code&gt;. The group name need not be enclosed in quotes; this differs from the footnote marker where quotes are required if the group name includes a space.
Each group used in the article must have a matching reference list:
:{{tlx|Reflist|2=group=&lt;var&gt;groupname&lt;/var&gt;}}
====Predefined groups====
{{details|H:PREGROUP}}
There are predefined group names that automatically set the labels in the footnote markers and the reference list to other styles. Thus, setting &lt;code&gt;&lt;nowiki&gt;{{Reflist|group=lower-alpha}}&lt;/nowiki&gt;&lt;/code&gt; will set the group to &lt;code&gt;lower-alpha&lt;/code&gt; and will style the reference list with lower alpha characters. The matching footnote marker can be formed by {{tag|ref|params=group=lower-alpha}}. This is made easier by a series of templates to set the group/label styles for the footnote marker and the reference list:
{{#section:Help:Footnotes|pregrouptable}}
===List styles===
{{for|technical details|Help:Cite link labels}}
As noted in [[#Predefined groups|§ Predefined groups]], there are predefined groups that automatically add list styling. Using the listed templates is more convenient than using {{para|liststyle}}.
Reference lists are by default numbered lists. By using the {{para|liststyle}} parameter, you can control how the list is rendered. For example, using {{para|liststyle|upper-roman}} will result in references being labeled with [[Roman numerals]] instead of decimal numbers. The parameter accepts any valid CSS value defined for &lt;code&gt;list-style-type&lt;/code&gt; as shown below.
{{CSS list-style-type values}}
It is possible to use {{para|liststyle}} so that the labels for the footnote marker and the reference list marker differ. This should be used with care as it can be confusing to readers. For example:
{{markup
|1=&lt;nowiki&gt;&lt;ref group=note&gt;Reference&lt;/ref&gt;
{{Reflist|group=note|liststyle=lower-alpha}}
&lt;/nowiki&gt;
|2=&lt;ref group=note&gt;Reference&lt;/ref&gt;
{{Reflist|group=note|liststyle=lower-alpha}}
}}
===Interaction with images===
{{Reflist hide}}
In the unusual case of an image being placed to the left of a reference list, layout problems may occur on some browsers. This can be prevented by using the columns feature.
==Technical details==
===Font size===
The font size should reduce to 90% for most browsers, but may appear to show at 100% for Internet Explorer and possibly other browsers.&lt;ref group=general name=fontsize /&gt; As of December 21, 2010, the standard {{tag|references|single}} tag has the same font styling. The smaller font may be disabled through {{myprefs|Gadgets|Disable smaller font sizes of elements such as Infoboxes, Navboxes and References lists}}.
===Browser support for columns===
{{CSS3 multiple column layout}}
Multiple columns are generated by using [[Cascading Style Sheets|CSS3]], which is still in development; thus only browsers that properly support the multi-column property will show multiple columns with {{tl|Reflist}}.&lt;ref group=general name=&quot;stuffandnonsense&quot; /&gt;&lt;ref group=general name=&quot;w3org1&quot; /&gt;
These browsers '''support''' CSS3 columns:
* [[Gecko (layout engine)|Gecko]]-based browsers such as [[Mozilla Firefox]]
* [[WebKit]]-based browsers such as [[Safari (web browser)|Safari]] and [[Google Chrome]]
* [[Opera (web browser)|Opera]] from version 11.10 onward
* [[Internet Explorer]] from version 10 onward
These browsers do '''not support''' CSS3 columns:
* Microsoft [[Trident (layout engine)|Trident]]-based browsers including Internet Explorer up to version 9&lt;ref group=general name=&quot;msdn&quot; /&gt;
* [[Opera (web browser)|Opera]] through to version 11
===Widows and orphans===
The use of columns can result in [[widows and orphans]], where a citation at the bottom of a column may be split to the top of the next column. [[MediaWiki:Common.css]] includes CSS rules to prevent list items from breaking between columns. Widows may still show in extreme circumstances, such as a reference list formatted in columns where only a single reference is defined.
{{markup
|&lt;nowiki&gt;Lorem ipsum.&lt;ref&gt;Source name, access date, etc.&lt;/ref&gt;
Lorem ipsum dolor sit amet.
==References==
{{Reflist|10em}}&lt;/nowiki&gt;
|Lorem ipsum.&lt;ref&gt;Source name, access date, etc.&lt;/ref&gt;
Lorem ipsum dolor sit amet.
{{fake heading|sub=3|References}}
{{Reflist|10em}}
}}
===Supporting CSS===
{{tl|Reflist}} uses a CSS rule in [[MediaWiki:Common.css]] to set the font size:
* &lt;code&gt;div.reflist { font-size: 90%; }&lt;/code&gt;
The following class is assigned by the template when column width is set:
* &lt;code&gt;.references-column-width&lt;/code&gt;
The following CSS properties are utilized using the {{tl|column-width}} templates:
* &lt;code&gt;column-width&lt;/code&gt; CSS3 standard
* &lt;code&gt;-moz-column-width&lt;/code&gt; Mozilla CSS extension
* &lt;code&gt;-webkit-column-width&lt;/code&gt; Webkit CSS extension
===Customizing the view===
{{see|Help:Reference display customization}}
By editing your CSS, the personal appearance of the reference list can be customized. From [[Special:Preferences|Preferences]], select the Appearance tab, then on the selected skin select Custom CSS. After editing and saving, follow the instructions at the top of the page to purge. See [[Wikipedia:Skin#Customisation (advanced users)]] for more help.
'''Font size'''
The font size for all reference lists defaults to 90% of the standard size. To change it, add:
&lt;source lang=&quot;css&quot;&gt;
ol.references,
div.reflist,
div.refbegin {
font-size: 90%;
}
&lt;/source&gt;
Change 90% to the desired size.
'''Columns'''
To disable columns, add:
&lt;source lang=&quot;css&quot;&gt;
.references-column-width {
-moz-column-width: auto !important;
-webkit-column-width: auto !important;
column-width: auto !important;
}
&lt;/source&gt;
'''Column dividers'''
To add dividers (rules) between columns, add:
&lt;source lang=&quot;css&quot;&gt;
.references-column-width {
-moz-column-rule: 1px solid #aaa;
-webkit-column-rule: 1px solid #aaa;
column-rule: 1px solid #aaa;
}
&lt;/source&gt;
You can alter the appearance of the dividers by changing the values.
==Perennial suggestions==
'''Collapsing and scrolling'''
There have been a number of requests to add functionality for a collapsible or [[WP:SCROLLING|scrolling]] reference list. These requests have not been fulfilled due to issues with readability, accessibility, and printing. The applicable guidelines are at [[MOS:SCROLL]]. Links between the inline cite and the reference list do not work when the reference list is enclosed in a collapsed box.
To display the reference list in a scrollbox or collapsed per user, see [[Help:Reference display customization]].
For discussion on previous attempts to do this with a template, see the discussions for [[Wikipedia:Templates for deletion/Log/2007 June 11#Template:Scrollref|Scrollref]] and [[Wikipedia:Templates for discussion/Log/2010 May 26#Template:Refbox|Refbox]].
'''Including the section title'''
There have been suggestions to include section header markup such as &lt;code&gt;==References==&lt;/code&gt;. This is inadvisable because:
* There is no standard section name {{crossref|(see {{section link|WP:Manual of Style/Layout|Notes and references}})}}.
* When transcluded, the article will have an edit link that will confusingly open the template for editing.
==Obsolete parameters==
These parameters are no longer in use:
* '''colwidth''': Same as specifying a column-width for the first unnamed parameter. Replaced by width as unnamed first parameter.
* '''close''': Until 2014, the parameter {{para|close|1}} was used to work around a bug involving multiple uses of {{tl|Reflist}} on the same page. When the bug was fixed, this was removed. ''(For multiple uses on talk pages and other non-article pages structured in sections, see {{tl|Reflist-talk}}.)''
Articles using unsupported parameters are tracked in {{clc|Pages using reflist with unknown parameters}}.
==Template data==
{{TemplateDataHeader}}
&lt;templatedata&gt;
{
&quot;description&quot;: &quot;This template displays the list of footnotes at the end of an article and provides additional formatting and organizing options. After hitting \&quot;Apply changes\&quot; and turning back to VE read mode, you will not see the references list. After hitting \&quot;Publish page\&quot; and turning back to normal read mode the reference list will reappear with the changes applied, see T53146.&quot;,
&quot;params&quot;: {
&quot;1&quot;: {
&quot;label&quot;: &quot;Columns / Column width&quot;,
&quot;type&quot;: &quot;string&quot;,
&quot;required&quot;: false,
&quot;description&quot;: &quot;Two modes supported. First mode (deprecated): integer number of fixed columns into which the reference list is to be rendered. Second mode: typographic unit of measurement such as 'em', specifying the width for the reference list columns, e.g. '33em'; spaced '33&amp;nbsp;em' will not be recognized&quot;,
&quot;default&quot;: &quot;1&quot;,
&quot;aliases&quot;: [
&quot;colwidth&quot;
]
},
&quot;liststyle&quot;: {
&quot;label&quot;: &quot;Liststyle&quot;,
&quot;type&quot;: &quot;string&quot;,
&quot;required&quot;: false,
&quot;description&quot;: &quot;Specifies the style used when the reference list is enumerated; accepts any valid CSS value defined for list-style-type&quot;,
&quot;default&quot;: &quot;decimal&quot;
},
&quot;group&quot;: {
&quot;label&quot;: &quot;Group&quot;,
&quot;type&quot;: &quot;string&quot;,
&quot;required&quot;: false,
&quot;description&quot;: &quot;Group is an identifier which restricts the references that are shown. Without this parameter, this template only shows references with no group identifier. With a group identifier specified, only references with a matching group identifier are handled. The rest are left alone.&quot;
},
&quot;refs&quot;: {
&quot;label&quot;: &quot;List of references&quot;,
&quot;type&quot;: &quot;string&quot;,
&quot;required&quot;: false,
&quot;description&quot;: &quot;Provides a space to define named references for use in the article. References defined in this space are not shown unless used somewhere in the article.&quot;
}
}
}
&lt;/templatedata&gt;
==See also==
* {{phab|T53260}} - Cite: Support multi-column and alternative list-style for {{tag|references|s}} tag (like enwiki {{tl|reflist}})
* [[Wikipedia:Citing sources]]&amp;nbsp;– style guide for the citation of sources
* [[Wikipedia:Citation templates]]&amp;nbsp;– templates for use with references
* {{tl|Refbegin}} and {{tl|Refend}}&amp;nbsp;– format reference lists
'''Variants'''
* {{tl|Template reference list}}&amp;nbsp;– version of reflist for use in templates
* {{tl|Reflist-talk}}&amp;nbsp;– for use in talk page sections and other non-mainspace pages
==References==
{{Reflist|group=general|refs=
&lt;ref group=general name=fontsize&gt;See [[User:Edokter/fonttest]] for a comparison of font sizes for various browsers; see [//en.wikipedia.org/w/index.php?title=Special%3ASearch&amp;redirs=1&amp;search=fonttest+prefix%3AMediaWiki+talk%3ACommon.css%2F&amp;fulltext=Search&amp;ns0=1 previous discussions] on changing the font size to resolve the IE issue.&lt;/ref&gt;
&lt;ref group=general name=stuffandnonsense&gt;{{cite web |accessdate=November 24, 2006 |date=December 30, 2005 |title=CSS3 Multi-Column Thriller |url=http://www.stuffandnonsense.co.uk/archives/css3_multi-column_thriller.html}}&lt;/ref&gt;
&lt;ref group=general name=w3org1&gt;{{cite web |url=http://www.w3.org/TR/css3-multicol/ |title=CSS3 module: Multi-column layout |publisher=[[World Wide Web Consortium|W3C]] |date=December 15, 2005 |accessdate=November 24, 2006}}&lt;/ref&gt;
&lt;ref group=general name=msdn&gt;{{cite web |url=http://msdn.microsoft.com/en-us/library/cc351024(VS.85).aspx#multicolumn |title=CSS Compatibility and Internet Explorer: Multi-column Layout |work=Microsoft Developer Network |publisher=Microsoft |accessdate=March 16, 2011}}&lt;/ref&gt;
}}
{{Wikipedia referencing}}
{{Wikipedia template messages}}
{{Wikipedia technical help}}
&lt;includeonly&gt;
{{#ifeq:{{SUBPAGENAME}}|sandbox| |
[[Category:Footnote templates]]
[[Category:Reference list templates]]
}}&lt;/includeonly&gt;</text>
<sha1>jqpciwl3vp9qrlg62nuwfyjtb154od1</sha1>
</revision>
</page>
<page>
<title>Template:Resize</title>
<ns>10</ns>
<id>7736359</id>
<revision>
<id>772120884</id>
<parentid>634340879</parentid>
<timestamp>2017-03-25T12:38:46Z</timestamp>
<contributor>
<username>Jo-Jo Eumerus</username>
<id>17449355</id>
</contributor>
<minor/>
<comment>Changed protection level for &quot;[[Template:Resize]]&quot;: Allowing template editors on some templates with full protection dating back to pre-[[WP:TPROT|TPROT]] times which aren't too often or too sensitively used. ([Edit=Require template editor access] (ind...</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="251">{{#if:{{{2|}}}
|&lt;span style=&quot;font-size:{{{1|}}};&quot;&gt;{{{2|}}}&lt;/span&gt;
|&lt;span style=&quot;font-size:90%;&quot;&gt;{{{1}}}&lt;/span&gt;
}}&lt;noinclude&gt;
{{documentation}}
{{Resize/TemplateData}}
&lt;!--PLEASE ADD CATEGORIES AND INTERWIKIS TO THE /doc SUBPAGE, THANKS--&gt;
&lt;/noinclude&gt;</text>
<sha1>8vlkuf84dyzx2md9so6zxdwn47bheg6</sha1>
</revision>
</page>
<page>
<title>Template:Search link</title>
<ns>10</ns>
<id>22517031</id>
<revision>
<id>805268863</id>
<parentid>802930649</parentid>
<timestamp>2017-10-14T06:22:42Z</timestamp>
<contributor>
<username>Cpiral</username>
<id>2517237</id>
</contributor>
<comment>Reverted. Current version fails displays at [[Wikipedia:Deletion_process#Search_all_deletion_discussions]]</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="3765">&lt;span class=&quot;plainlinks&quot;&gt;[{{fullurl:Special:Search|search=&lt;!--
--&gt;{{urlencode:{{{query|{{{text|{{{1|}}}}}}}}}}}&lt;!-- Given query
--&gt;{{#if:{{{limit|}}}|&amp;limit={{{limit|}}}}}&lt;!--
--&gt;{{#if:{{{ns|}}} {{{3|}}} {{{4|}}} {{{5|}}} {{{6|}}} {{{7|}}} {{{8|}}} {{{9|}}}{{{10|}}} {{{11|}}} {{{12|}}} {{{13|}}} {{{14|}}} {{{15|}}} {{{16|}}} {{{17|}}} {{{18|}}} {{{19|}}} {{{20|}}}
| &lt;!-- either ns or 3-20 has a value set--&gt;
{{#if:{{{ns|}}} &lt;!-- is ns set? --&gt;
| {{#ifeq: {{{ns}}} | all &lt;!-- ns is set. Is the value &quot;all&quot;?
--&gt;| &lt;!-- True, the value of ns is &quot;all&quot; --&gt;
&amp;ns0=1&amp;ns1=1&amp;ns2=1&amp;ns3=1&amp;ns4=1&amp;ns5=1&amp;ns6=1&amp;ns7=1&amp;ns8=1&amp;ns9=1&lt;!--
--&gt;&amp;ns10=1&amp;ns11=1&amp;ns12=1&amp;ns13=1&amp;ns14=1&amp;ns15=1&amp;ns100=1&amp;ns101=1&lt;!--
--&gt;&amp;ns108=1&amp;ns109=1&amp;ns118=1&amp;ns119=1&amp;ns446=1&amp;ns447=1&amp;ns710=1&lt;!--
--&gt;&amp;ns711=1&amp;ns828=1&amp;ns829=1&amp;ns2300=1&amp;ns2301=1&amp;ns2302=1&amp;ns2303=1&lt;!--
--&gt;&amp;ns2600=1
| &lt;!-- ns is set, but the value is not &quot;all&quot; --&gt;
&amp;{{lc:{{{ns}}}}} &lt;!-- You saw the &amp; added, and ns argument:
ns=ns5 gives &amp;ns5=1
Use {{lc:}} not only to lower case,
but also to strip away whitespace --&gt;
}}
}}{{
#if:{{{3|}}} &lt;!-- positional parameter 3 = &quot;ns0&quot; or other nsX --&gt;
| &amp;{{lc:{{{3|}}}}}=1
}}{{
#if:{{{4|}}}| &amp;{{lc:{{{4|}}}}}=1
}}{{
#if:{{{5|}}}| &amp;{{lc:{{{5|}}}}}=1
}}{{
#if:{{{6|}}}| &amp;{{lc:{{{6|}}}}}=1
}}{{
#if:{{{7|}}}| &amp;{{lc:{{{7|}}}}}=1
}}{{
#if:{{{8|}}}| &amp;{{lc:{{{8|}}}}}=1
}}{{
#if:{{{9|}}}| &amp;{{lc:{{{9|}}}}}=1
}}{{
#if:{{{10|}}}| &amp;{{lc:{{{10|}}}}}=1
}}{{
#if:{{{11|}}}| &amp;{{lc:{{{11|}}}}}=1
}}{{
#if:{{{12|}}}| &amp;{{lc:{{{12|}}}}}=1
}}{{
#if:{{{13|}}}| &amp;{{lc:{{{13|}}}}}=1
}}{{
#if:{{{14|}}}| &amp;{{lc:{{{14|}}}}}=1
}}{{
#if:{{{15|}}}| &amp;{{lc:{{{15|}}}}}=1
}}{{
#if:{{{16|}}}| &amp;{{lc:{{{16|}}}}}=1
}}{{
#if:{{{17|}}}| &amp;{{lc:{{{17|}}}}}=1
}}{{
#if:{{{18|}}}| &amp;{{lc:{{{18|}}}}}=1
}}{{
#if:{{{19|}}}| &amp;{{lc:{{{19|}}}}}=1
}}{{
#if:{{{20|}}}| &amp;{{lc:{{{20|}}}}}=1
}}
|&amp;ns0=1&lt;!-- Neither ns nor 3-20 were set.
So made Template Search link's default search domain
equal to article space;
otherwise user account can set it to &quot;all&quot; by default
at their own [[Special:Search]] Advanced
--&gt;}}&amp;fulltext=Search&lt;!-- does what &quot;~&quot; does when first character of query
Done with [URL part.
Now for the name] part of [URL name].
(The URL part already escapes square brackets [ ], in urlencode %5B %5D.)
--&gt;}}&lt;!--
You'll see the space. The &quot;replace&quot; wrappers escape square brackets in name.
--&gt; {{#invoke:String|replace&lt;!--
--&gt;|{{#invoke:String|replace
|{{#if:
{{{label|{{{link|{{{2|}}}}}}}}}&lt;!-- If a label is given, --&gt;
|&lt;nowiki /&gt;{{{label|{{{link|{{{2|}}}}}}}}}&lt;!-- protect it from a leading * or # --&gt;
|&lt;nowiki /&gt;{{{query|{{{text|{{{1|}}}}}}}}}&lt;!-- by using &lt;nowiki /&gt; (Help:wikitext)
--&gt;}}&lt;!--
--&gt;|[|&amp;#91;}}&lt;!-- ] with its html symbol
--&gt;|]|&amp;#93;}}&lt;!-- ] with its html symbol
--&gt;]&lt;/span&gt;&lt;!--
Output a hidden category: --&gt;{{#if: {{{ns|}}}{{{3|}}}{{{4|}}}{{{5|}}}{{{6|}}}{{{7|}}}{{{8|}}}{{{9|}}}{{{10|}}}{{{11|}}}{{{12|}}}{{{13|}}}{{{14|}}}{{{15|}}}{{{16|}}}{{{17|}}}{{{18|}}}{{{19|}}}{{{20|}}}
| [[Category:Search link templates with namespace parameters]]
}}&lt;noinclude&gt;
{{documentation}}
&lt;!-- Add categories to the /doc subpage, not here! --&gt;
&lt;/noinclude&gt;</text>
<sha1>rkb6indyxfqxeh25r6g0iw5xea5r0op</sha1>
</revision>
</page>
<page>
<title>Template:See also</title>
<ns>10</ns>
<id>1721254</id>
<revision>
<id>763260609</id>
<parentid>725632232</parentid>
<timestamp>2017-02-02T05:40:25Z</timestamp>
<contributor>
<username>Nihiltres</username>
<id>236191</id>
</contributor>
<comment>Updated from sandbox to use [[Module:Labelled list hatnote]]</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="199">&lt;includeonly&gt;{{#invoke:Labelled list hatnote|labelledList|See also}}&lt;/includeonly&gt;&lt;noinclude&gt;
{{documentation}}
&lt;!-- Categories go on the /doc subpage, and interwikis go on Wikidata. --&gt;
&lt;/noinclude&gt;</text>
<sha1>dn9i3dv2bt8lqifr6vkbycoya78rnav</sha1>
</revision>
</page>
<page>
<title>Template:Selfref</title>
<ns>10</ns>
<id>995731</id>
<revision>
<id>726826345</id>
<parentid>726442879</parentid>
<timestamp>2016-06-24T17:28:56Z</timestamp>
<contributor>
<username>Andy M. Wang</username>
<id>516856</id>
</contributor>
<comment>rm &quot;unprintworthy&quot; case, which doesn't work and spits out the error. Editor self-reverted 2 years ago</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="703">{{#switch:{{{2|NONE}}}
|NONE|hatnote|hat={{Hatnote|1=&lt;span class=&quot;plainlinks selfreference noprint&quot;&gt;{{{1}}}&lt;/span&gt;}}
|inline=&lt;span class=&quot;plainlinks selfreference&quot; style=&quot;font-style: italic;&quot;&gt;&lt;!--Same style as class hatnote.--&gt;{{{1}}}&lt;/span&gt;
|&lt;!--Matching the empty string here for unprintworthy content is for backwards compatibility with the 2006-2008 version. Do not depend on it!--&gt;=&lt;span class=&quot;plainlinks selfreference noprint&quot;&gt;{{{1}}}&lt;/span&gt;
|#default={{error|Second parameter must be &lt;code&gt;hatnote&lt;/code&gt;, &lt;code&gt;hat&lt;/code&gt;, or &lt;code&gt;inline&lt;/code&gt;}}
}}&lt;noinclude&gt;
{{Documentation}}
&lt;!-- PLEASE ADD THIS TEMPLATE'S CATEGORIES THE /doc SUBPAGE, AND INTERWIKIS TO WIKIDATA, THANKS --&gt;
&lt;/noinclude&gt;</text>
<sha1>iwoqua320uik4dhgbkhamftczli56n1</sha1>
</revision>
</page>
<page>
<title>Template:Sfnote</title>
<ns>10</ns>
<id>34625418</id>
<revision>
<id>821204088</id>
<parentid>587083872</parentid>
<timestamp>2018-01-19T00:33:22Z</timestamp>
<contributor>
<username>Primefac</username>
<id>11508456</id>
</contributor>
<minor/>
<comment>Protected &quot;[[Template:Sfnote]]&quot;: [[WP:SEMIPROT|semi-protection]] of high-usage templates to combat systematic vandalism ([Edit=Require autoconfirmed or confirmed access] (indefinite) [Move=Require autoconfirmed or confirmed access] (indefinite))</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="137">[[Help:Shortened footnotes|{{#ifeq:{{{lc}}}|{{{lc|}}}|shortened footnotes|Shortened footnotes}}]]&lt;noinclude&gt;{{documentation}}&lt;/noinclude&gt;</text>
<sha1>8hi4n62s2wu8csuwiwtqpnjpb36dofn</sha1>
</revision>
</page>
<page>
<title>Template:Sfrac/doc</title>
<ns>10</ns>
<id>34055055</id>
<revision>
<id>818237695</id>
<parentid>806263723</parentid>
<timestamp>2018-01-02T11:42:47Z</timestamp>
<contributor>
<username>Jhertel</username>
<id>119408</id>
</contributor>
<comment>/* Examples */ Added example to show that you can create more than just simple number fractions with this template.</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="3112">{{Documentation subpage}}
&lt;!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --&gt;
This template builds an alternative form of [[common fraction]]s, using a [[Vinculum (symbol)|vinculum]] (horizontal line), for [[Wikipedia:Manual of Style (mathematics)|scientific and mathematical text]]. It takes one, two or three parameters: the optional integer (may be signed), the optional numerator and the required denominator; in this order. Please '''do not''' substitute it.
; &lt;code&gt;&lt;nowiki&gt;{{sfrac|A|B|C}}&lt;/nowiki&gt;&lt;/code&gt;
: {{sfrac|A|B|C}} (integer, numerator and denominator)
; &lt;code&gt;&lt;nowiki&gt;{{sfrac|A|B}}&lt;/nowiki&gt;&lt;/code&gt;
: {{sfrac|A|B}} (numerator and denominator)
; &lt;code&gt;&lt;nowiki&gt;{{sfrac|A}}&lt;/nowiki&gt;&lt;/code&gt;
: {{sfrac|A}} (denominator only)
== Examples ==
{{sfrac|2}} {{sfrac|3}} {{sfrac|2|3}} {{sfrac|4}} {{sfrac|3|4}} {{sfrac|5}} {{sfrac|2|5}} {{sfrac|3|5}} {{sfrac|4|5}} {{sfrac|6}} {{sfrac|5|6}} {{sfrac|7}} {{sfrac|2|7}} {{sfrac|3|7}} {{sfrac|4|7}} {{sfrac|5|7}} {{sfrac|6|7}} {{sfrac|8}} {{sfrac|3|8}} {{sfrac|5|8}} {{sfrac|7|8}} {{sfrac|16}} {{sfrac|3|16}} {{sfrac|5|16}} {{sfrac|7|16}} {{sfrac|9|16}} {{sfrac|11|16}} {{sfrac|13|16}} {{sfrac|15|16}} {{sfrac|22|7}} {{sfrac|1|1|16}} {{sfrac|16|2|3}}
{{sfrac|2{{pi}}|''a''²''b''}}
'''Inside the {{tl|math|...}} template (for inline math):'''
{{math|
{{sfrac|2}} {{sfrac|3}} {{sfrac|2|3}} {{sfrac|4}} {{sfrac|3|4}} {{sfrac|5}} {{sfrac|2|5}} {{sfrac|3|5}} {{sfrac|4|5}} {{sfrac|6}} {{sfrac|5|6}} {{sfrac|7}} {{sfrac|2|7}} {{sfrac|3|7}} {{sfrac|4|7}} {{sfrac|5|7}} {{sfrac|6|7}} {{sfrac|8}} {{sfrac|3|8}} {{sfrac|5|8}} {{sfrac|7|8}} {{sfrac|16}} {{sfrac|3|16}} {{sfrac|5|16}} {{sfrac|7|16}} {{sfrac|9|16}} {{sfrac|11|16}} {{sfrac|13|16}} {{sfrac|15|16}} {{sfrac|22|7}} {{sfrac|1|1|16}} {{sfrac|16|2|3}} {{sfrac|2{{pi}}|''a''²''b''}}
}}
'''Inside the {{tl|bigmath|...}} template (for standalone math):'''
{{bigmath|
{{sfrac|2}} {{sfrac|3}} {{sfrac|2|3}} {{sfrac|4}} {{sfrac|3|4}} {{sfrac|5}} {{sfrac|2|5}} {{sfrac|3|5}} {{sfrac|4|5}} {{sfrac|6}} {{sfrac|5|6}} {{sfrac|7}} {{sfrac|2|7}} {{sfrac|3|7}} {{sfrac|4|7}} {{sfrac|5|7}} {{sfrac|6|7}} {{sfrac|8}} {{sfrac|3|8}} {{sfrac|5|8}} {{sfrac|7|8}} {{sfrac|16}} {{sfrac|3|16}} {{sfrac|5|16}} {{sfrac|7|16}} {{sfrac|9|16}} {{sfrac|11|16}} {{sfrac|13|16}} {{sfrac|15|16}} {{sfrac|22|7}} {{sfrac|1|1|16}} {{sfrac|16|2|3}} {{sfrac|2{{pi}}|''a''²''b''}}
}}
==See also==
* [[Wikipedia:Rendering math]]
* {{tl|frac}}, displays common fractions using a [[fraction slash]]
* {{tl|su}} ({{su|p=superscript|b=subscript}} text) – to align both b=subscript &amp; p=[[superscript]]
* {{tl|sub}} ({{sub|subscript}} text) – to show a [[subscript]]
* {{tl|sup}} ({{sup|superscript}} text) – to show a [[superscript]]
* {{tl|sup sub}} (text{{sup sub|sup|sub}}) – for both 1=superscript &amp; 2=subscript
* [[Help:Displaying a formula#Fractions, matrices, multilines]]
* [[Help:Convert#Fractions]]
{{Math templates|notation}}
&lt;includeonly&gt;
&lt;!-- CATEGORIES AND INTERWIKIS HERE, THANKS --&gt;
[[Category:Wikipedia formatting and function templates]]
[[Category:Mathematical formatting templates]]
&lt;/includeonly&gt;</text>
<sha1>11ij514n5jhi3970zw5ncr5c6khdrhw</sha1>
</revision>
</page>
<page>
<title>Template:Shortcut</title>
<ns>10</ns>
<id>694628</id>
<revision>
<id>638485698</id>
<parentid>638485566</parentid>
<timestamp>2014-12-17T12:24:34Z</timestamp>
<contributor>
<username>Mr. Stradivarius</username>
<id>4708675</id>
</contributor>
<minor/>
<comment>Changed protection level of Template:Shortcut: [[WP:High-risk templates|Highly visible template]]: allow template editors ([Edit=Allow only template editors and admins] (indefinite) [Move=Allow only template editors and admins] (indefinite))</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="169">&lt;includeonly&gt;{{#invoke:Shortcut|main}}&lt;/includeonly&gt;&lt;noinclude&gt;
{{documentation}}
&lt;!-- Categories go on the /doc subpage, and interwikis go on Wikidata. --&gt;
&lt;/noinclude&gt;</text>
<sha1>5idoxkkbt62sniipoe18t8iorl88qpo</sha1>
</revision>
</page>
<page>
<title>Template:Sidebar</title>
<ns>10</ns>
<id>1960394</id>
<revision>
<id>609956138</id>
<parentid>609911857</parentid>
<timestamp>2014-05-24T15:42:30Z</timestamp>
<contributor>
<username>Jackmcbarn</username>
<id>19285809</id>
</contributor>
<comment>appears to work in testcases, deploy it live</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="94">&lt;includeonly&gt;{{#invoke:Sidebar|sidebar}}&lt;/includeonly&gt;&lt;noinclude&gt;{{documentation}}&lt;/noinclude&gt;</text>
<sha1>2zokwtfwvucgrlrksr937kmldrijnwv</sha1>
</revision>
</page>
<page>
<title>Template:Smaller</title>
<ns>10</ns>
<id>5117873</id>
<revision>
<id>668584667</id>
<parentid>662442951</parentid>
<timestamp>2015-06-25T07:36:48Z</timestamp>
<contributor>
<username>Salix alba</username>
<id>212526</id>
</contributor>
<comment>needs a separate TemplateData page so works with VE</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="102">{{Resize|90%|{{{1}}}}}&lt;noinclude&gt;
{{Documentation|Template:Resize/doc}}
{{/TemplateData}}
&lt;/noinclude&gt;</text>
<sha1>k1qtrx9lyxt4z46c4w03964r8vs2pzc</sha1>
</revision>
</page>
<page>
<title>Template:Sp</title>
<ns>10</ns>
<id>25109112</id>
<revision>
<id>750709055</id>
<parentid>634141374</parentid>
<timestamp>2016-11-21T11:11:18Z</timestamp>
<contributor>
<username>Materialscientist</username>
<id>7852030</id>
</contributor>
<minor/>
<comment>Changed protection level for &quot;[[Template:Sp]]&quot;: [[WP:High-risk templates|Highly visible template]] ([Edit=Require template editor access] (indefinite) [Move=Require administrator access] (indefinite))</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="74">&lt;includeonly&gt;&amp;#32;&lt;/includeonly&gt;&lt;noinclude&gt;
{{Documentation}}
&lt;/noinclude&gt;</text>
<sha1>gxw7bqpdhxq4jgxnf2v3hw0vv9ua81v</sha1>
</revision>
</page>
<page>
<title>Template:Spaces</title>
<ns>10</ns>
<id>5660335</id>
<revision>
<id>687408551</id>
<parentid>663789983</parentid>
<timestamp>2015-10-25T11:38:26Z</timestamp>
<contributor>
<username>Edokter</username>
<id>1624037</id>
</contributor>
<comment>use class</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="394">&lt;span class=&quot;nowrap&quot;&gt;{{#iferror:{{#expr:{{{1|1}}}}}
|{{#switch:{{{1}}}
|fig=&amp;#8199;
|en=&amp;ensp;
|em=&amp;emsp;
|thin=&amp;thinsp;
|hair=&amp;#8202;
|&amp;nbsp;
}}
|{{#invoke:String|rep|{{#switch:{{{2}}}
|fig=&amp;#8199;
|en=&amp;ensp;
|em=&amp;emsp;
|thin=&amp;thinsp;
|hair=&amp;#8202;
|&amp;nbsp;
}}|{{{1|1}}}}}
}}&lt;/span&gt;&lt;noinclude&gt;
{{documentation}}
&lt;/noinclude&gt;</text>
<sha1>jukvcl40dksi5vvimpqq0n6czue0473</sha1>
</revision>
</page>
<page>
<title>Template:Split from</title>
<ns>10</ns>
<id>20585242</id>
<redirect title="Template:Split article" />
<revision>
<id>747877086</id>
<parentid>747297018</parentid>
<timestamp>2016-11-04T22:32:10Z</timestamp>
<contributor>
<username>BU Rob13</username>
<id>25420061</id>
</contributor>
<comment>R from merge</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="54">#REDIRECT [[Template:Split article]]
{{R from merge}}</text>
<sha1>n6efsypjn11e9gy7qxqlntkgjd5zrag</sha1>
</revision>
</page>
<page>
<title>Template:Split to</title>
<ns>10</ns>
<id>21573899</id>
<redirect title="Template:Split article" />
<revision>
<id>747877129</id>
<parentid>747298447</parentid>
<timestamp>2016-11-04T22:32:26Z</timestamp>
<contributor>
<username>BU Rob13</username>
<id>25420061</id>
</contributor>
<comment>r from merge</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="54">#REDIRECT [[Template:Split article]]
{{R from merge}}</text>
<sha1>n6efsypjn11e9gy7qxqlntkgjd5zrag</sha1>
</revision>
</page>
<page>
<title>Template:Sqrt</title>
<ns>10</ns>
<id>5673854</id>
<redirect title="Template:Radic" />
<revision>
<id>819688108</id>
<parentid>806929440</parentid>
<timestamp>2018-01-10T19:22:20Z</timestamp>
<contributor>
<username>Primefac</username>
<id>11508456</id>
</contributor>
<minor/>
<comment>Protected &quot;[[Template:Sqrt]]&quot;: [[WP:SEMI|semi-protecting]] highly-visible templates in response to recent template-space vandalism ([Edit=Require autoconfirmed or confirmed access] (indefinite) [Move=Require autoconfirmed or confirmed access] (indefini...</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="63">#REDIRECT [[Template:Radic]]
{{Rcat shell|
{{R from merge}}
}}</text>
<sha1>p4lnnpx0qr0rftc1maw3mz3kk0bsfdh</sha1>
</revision>
</page>
<page>
<title>Template:Stack</title>
<ns>10</ns>
<id>6757688</id>
<revision>
<id>768924897</id>
<parentid>744219810</parentid>
<timestamp>2017-03-06T15:35:13Z</timestamp>
<contributor>
<username>Frietjes</username>
<id>13791031</id>
</contributor>
<comment>seems like a sensible addition, revert if this causes problems</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="1295">&lt;div class=&quot;mw-stack mobile-float-reset&quot;
style=&quot;box-sizing: border-box; {{{style|{{#switch:{{{clear|}}}
| true = clear:{{{float|right}}};
| left|right|both = clear:{{{clear|}}};
| #default=
}} float:{{{float|right}}};}}}&quot;&gt;&lt;!--
--&gt;{{#if:{{{1|}}}|&lt;div style=&quot;overflow: hidden; margin: {{{cellspacing|1}}}px;&quot;&gt;{{{1}}}&lt;/div&gt;}}&lt;!--
--&gt;{{#if:{{{2|}}}|&lt;div style=&quot;overflow: hidden; margin: {{{cellspacing|1}}}px;&quot;&gt;{{{2}}}&lt;/div&gt;}}&lt;!--
--&gt;{{#if:{{{3|}}}|&lt;div style=&quot;overflow: hidden; margin: {{{cellspacing|1}}}px;&quot;&gt;{{{3}}}&lt;/div&gt;}}&lt;!--
--&gt;{{#if:{{{4|}}}|&lt;div style=&quot;overflow: hidden; margin: {{{cellspacing|1}}}px;&quot;&gt;{{{4}}}&lt;/div&gt;}}&lt;!--
--&gt;{{#if:{{{5|}}}|&lt;div style=&quot;overflow: hidden; margin: {{{cellspacing|1}}}px;&quot;&gt;{{{5}}}&lt;/div&gt;}}&lt;!--
--&gt;{{#if:{{{6|}}}|&lt;div style=&quot;overflow: hidden; margin: {{{cellspacing|1}}}px;&quot;&gt;{{{6}}}&lt;/div&gt;}}&lt;!--
--&gt;{{#if:{{{7|}}}|&lt;div style=&quot;overflow: hidden; margin: {{{cellspacing|1}}}px;&quot;&gt;{{{7}}}&lt;/div&gt;}}&lt;!--
--&gt;{{#if:{{{8|}}}|&lt;div style=&quot;overflow: hidden; margin: {{{cellspacing|1}}}px;&quot;&gt;{{{8}}}&lt;/div&gt;}}&lt;!--
--&gt;{{#if:{{{9|}}}|&lt;div style=&quot;overflow: hidden; margin: {{{cellspacing|1}}}px;&quot;&gt;{{{9}}}&lt;/div&gt;}}&lt;!--
--&gt;&lt;/div&gt;&lt;!--
--&gt;&lt;noinclude&gt;{{Documentation}}&lt;/noinclude&gt;</text>
<sha1>41o3fxfrdab7gyg1nlmpowwd3kirvdj</sha1>
</revision>
</page>
<page>
<title>Template:Str endswith</title>
<ns>10</ns>
<id>22860091</id>
<revision>
<id>752100802</id>
<parentid>748257234</parentid>
<timestamp>2016-11-29T14:22:27Z</timestamp>
<contributor>
<username>BU Rob13</username>
<id>25420061</id>
</contributor>
<minor/>
<comment>Changed protection level for &quot;[[Template:Str endswith]]&quot;: [[WP:High-risk templates|Highly visible template]] ([Edit=Require template editor access] (indefinite) [Move=Require administrator access] (indefinite))</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="71">{{#invoke:Str endswith|main}}&lt;noinclude&gt;
{{documentation}}
&lt;/noinclude&gt;</text>
<sha1>gkfardrqegdkd78zd99vm0nrkhvl505</sha1>
</revision>
</page>
<page>
<title>Template:Str left</title>
<ns>10</ns>
<id>21696393</id>
<revision>
<id>741880261</id>
<parentid>605122708</parentid>
<timestamp>2016-09-30T07:01:19Z</timestamp>
<contributor>
<username>Ymblanter</username>
<id>14596827</id>
</contributor>
<minor/>
<comment>Changed protection level of Template:Str left: [[WP:High-risk templates|Highly visible template]]: RFPP request ([Edit=Require template editor access] (indefinite) [Move=Require template editor access] (indefinite))</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="184">&lt;includeonly&gt;{{safesubst:padleft:|{{{2|1}}}|{{{1}}}}}&lt;/includeonly&gt;&lt;noinclude&gt;
{{documentation}}
&lt;!-- Categories go on the /doc subpage, and interwikis go on Wikidata. --&gt;
&lt;/noinclude&gt;</text>
<sha1>3rrdme1fpv80h1kdk9b7zwlkqd34dfk</sha1>
</revision>
</page>
<page>
<title>Template:Str len</title>
<ns>10</ns>
<id>22144387</id>
<revision>
<id>774485346</id>
<parentid>538982020</parentid>
<timestamp>2017-04-08T19:49:02Z</timestamp>
<contributor>
<username>Jo-Jo Eumerus</username>
<id>17449355</id>
</contributor>
<minor/>
<comment>Changed protection level for &quot;[[Template:Str len]]&quot;: [[WP:High-risk templates|Highly visible template]]: Allowing template editors ([Edit=Require template editor access] (indefinite) [Move=Require template editor access] (indefinite))</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="163">{{{{{|safesubst:}}}#invoke:String|len|s={{{1|}}}}}&lt;noinclude&gt;
{{documentation}}
&lt;!-- Add categories and interwikis to the /doc subpage, not here! --&gt;
&lt;/noinclude&gt;</text>
<sha1>b1x8qcqpdocnua2ihkd8pr5jd1jn7xn</sha1>
</revision>
</page>
<page>
<title>Template:Str rep</title>
<ns>10</ns>
<id>24238435</id>
<revision>
<id>656461393</id>
<parentid>656457182</parentid>
<timestamp>2015-04-14T16:35:55Z</timestamp>
<contributor>
<username>Redrose64</username>
<id>9612106</id>
</contributor>
<minor/>
<comment>Protected Template:Str rep: [[WP:High-risk templates|Highly visible template]]: 167176 transclusions ([Edit=Allow only template editors and admins] (indefinite) [Move=Allow only template editors and admins] (indefinite))</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="100">{{#invoke:String|replace|source={{{1}}}|{{{2}}}|{{{3}}}|1}}&lt;noinclude&gt;
{{Documentation}}&lt;/noinclude&gt;</text>
<sha1>8aojqr2n3b0gv6drwu3safb8kuckf72</sha1>
</revision>
</page>
<page>
<title>Template:Stub</title>
<ns>10</ns>
<id>726079</id>
<revision>
<id>681054964</id>
<parentid>617146299</parentid>
<timestamp>2015-09-14T22:07:23Z</timestamp>
<contributor>
<username>CambridgeBayWeather</username>
<id>294180</id>
</contributor>
<minor/>
<comment>Changed protection level of Template:Stub: Allow template editors ([Edit=Allow only template editors and admins] (indefinite) [Move=Allow only template editors and admins] (indefinite))</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="173">{{asbox
| image =
| pix =
| subject =
| article = article
| qualifier =
| category = stubs
| tempsort = no
| lowercase = y
| name = Template:Stub
}}</text>
<sha1>qpim7wcagjj48hgn00dudy2smec1ojs</sha1>
</revision>
</page>
<page>
<title>Template:Stub/doc</title>
<ns>10</ns>
<id>24108775</id>
<revision>
<id>607749352</id>
<parentid>565156240</parentid>
<timestamp>2014-05-09T08:49:57Z</timestamp>
<contributor>
<username>Jdforrester (WMF)</username>
<id>16866055</id>
</contributor>
<comment>+ TemplateData</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="259">&lt;!-- Intentionally blank: interlanguage links for [[Template:Stub]] are now held at [[d:Special:ItemByTitle/enwiki/Template:Stub]]. --&gt;
&lt;templatedata&gt;
{
&quot;description&quot;: &quot;Standard template used for sorting articles into stubs.&quot;,
&quot;params&quot;: {}
}
&lt;/templatedata&gt;</text>
<sha1>48epynqa0ny2yq1ovggj3jylysze9r1</sha1>
</revision>
</page>
<page>
<title>Template:Su</title>
<ns>10</ns>
<id>16844188</id>
<revision>
<id>738175934</id>
<parentid>614620386</parentid>
<timestamp>2016-09-07T11:20:24Z</timestamp>
<contributor>
<username>Jc86035</username>
<id>17245768</id>
</contributor>
<minor/>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="153">{{{{{|safesubst:}}}#invoke:Su|main}}&lt;noinclude&gt;
{{documentation}}
&lt;!-- Categories go on the /doc subpage, and interwikis go on Wikidata. --&gt;
&lt;/noinclude&gt;</text>
<sha1>86mq7zo1b7pnz8vimm8o4iqd9ulpsjs</sha1>
</revision>
</page>
<page>
<title>Template:Sub</title>
<ns>10</ns>
<id>825723</id>
<revision>
<id>772120923</id>
<parentid>241773706</parentid>
<timestamp>2017-03-25T12:38:47Z</timestamp>
<contributor>
<username>Jo-Jo Eumerus</username>
<id>17449355</id>
</contributor>
<minor/>
<comment>Changed protection level for &quot;[[Template:Sub]]&quot;: Allowing template editors on some templates with full protection dating back to pre-[[WP:TPROT|TPROT]] times which aren't too often or too sensitively used. ([Edit=Require template editor access] (indefi...</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="151">&lt;includeonly&gt;&lt;sub&gt;{{{1}}}&lt;/sub&gt;&lt;/includeonly&gt;&lt;noinclude&gt;
{{documentation}}
&lt;!-- Add cats and interwikis to the /doc subpage, not here! --&gt;
&lt;/noinclude&gt;</text>
<sha1>0dcxz86bgxryx188cdl7v3b2rz9mrw7</sha1>
</revision>
</page>
<page>
<title>Template:Sup</title>
<ns>10</ns>
<id>825724</id>
<revision>
<id>772120948</id>
<parentid>241733016</parentid>
<timestamp>2017-03-25T12:38:48Z</timestamp>
<contributor>
<username>Jo-Jo Eumerus</username>
<id>17449355</id>
</contributor>
<minor/>
<comment>Changed protection level for &quot;[[Template:Sup]]&quot;: Allowing template editors on some templates with full protection dating back to pre-[[WP:TPROT|TPROT]] times which aren't too often or too sensitively used. ([Edit=Require template editor access] (indefi...</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="151">&lt;includeonly&gt;&lt;sup&gt;{{{1}}}&lt;/sup&gt;&lt;/includeonly&gt;&lt;noinclude&gt;
{{documentation}}
&lt;!-- Add cats and interwikis to the /doc subpage, not here! --&gt;
&lt;/noinclude&gt;</text>
<sha1>p7jtnmtnj3q8sxqqsv78o732eq15smw</sha1>
</revision>
</page>
<page>
<title>Template:Sup sub</title>
<ns>10</ns>
<id>8535760</id>
<revision>
<id>743117862</id>
<parentid>742950886</parentid>
<timestamp>2016-10-07T23:14:19Z</timestamp>
<contributor>
<username>Pppery</username>
<id>28032115</id>
</contributor>
<comment>Tfd closed as keep</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="68">{{su|p={{{1}}}|b={{{2}}}}}&lt;noinclude&gt;
{{Documentation}}
&lt;/noinclude&gt;</text>
<sha1>cxope4qnwfzs7y8a2t0if7r1s15cg8w</sha1>
</revision>
</page>
<page>
<title>Template:Tag</title>
<ns>10</ns>
<id>7252577</id>
<revision>
<id>794128426</id>
<parentid>793306182</parentid>
<timestamp>2017-08-06T01:04:45Z</timestamp>
<contributor>
<username>Train2104</username>
<id>10341578</id>
</contributor>
<comment>fix order of switch statements</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="746">&lt;code class=&quot;{{#ifeq:{{{wrap|}}}|yes|wrap|nowrap}}&quot; style=&quot;{{#ifeq:{{{style|}}}|plain|border:none;background:transparent;|{{{style|}}}}}&quot;&gt;&lt;!--
Opening tag
--&gt;{{#switch:{{{2|pair}}}
|c|close =
|e|empty|s|single|v|void
|o|open
|p|pair = &amp;lt;{{{1|tag}}}{{#if:{{{params|}}}|&amp;#32;{{{params}}}}}
}}&lt;!--
Content between tags
--&gt;{{#switch:{{{2|pair}}}
|c|close = {{{content|}}}
|e|empty|s|single|v|void = &amp;#32;&amp;#47;&amp;gt;
|o|open = &amp;gt;{{{content|}}}
|p|pair = {{#ifeq:{{{1|tag}}}|!--||&amp;gt;}}{{{content|...}}}
}}&lt;!--
Closing tag
--&gt;{{#switch:{{{2|pair}}}
|e|empty|s|single|v|void
|o|open =
|c|close
|p|pair = {{#ifeq:{{{1|tag}}}|!--|--&amp;gt;|&amp;lt;&amp;#47;{{{1|tag}}}&amp;gt;}}
}}&lt;!--
--&gt;&lt;/code&gt;&lt;noinclude&gt;
{{Documentation}}
&lt;/noinclude&gt;</text>
<sha1>i26oletgtnmnhueookj1je1dvdw3wvr</sha1>
</revision>
</page>
<page>
<title>Template:Template error report</title>
<ns>10</ns>
<id>51792646</id>
<revision>
<id>804532230</id>
<parentid>761214908</parentid>
<timestamp>2017-10-09T16:54:31Z</timestamp>
<contributor>
<username>MusikAnimal</username>
<id>14882394</id>
</contributor>
<minor/>
<comment>Protected &quot;[[Template:Template error report]]&quot;: [[WP:High-risk templates|Highly visible template]]; thousands of transclusions ([Edit=Require autoconfirmed or confirmed access] (indefinite))</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="241">See the [https://tools.wmflabs.org/bambots/TemplateParam.php?wiki=enwiki&amp;template={{Urlencode:{{{1|{{ROOTPAGENAME}}}}}}} monthly error report] for this template.&lt;noinclude&gt;
{{documentation}}
[[Category:External link templates]]&lt;/noinclude&gt;</text>
<sha1>khv3elmnd6elbaw07i91b5bhw2zus66</sha1>
</revision>
</page>
<page>
<title>Template:Template usage</title>
<ns>10</ns>
<id>47053462</id>
<revision>
<id>671784993</id>
<parentid>671753424</parentid>
<timestamp>2015-07-16T23:54:47Z</timestamp>
<contributor>
<username>Cpiral</username>
<id>2517237</id>
</contributor>
<comment>improve the regex tricky part</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="5336">&lt;!-- Curly brackets matching should ignore [^}], \{{!}}; insource:/\{} is OK.
--&gt;&lt;onlyinclude&gt;&lt;!--
Make a search link.
--&gt;{{plain link
|url =
{{fullurl:Special:Search|search=&lt;!--
--&gt;{{urlencode:&lt;!-- encodes spaces, so let's avoid unecessary spaces.
Build this query:
hastemplate: template insource:/\{\{ *[Tt]emplate *\| *[^}]*pattern/
Add the ever present &quot;hastemplate:&quot; filter and a space
--&gt;hastemplate:&quot;{{{template|{{{1|Template usage}}}}}}&quot; &lt;!--
Add the &quot;insource:/\{\{ *&quot;
--&gt;insource:/\{\{ *&lt;!--
Add the &quot;[Tt]&quot;.
Save from an expensive, /regexp/i.
--&gt;[{{#invoke:String|sub&lt;!-- saw first [ of a &quot;[Tt]&quot; --&gt;
|{{uc:{{{template|{{{1|Template usage}}}}}}}}|1|1}}{{#invoke:String|sub
|{{lc:{{{template|{{{1|Template usage}}}}}}}}|1|1}}]{{#invoke:String|sub
&lt;!-- ^
You saw ].
Add &quot;emplate&quot;, the rest of the template name, starting from char 2.--&gt;
|{{{template|{{{1|Template usage}}}}}}|2}}&lt;!--
Add the tricky regexp part.
--&gt; *\{{!}}[^}]*&lt;!-- optional space &quot; *&quot; around initial pipe
initial pipe is \|, i.e. \{{!}}
Trickiest part: [character class] inverted with ^: [^any char NOT }]
Zero or more (*) of those &quot;non-curly brackets&quot;.
All this stuff always matches, shows in bold in the search results
Add the users regexp pattern part and closing /.
--&gt;{{{pattern|{{{2|''regexp''}}}}}}/&lt;!--
Add &quot;prefix:&quot; You see the space before it.
--&gt; prefix:&lt;!--
--&gt;{{#switch:&lt;!-- add namespace &quot;numbers and letters&quot; recognition --&gt;
{{{prefix|{{{3|}}}}}}
|#default = {{{prefix|{{{3|{{FULLPAGENAME}}}}}}}}
|n = {{NAMESPACE}}
|0|: = :
|1 = {{ns:1}}:
|2 = {{ns:2}}:
|3 = {{ns:3}}:
|4 = {{ns:4}}:
|5 = {{ns:5}}:
|6 = {{ns:6}}:
|7 = {{ns:7}}:
|8 = {{ns:8}}:
|9 = {{ns:9}}:
|10 = {{ns:10}}:
|11 = {{ns:11}}:
|12 = {{ns:12}}:
|13 = {{ns:13}}:
|14 = {{ns:14}}:
|15 = {{ns:15}}:
|100 = {{ns:100}}:
|101 = {{ns:101}}:
|108 = {{ns:108}}:
|109 = {{ns:109}}:
|118 = {{ns:118}}:
|119 = {{ns:119}}:
|446 = {{ns:446}}:
|447 = {{ns:447}}:
|711 = {{ns:711}}:
|710 = {{ns:710}}:
|828 = {{ns:828}}:
|829 = {{ns:829}}:
|2600 = {{ns:2600}}:
}}
}}&lt;!-- End urlencode. --&gt;
}}&lt;!-- End fullurl
url done
Now for name param of plainlinks.
Appearance of link looks just like the query, unless labeled.
So we're rebuilding the query just for show this time. --&gt;
|name = &lt;!-- for commentary see duplicate above --&gt;
{{#if:
{{{label|{{{4|}}}}}}
|{{{label|{{{4}}}}}}
|{{#if:
{{{prefix|{{{3|}}}}}}
|hastemplate:&quot;{{{template|{{{1|Template usage}}}}}}&quot; &lt;!--
--&gt;insource:/\{\{ *&lt;!--
--&gt;&amp;#91;{{#invoke:String|sub&lt;!-- saw first [ of a &quot;[Tt]&quot; --&gt;
|{{uc:{{{template|{{{1|Template usage}}}}}}}}|1|1}}{{#invoke:String|sub
|{{lc:{{{template|{{{1|Template usage}}}}}}}}|1|1}}&amp;#93;{{#invoke:String|sub
|{{{template|{{{1|Template usage}}}}}}|2}}&lt;!-- ^
--&gt; *\{{!}}&amp;#91;^}&amp;#93;*&lt;!-- optional space &quot; *&quot; around initial pipe
--&gt;{{#invoke:String|replace
|{{#invoke:String|replace
|{{{pattern|{{{2|''regexp''}}}}}}&lt;!-- Given pattern
--&gt;|[|&amp;#91;}}&lt;!-- Replace any/all [ with HTML symbol
--&gt;|]|&amp;#93;}}/&lt;!-- replace any/all ] with there HTML symbol
--&gt; prefix:&lt;!--
--&gt;{{#switch:&lt;!-- add namespace &quot;numbers and letters&quot; recognition --&gt;
{{{prefix|{{{3|}}}}}}
|#default = {{{prefix|{{{3|{{FULLPAGENAME}}}}}}}}
|n = {{NAMESPACE}}
|0|: = &lt;nowiki /&gt;:
|1 = {{ns:1}}:
|2 = {{ns:2}}:
|3 = {{ns:3}}:
|4 = {{ns:4}}:
|5 = {{ns:5}}:
|6 = {{ns:6}}:
|7 = {{ns:7}}:
|8 = {{ns:8}}:
|9 = {{ns:9}}:
|10 = {{ns:10}}:
|11 = {{ns:11}}:
|12 = {{ns:12}}:
|13 = {{ns:13}}:
|14 = {{ns:14}}:
|15 = {{ns:15}}:
|100 = {{ns:100}}:
|101 = {{ns:101}}:
|108 = {{ns:108}}:
|109 = {{ns:109}}:
|118 = {{ns:118}}:
|119 = {{ns:119}}:
|446 = {{ns:446}}:
|447 = {{ns:447}}:
|711 = {{ns:711}}:
|710 = {{ns:710}}:
|828 = {{ns:828}}:
|829 = {{ns:829}}:
|2600 = {{ns:2600}}:
}}
|{{#invoke:String|replace
|{{#invoke:String|replace
|'''Testing''' &lt;kbd&gt;{{{pattern|{{{2}}}}}}&lt;/kbd&gt; '''on this page'''&lt;!--
--&gt;|[|&amp;#91;}}&lt;!-- Replace any/all [ with HTML symbol
--&gt;|]|&amp;#93;}}&lt;!-- replace any/all ] with there HTML symbol--&gt;
}}
}}
}}&lt;!-- End of plainlinks
--&gt;&lt;/onlyinclude&gt;&lt;noinclude&gt;{{Documentation}}&lt;/noinclude&gt;</text>
<sha1>5bnzat7x7o2c3eh77ha23yut4a2a92n</sha1>
</revision>
</page>
<page>
<title>Template:TemplateData header</title>
<ns>10</ns>
<id>40047498</id>
<revision>
<id>751699557</id>
<parentid>751697852</parentid>
<timestamp>2016-11-27T09:49:55Z</timestamp>
<contributor>
<username>Zyxw</username>
<id>473593</id>
</contributor>
<minor/>
<comment>fix prior edit</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="470">&lt;div class=&quot;templatedata-header&quot;&gt;{{#if:{{{noheader|}}}| |This is the {{#if:{{{nolink|}}}|TemplateData|[[Wikipedia:TemplateData|TemplateData]]}} documentation for this template used by [[Wikipedia:VisualEditor|VisualEditor]] and other tools.}}
{{Template error report}}
'''TemplateData for {{{1|{{BASEPAGENAME}}}}}'''
&lt;/div&gt;&lt;includeonly&gt;{{#ifeq:{{SUBPAGENAME}}|sandbox||
[[Category:TemplateData documentation]]
}}&lt;/includeonly&gt;&lt;noinclude&gt;
{{Documentation}}
&lt;/noinclude&gt;</text>
<sha1>3ft4xbyvsxu6dppn5iqepshqcb43e27</sha1>
</revision>
</page>
<page>
<title>Template:TemplateDataHeader</title>
<ns>10</ns>
<id>46746520</id>
<redirect title="Template:TemplateData header" />
<revision>
<id>663071012</id>
<timestamp>2015-05-19T11:48:58Z</timestamp>
<contributor>
<username>MSGJ</username>
<id>42630</id>
</contributor>
<comment>MSGJ moved page [[Template:TemplateDataHeader]] to [[Template:TemplateData header]]: slightly clearer</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="58">#REDIRECT [[Template:TemplateData header]]
{{R from move}}</text>
<sha1>bfnm7z66t4q2d8otfa0y3vtgkcwrfao</sha1>
</revision>
</page>
<page>
<title>Template:Title disambig text</title>
<ns>10</ns>
<id>23313287</id>
<revision>
<id>649039363</id>
<parentid>649033363</parentid>
<timestamp>2015-02-27T04:03:13Z</timestamp>
<contributor>
<username>Dragons flight</username>
<id>16980</id>
</contributor>
<comment>Undid revision 649033238 by [[Special:Contributions/Mr. Stradivarius|Mr. Stradivarius]] ([[User talk:Mr. Stradivarius|talk]]) rv, doesn't work</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="108">{{#invoke:String|match|{{{1}}}|%s%((.-)%)||-1|ignore_errors=true}}&lt;noinclude&gt;
{{documentation}}
&lt;/noinclude&gt;</text>
<sha1>ilxumhzbwfer1yie7wy5zkbh03dx5fy</sha1>
</revision>
</page>
<page>
<title>Template:Title without disambig</title>
<ns>10</ns>
<id>24755203</id>
<redirect title="Template:PAGENAMEBASE" />
<revision>
<id>774570987</id>
<parentid>634416337</parentid>
<timestamp>2017-04-09T09:56:30Z</timestamp>
<contributor>
<username>Jo-Jo Eumerus</username>
<id>17449355</id>
</contributor>
<minor/>
<comment>Changed protection level for &quot;[[Template:Title without disambig]]&quot;: Matching redirect target ([Edit=Require template editor access] (indefinite) [Move=Require template editor access] (indefinite))</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="34">#REDIRECT[[Template:PAGENAMEBASE]]</text>
<sha1>5uxpj1syfqtkyzoptezqc64pt4ax47b</sha1>
</revision>
</page>
<page>
<title>Template:Tl</title>
<ns>10</ns>
<id>1487430</id>
<revision>
<id>776260390</id>
<parentid>622723682</parentid>
<timestamp>2017-04-19T22:28:34Z</timestamp>
<contributor>
<username>Lectonar</username>
<id>128863</id>
</contributor>
<minor/>
<comment>Changed protection level for &quot;[[Template:Tl]]&quot;: request at rfp ([Edit=Require template editor access] (indefinite) [Move=Require template editor access] (indefinite))</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="168">&amp;#123;&amp;#123;[[Template:{{{1}}}|{{{1}}}]]&amp;#125;&amp;#125;&lt;noinclude&gt;
{{documentation}}
&lt;!-- Categories go on the /doc subpage and interwikis go on Wikidata. --&gt;
&lt;/noinclude&gt;</text>
<sha1>h0vr3yvr9jdyd17x82vnav21ngwmxuk</sha1>
</revision>
</page>
<page>
<title>Template:Tla</title>
<ns>10</ns>
<id>30468047</id>
<revision>
<id>558951386</id>
<parentid>496745652</parentid>
<timestamp>2013-06-08T19:38:47Z</timestamp>
<contributor>
<username>Patrick87</username>
<id>17323256</id>
</contributor>
<comment>switch to using [[Template:tlg]] internally</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="644">{{Tlg|subst={{{subst|}}}|nowrap={{{nowrap|}}}|{{{1|}}}&lt;!--
--&gt;|alttext{{#ifeq:{{{2}}}|{{{2|x}}}||x}}={{{2}}}&lt;!--
--&gt;|3{{#ifeq:{{{3}}}|{{{3|x}}}||x}}={{{3}}}&lt;!--
--&gt;|4{{#ifeq:{{{4}}}|{{{4|x}}}||x}}={{{4}}}&lt;!--
--&gt;|5{{#ifeq:{{{5}}}|{{{5|x}}}||x}}={{{5}}}&lt;!--
--&gt;|6{{#ifeq:{{{6}}}|{{{6|x}}}||x}}={{{6}}}&lt;!--
--&gt;|7{{#ifeq:{{{7}}}|{{{7|x}}}||x}}={{{7}}}&lt;!--
--&gt;|8{{#ifeq:{{{8}}}|{{{8|x}}}||x}}={{{8}}}&lt;!--
--&gt;|9{{#ifeq:{{{9}}}|{{{9|x}}}||x}}={{{9}}}&lt;!--
--&gt;|10{{#ifeq:{{{10}}}|{{{10|x}}}||x}}={{{10}}}&lt;!--
--&gt;|11{{#ifeq:{{{11}}}|{{{11|x}}}||x}}={{{11}}}&lt;!--
--&gt;|12{{#ifeq:{{{12}}}|{{{12|x}}}||x}}={{{12}}}}}&lt;noinclude&gt;
{{Documentation}}
&lt;/noinclude&gt;</text>
<sha1>ekbj8d6mb201bbowib5w307op3y4n8t</sha1>
</revision>
</page>
<page>
<title>Template:Tlbare</title>
<ns>10</ns>
<id>43565073</id>
<revision>
<id>819686334</id>
<parentid>626313855</parentid>
<timestamp>2018-01-10T19:17:38Z</timestamp>
<contributor>
<username>Primefac</username>
<id>11508456</id>
</contributor>
<minor/>
<comment>Protected &quot;[[Template:Tlbare]]&quot;: [[WP:SEMI|semi-protecting]] highly-visible templates in response to recent template-space vandalism ([Edit=Require autoconfirmed or confirmed access] (indefinite) [Move=Require autoconfirmed or confirmed access] (indefi...</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="238">{{#if:{{str endswith|{{{1}}}|%}} &lt;!--(i.e. if {{{1}}} is a percentage)--&gt;
| [[Template:{{{2}}}|&lt;span style=&quot;font-size:{{{1}}};&quot;&gt;{{{3|{{{2}}}}}}&lt;/span&gt;]]
| [[Template:{{{1}}}|{{{2|{{{1}}}}}}]]
}}&lt;noinclude&gt;
{{Documentation}}
&lt;/noinclude&gt;</text>
<sha1>atiz55vvk4gem0tvnnsrtowqye3jkoh</sha1>
</revision>
</page>
<page>
<title>Template:Tlc</title>
<ns>10</ns>
<id>16451497</id>
<revision>
<id>651651640</id>
<parentid>558397105</parentid>
<timestamp>2015-03-16T16:28:33Z</timestamp>
<contributor>
<username>SlimVirgin</username>
<id>129409</id>
</contributor>
<minor/>
<comment>Changed protection level of Template:Tlc: per RfPP ([Edit=Allow only template editors and admins] (indefinite) [Move=Allow only template editors and admins] (indefinite))</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="656">&lt;span class=&quot;nowrap&quot;&gt;&lt;code&gt;&amp;#123;&amp;#123;{{#if:{{{1|}}}|{{{1}}}| tlc&amp;#124;...}}&lt;!--
--&gt;{{#ifeq:{{{2|x}}}|{{{2|}}}| &amp;#124;{{{2}}} | }}&lt;!--
--&gt;{{#ifeq:{{{3|x}}}|{{{3|}}}| &amp;#124;{{{3}}} | }}&lt;!--
--&gt;{{#ifeq:{{{4|x}}}|{{{4|}}}| &amp;#124;{{{4}}} | }}&lt;!--
--&gt;{{#ifeq:{{{5|x}}}|{{{5|}}}| &amp;#124;{{{5}}} | }}&lt;!--
--&gt;{{#ifeq:{{{6|x}}}|{{{6|}}}| &amp;#124;{{{6}}} | }}&lt;!--
--&gt;{{#ifeq:{{{7|x}}}|{{{7|}}}| &amp;#124;{{{7}}} | }}&lt;!--
--&gt;{{#ifeq:{{{8|x}}}|{{{8|}}}| &amp;#124;{{{8}}} | }}&lt;!--
--&gt;{{#ifeq:{{{9|x}}}|{{{9|}}}| &amp;#124;{{{9}}} | }}&lt;!--
--&gt;&amp;#125;&amp;#125;&lt;/code&gt;&lt;/span&gt;&lt;noinclude&gt;
{{documentation}}
&lt;!-- Add categories and interwikis to the /doc subpage, not here! --&gt;
&lt;/noinclude&gt;</text>
<sha1>hvz0y5fmfypqrh6hpdtjucpttl59h70</sha1>
</revision>
</page>
<page>
<title>Template:Tlf</title>
<ns>10</ns>
<id>16451586</id>
<revision>
<id>722494583</id>
<parentid>558397063</parentid>
<timestamp>2016-05-28T14:18:30Z</timestamp>
<contributor>
<username>Ymblanter</username>
<id>14596827</id>
</contributor>
<minor/>
<comment>Changed protection level of Template:Tlf: [[WP:High-risk templates|Highly visible template]] ([Edit=Require template editor access] (indefinite) [Move=Require administrator access] (indefinite))</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="644">&lt;span class=&quot;nowrap&quot;&gt;&amp;#123;&amp;#123;{{#if:{{{1|}}}|{{{1}}}| tlf&amp;#124;...}}&lt;!--
--&gt;{{#ifeq:{{{2|x}}}|{{{2|}}}| &amp;#124;{{{2}}} | }}&lt;!--
--&gt;{{#ifeq:{{{3|x}}}|{{{3|}}}| &amp;#124;{{{3}}} | }}&lt;!--
--&gt;{{#ifeq:{{{4|x}}}|{{{4|}}}| &amp;#124;{{{4}}} | }}&lt;!--
--&gt;{{#ifeq:{{{5|x}}}|{{{5|}}}| &amp;#124;{{{5}}} | }}&lt;!--
--&gt;{{#ifeq:{{{6|x}}}|{{{6|}}}| &amp;#124;{{{6}}} | }}&lt;!--
--&gt;{{#ifeq:{{{7|x}}}|{{{7|}}}| &amp;#124;{{{7}}} | }}&lt;!--
--&gt;{{#ifeq:{{{8|x}}}|{{{8|}}}| &amp;#124;{{{8}}} | }}&lt;!--
--&gt;{{#ifeq:{{{9|x}}}|{{{9|}}}| &amp;#124;{{{9}}} | }}&lt;!--
--&gt;&amp;#125;&amp;#125;&lt;/span&gt;&lt;noinclude&gt;
{{documentation}}
&lt;!-- Add categories and interwikis to the /doc sub-page, not here! --&gt;
&lt;/noinclude&gt;</text>
<sha1>mz6t9o5pdzfguxfj2q86tiqdtff1jpr</sha1>
</revision>
</page>
<page>
<title>Template:Tlg</title>
<ns>10</ns>
<id>31734151</id>
<revision>
<id>790785155</id>
<parentid>790782997</parentid>
<timestamp>2017-07-16T01:43:12Z</timestamp>
<contributor>
<username>Zyxw</username>
<id>473593</id>
</contributor>
<minor/>
<comment>update placement of span</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="2794">&lt;includeonly&gt;&lt;!--
--&gt;{{#if:{{{nowrap|}}} |&lt;span class=&quot;nowrap&quot;&gt;}}&lt;!--
--&gt;{{#if:{{{code|{{{tt|}}}}}} |&lt;code&gt; |{{#if:{{{plaincode|}}}|&lt;code style=&quot;border:none;background:transparent;&quot;&gt;}} }}&lt;!--
--&gt;{{#if:{{{kbd|}}} |&lt;kbd&gt;}}&lt;!--
--&gt;{{#if:{{{nowrapname|}}} |&lt;span class=&quot;nowrap&quot;&gt;}}&lt;!--
--&gt;{{#if:{{{braceinside|}}} | |&lt;nowiki&gt;{{&lt;/nowiki&gt;}}&lt;!--
--&gt;{{#if:{{{subst|}}} |[[Help:Substitution|subst]]:}}&lt;!--
--&gt;{{#if:{{{bold|{{{boldlink|{{{boldname|}}}}}}}}} |'''}}&lt;!--
--&gt;{{#if:{{{nolink|}}} |&lt;!--then omit template link, else:
--&gt;| {{#if:{{{braceinside|}}} |&lt;nowiki&gt;{&lt;/nowiki&gt;}}&lt;!--
--&gt;{{!((}}:&lt;!--(start building link with &quot;[[:&quot;)
--&gt;{{#ifeq:{{padleft:|1|{{{1}}}}}|: &lt;!--i.e. if {{{1}}}'s first character is a colon,
then:--&gt; |{{FULLPAGENAME:{{{1}}}}}&lt;!--
else:--&gt; |{{#switch:{{NAMESPACE:{{#if:{{{1|}}}|{{{1}}}|{{FULLPAGENAME}}}}}}
| {{ns:0}} = {{ns:10}}:{{#if:{{{1|}}}|{{PAGENAME:{{{1}}}}}|{{PAGENAME}}}}
| #default = {{#if:{{{1|}}}|{{FULLPAGENAME:{{{1}}}}}|{{FULLPAGENAME}}}}
}}}}&lt;!--
--&gt;{{!}}&lt;!--(pipe between link and label, i.e. [[:link|label]])
--&gt;}}&lt;!--
--&gt;{{#if:{{{braceinside|}}} |&lt;nowiki&gt;{&lt;/nowiki&gt;}}&lt;!--
label / template name:
--&gt;{{{alttext|{{#if:{{{1|}}}|{{{1}}}|{{#ifeq:{{NAMESPACE}}|{{ns:Template}}|{{PAGENAME}}|{{FULLPAGENAME}}}}}}}}}&lt;!--
--&gt;{{#if:{{{braceinside|}}} |&lt;nowiki&gt;}&lt;/nowiki&gt;}}&lt;!--
--&gt;{{#if:{{{nolink|}}} | |&lt;!--
--&gt;{{!))}}&lt;!--(end link)
--&gt;{{#if:{{{braceinside|}}} |&lt;nowiki&gt;}&lt;/nowiki&gt;}}&lt;!--
--&gt;}}&lt;!--
--&gt;{{#if:{{{bold|{{{boldlink|{{{boldname|}}}}}}}}} |'''}}&lt;!--
--&gt;{{#if:{{{nowrapname|}}} |&lt;/span&gt;}}&lt;!--
--&gt;{{#if:{{{italic|{{{italics|}}}}}} |&lt;span style=&quot;font-style:italic;&quot;&gt;}}&lt;!--
--&gt;{{#ifeq:{{{2|¬}}}|¬ | |&amp;#124;{{#tag:nowiki|{{{2}}}}}}}&lt;!--
--&gt;{{#ifeq:{{{3|¬}}}|¬ | |&amp;#124;{{#tag:nowiki|{{{3}}}}}}}&lt;!--
--&gt;{{#ifeq:{{{4|¬}}}|¬ | |&amp;#124;{{#tag:nowiki|{{{4}}}}}}}&lt;!--
--&gt;{{#ifeq:{{{5|¬}}}|¬ | |&amp;#124;{{#tag:nowiki|{{{5}}}}}}}&lt;!--
--&gt;{{#ifeq:{{{6|¬}}}|¬ | |&amp;#124;{{#tag:nowiki|{{{6}}}}}}}&lt;!--
--&gt;{{#ifeq:{{{7|¬}}}|¬ | |&amp;#124;{{#tag:nowiki|{{{7}}}}}}}&lt;!--
--&gt;{{#ifeq:{{{8|¬}}}|¬ | |&amp;#124;{{#tag:nowiki|{{{8}}}}}}}&lt;!--
--&gt;{{#ifeq:{{{9|¬}}}|¬ | |&amp;#124;{{#tag:nowiki|{{{9}}}}}}}&lt;!--
--&gt;{{#ifeq:{{{10|¬}}}|¬ | |&amp;#124;{{#tag:nowiki|{{{10}}}}}}}&lt;!--
--&gt;{{#ifeq:{{{11|¬}}}|¬ | |&amp;#124;{{#tag:nowiki|{{{11}}}}}}}&lt;!--
--&gt;{{#if:{{{12|}}} |&amp;#124;…}}&lt;!--
--&gt;{{#if:{{{italic|{{{italics|}}}}}} |&lt;/span&gt;}}&lt;!--
--&gt;{{#if:{{{braceinside|}}} | |&lt;nowiki&gt;}}&lt;/nowiki&gt;}}&lt;!--
--&gt;{{#if:{{{kbd|}}} |&lt;/kbd&gt;}}&lt;!--
--&gt;{{#if:{{{code|{{{tt|}}}}}}{{{plaincode|}}} |&lt;/code&gt;}}&lt;!--
--&gt;{{#if:{{{nowrap|}}} |&lt;/span&gt;}}&lt;!--
--&gt;&lt;/includeonly&gt;&lt;noinclude&gt;
{{Documentation}}
&lt;/noinclude&gt;</text>
<sha1>byyf1x2onevkha93mms6divoszra5y1</sha1>
</revision>
</page>
<page>
<title>Template:Tlx</title>
<ns>10</ns>
<id>4497810</id>
<revision>
<id>821674175</id>
<parentid>618336566</parentid>
<timestamp>2018-01-21T23:12:17Z</timestamp>
<contributor>
<username>Redrose64</username>
<id>9612106</id>
</contributor>
<comment>[[MOS:ELLIPSIS]]</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="1051">&lt;includeonly&gt;&lt;!--
--&gt;&lt;code&gt;&lt;!--
--&gt;&lt;nowiki&gt;{{&lt;/nowiki&gt;{{#if:{{{subst|}}} |[[Help:Substitution|subst]]:}}&lt;!--
--&gt;[[{{{LANG|}}}{{{SISTER|}}}{{ns:Template}}:{{{1|}}}|{{{1|}}}]]&lt;!--
--&gt;{{#if:{{{2|}}} |&amp;#124;{{{2}}}}}&lt;!--
--&gt;{{#if:{{{3|}}} |&amp;#124;{{{3}}}}}&lt;!--
--&gt;{{#if:{{{4|}}} |&amp;#124;{{{4}}}}}&lt;!--
--&gt;{{#if:{{{5|}}} |&amp;#124;{{{5}}}}}&lt;!--
--&gt;{{#if:{{{6|}}} |&amp;#124;{{{6}}}}}&lt;!--
--&gt;{{#if:{{{7|}}} |&amp;#124;{{{7}}}}}&lt;!--
--&gt;{{#if:{{{8|}}} |&amp;#124;{{{8}}}}}&lt;!--
--&gt;{{#if:{{{9|}}} |&amp;#124;{{{9}}}}}&lt;!--
--&gt;{{#if:{{{10|}}} |&amp;#124;{{{10}}}}}&lt;!--
--&gt;{{#if:{{{11|}}} |&amp;#124;{{{11}}}}}&lt;!--
--&gt;{{#if:{{{12|}}} |&amp;#124;''...''}}&lt;!--
--&gt;&lt;nowiki&gt;}}&lt;/nowiki&gt;&lt;!--
--&gt;&lt;/code&gt;&lt;!--
--&gt;&lt;/includeonly&gt;&lt;noinclude&gt;
{{Documentation}}&lt;/noinclude&gt;</text>
<sha1>0dyhbuugzgzyax8gcf5l4wyycg4mps7</sha1>
</revision>
</page>
<page>
<title>Template:Tnull</title>
<ns>10</ns>
<id>11455706</id>
<revision>
<id>811787109</id>
<parentid>738307429</parentid>
<timestamp>2017-11-23T23:43:30Z</timestamp>
<contributor>
<username>Xaosflux</username>
<id>502540</id>
</contributor>
<comment>expand to 11 parameters per request on talk</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="432">&lt;code&gt;&amp;#123;&amp;#123;{{#if:{{{1|}}}|{{{1}}}| tnull&amp;#124;...}}{{#if:{{{2|}}}|&amp;#124;{{{2}}}|}}{{#if:{{{3|}}}|&amp;#124;{{{3}}}|}}{{#if:{{{4|}}}|&amp;#124;{{{4}}}|}}{{#if:{{{5|}}}|&amp;#124;{{{5}}}|}}{{#if:{{{6|}}}|&amp;#124;{{{6}}}|}}{{#if:{{{7|}}}|&amp;#124;{{{7}}}|}}{{#if:{{{8|}}}|&amp;#124;{{{8}}}|}}{{#if:{{{9|}}}|&amp;#124;{{{9}}}|}}{{#if:{{{10|}}}|&amp;#124;{{{10}}}|}}{{#if:{{{11|}}}|&amp;#124;{{{11}}}|}}&amp;#125;&amp;#125;&lt;/code&gt;&lt;noinclude&gt;
{{documentation}}&lt;/noinclude&gt;</text>
<sha1>au6y4erpe6xb0hf46tmfi592qkquye4</sha1>
</revision>
</page>
<page>
<title>Template:Transclude</title>
<ns>10</ns>
<id>21843384</id>
<revision>
<id>706482876</id>
<parentid>706286304</parentid>
<timestamp>2016-02-23T15:58:14Z</timestamp>
<contributor>
<username>Rich Farmbrough</username>
<id>82835</id>
</contributor>
<comment>Simpler approach</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="504">{{#switch: {{NAMESPACE: {{{1}}} }}
|#default = {{FULLPAGENAME: {{{1}}} }} &lt;!-- the namespace was specified eg &quot;User:Foo&quot; &quot;Template:Foo&quot;, &quot;Category:Foo&quot; --&gt;
|{{ns:0}} = &lt;!-- we have either &quot;:Foo&quot; (mainspace) or &quot;Foo&quot; (a template) --&gt;
{{#ifeq: {{First character|{{{1|}}}}}|:
|{{PAGENAME: {{{1}}} }} &lt;!-- leading colon, eg &quot;:Foo&quot;, so we want the article --&gt;
|Template:{{{1}}} &lt;!-- no leading colon, eg &quot;Foo&quot;, so we want the template --&gt;
}}
}}&lt;noinclude&gt;
{{documentation}}
&lt;/noinclude&gt;</text>
<sha1>hinj4nqqqs9occmc7cw0jjzv8yxlr24</sha1>
</revision>
</page>
<page>
<title>Template:Trim</title>
<ns>10</ns>
<id>21815705</id>
<revision>
<id>668935791</id>
<parentid>412919929</parentid>
<timestamp>2015-06-27T18:27:45Z</timestamp>
<contributor>
<username>Plastikspork</username>
<id>5075409</id>
</contributor>
<comment>Merging [[Template:Strip whitespace]] per TfD</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="114">&lt;includeonly&gt;{{ {{{|safesubst:}}}#if:1|{{{x|{{{1|}}}}}}}}&lt;/includeonly&gt;&lt;noinclude&gt;
{{Documentation}}
&lt;/noinclude&gt;</text>
<sha1>h9devvk8f6nt34tp7zb17s39ge5wquh</sha1>
</revision>
</page>
<page>
<title>Template:Under construction</title>
<ns>10</ns>
<id>2425121</id>
<revision>
<id>792663524</id>
<parentid>771826465</parentid>
<timestamp>2017-07-27T21:25:42Z</timestamp>
<contributor>
<username>WOSlinker</username>
<id>3138265</id>
</contributor>
<comment>tag fix</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="3076">&lt;includeonly&gt;{{mbox
| type = notice
| image = {{#if:{{{altimage|}}}|{{{altimage|}}}|[[File:Ambox warning blue construction.svg|50x40px|link=|page is in the middle of an expansion or major revamping]]}}
| text = This {{#if:{{{section|}}}|section|{{#switch:{{NAMESPACE}}
| Talk = [[Help:Talk page|talk page]] {{#if:{{{nosection|}}}||or section}}
| Category = [[Wikipedia:Category|category page]] {{#if:{{{nosection|}}}||or section}}
| Help = [[Help:Contents|help page]] {{#if:{{{nosection|}}}||or section}}
| Portal = [[Wikipedia:Portal|portal]] {{#if:{{{nosection|}}}||or section}}
| Template = [[Wikipedia:Template messages|template page]] {{#if:{{{nosection|}}}||or section}}
| User = [[Wikipedia:User pages|user page]] {{#if:{{{nosection|}}}||or section}}
| User talk = [[Wikipedia:User pages|user talk page]] {{#if:{{{nosection|}}}||or section}}
| Wikipedia = [[Wikipedia:Project namespace|project page]] {{#if:{{{nosection|}}}||or section}}
| Wikipedia talk = [[Wikipedia:Project namespace|project talk page]] {{#if:{{{nosection|}}}||or section}}
| article {{#if:{{{nosection|}}}||or section}}
}}}} '''is in the process of an expansion or major restructuring{{#if:{{{notready|}}}
|, and is not yet ready for use
}}.''' You are welcome to assist in its construction by editing it as well. {{#if:{{{placedby|}}}
|This template was placed by {{#ifeq:{{lcfirst:{{{placedby}}}}}|{{ucfirst:{{{placedby}}}}}
|&lt;!--{{{placedby}}} does not start with a letter - so is probably a signature--&gt;{{{placedby}}}
|{{user|{{{placedby}}}}}
}}.
}} If this {{#if:{{{section|}}}|section|{{#switch:{{NAMESPACE}}
| Talk = [[Help:Talk page|talk page]]
| Category = [[Wikipedia:Category|category page]]
| Help = [[Help:Contents|help page]]
| Portal = [[Wikipedia:Portal|portal]]
| Template = [[Wikipedia:Template messages|template page]]
| User = [[Wikipedia:User pages|user page]]
| User talk = [[Wikipedia:User pages|user talk page]]
| Wikipedia = [[Wikipedia:Project namespace|project page]]
| Wikipedia talk = [[Wikipedia:Project namespace|project talk page]]
| article {{#if:{{{nosection|}}}||or section}}
}}}} &lt;span class=&quot;plainlinks&quot;&gt;[{{SERVER}}{{localurl:{{NAMESPACE}}:{{PAGENAME}}|action=history}} has not been edited in several days]&lt;/span&gt;, please remove this template.&lt;br /&gt;''If you are the editor who added this template and you are actively editing, please be sure to replace this template with {{tlx|in use}} during the active editing session''. Click on the link for template parameters to use.
{{small|{{last edited by}}}}
}}{{#if:{{{comment|}}}
|{{mbox
| type = notice
| image = none
| text = '''Contributor note''': {{{comment}}}
}}
}}{{#ifeq:{{{nocat|}}}|true||{{{category|{{#switch:{{NAMESPACE}}
|{{ns:2}}
|{{ns:3}}=&lt;!-- no category for user/talk pages--&gt;
|#default=[[Category:Pages actively undergoing construction]]
}}}}}}}&lt;/includeonly&gt;&lt;noinclude&gt;
{{Documentation}}
&lt;/noinclude&gt;</text>
<sha1>bf27nw53xmpov2fm8q3okctsl1patnd</sha1>
</revision>
</page>
<page>
<title>Template:Unicode</title>
<ns>10</ns>
<id>943744</id>
<revision>
<id>719745381</id>
<parentid>719585780</parentid>
<timestamp>2016-05-11T14:40:59Z</timestamp>
<contributor>
<username>Izkala</username>
<id>23051379</id>
</contributor>
<comment>rv, subst now complete</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="49">{{{1}}}&lt;noinclude&gt;
{{Documentation}}
&lt;/noinclude&gt;</text>
<sha1>czf97dhug2tfuxdx6tj4qo0iu1qsmx4</sha1>
</revision>
</page>
<page>
<title>Template:User page</title>
<ns>10</ns>
<id>1347169</id>
<revision>
<id>710578736</id>
<parentid>669391406</parentid>
<timestamp>2016-03-17T20:21:04Z</timestamp>
<contributor>
<username>Kelapstick</username>
<id>3072955</id>
</contributor>
<minor/>
<comment>Changed protection level of Template:User page: [[WP:High-risk templates|Highly visible template]] ([Edit=Allow only template editors and admins] (indefinite) [Move=Allow only template editors and admins] (indefinite))</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="2141">{{ ombox
| type = &lt;!-- speedy / delete / content / style / notice / move / protection / ??user?? --&gt;
| image = {{{{{|safesubst:}}}#ifeq:{{{logo|}}}|yes|[[file:Wikipedia-logo.svg|60px|link=WP:MAIN|alt=Wiki&lt;!-- --&gt;pedia's globe icon]]|none}}
| imageright = {{{{{|safesubst:}}}#ifeq:{{{logo|}}}|right|[[File:Wikimedia Foundation RGB logo with text.svg|60px|link=foundation:|alt=The Wiki&lt;!-- --&gt;media Foundation's icon]]}}
| style = margin-left: 0; margin-right: 0; border:{{{border-s|1}}}px solid {{{border-c|#ffc9c9}}}; background-color: {{{background|#fffff3}}}; {{{{{|safesubst:}}}#ifeq:{{{rounded|}}}|yes|{{border-radius|15px}}}}
| textstyle = font-size: 85%; text-align: center
| text = '''This is a &lt;span style=&quot;white-space: nowrap&quot;&gt;&lt;span&gt;&amp;#87;&amp;#105;&lt;!-- Wikipedia --&gt;&amp;#107;&amp;#105;&lt;/span&gt;&lt;span&gt;&amp;#112;&amp;#101;&amp;#100;&amp;#105;&amp;#97;&lt;/span&gt;&lt;/span&gt; [[Wikipedia:User pages|user page]].'''{{{1|&lt;br /&gt;}}}This is not an encyclopedia article. If you find this page on any site other than &lt;span style=&quot;white-space: nowrap&quot;&gt;&lt;span&gt;&amp;#87;&amp;#105;&lt;!-- Wikipedia --&gt;&amp;#107;&amp;#105;&lt;/span&gt;&lt;span&gt;&amp;#112;&amp;#101;&amp;#100;&amp;#105;&amp;#97;&lt;/span&gt;,&lt;/span&gt; you are viewing a [[Website#mirror site|mirror site]]. Be aware that the page may be outdated and that the user to whom this page belongs may have no personal affiliation with any site other than &lt;span style=&quot;white-space: nowrap&quot;&gt;&lt;span&gt;&amp;#87;&amp;#105;&lt;!-- Wikipedia --&gt;&amp;#107;&amp;#105;&lt;/span&gt;&lt;span&gt;&amp;#112;&amp;#101;&amp;#100;&amp;#105;&amp;#97;&lt;/span&gt;&lt;/span&gt; itself. The original page is located at &lt;span class=&quot;plainlinks&quot; style=&quot;white-space:nowrap;&quot;&gt;[https://en.wiki&lt;!----&gt;pedia.org/wiki/{{FULLPAGENAMEE}} &lt;span&gt;https://en.wiki&lt;/span&gt;&lt;!----&gt;&lt;span&gt;pedia.org/wi&lt;/span&gt;&lt;span&gt;ki/{{FULLPAGENAMEE}}&lt;/span&gt;].&lt;/span&gt;
| small = &lt;!-- {{{small|}}} --&gt;
| smallimage = &lt;!-- [[file:Some image.svg|30px]] --&gt;
| smallimageright = &lt;!-- [[file:Some image.svg|30px]] --&gt;
| smalltext = &lt;!-- Shorter message body text. --&gt;
}}{{{{{|safesubst:}}}#ifeq:{{{noindex|}}}|yes|__NOINDEX__|}}&lt;noinclude&gt;
{{documentation}}&lt;!-- place category and language links on the /doc sub-page, not here --&gt;
&lt;/noinclude&gt;</text>
<sha1>gforabzsfrg6elxkjtc4fbiqqlmsgfk</sha1>
</revision>
</page>
<page>
<title>Template:User sandbox</title>
<ns>10</ns>
<id>12546911</id>
<revision>
<id>824816605</id>
<parentid>725447518</parentid>
<timestamp>2018-02-09T17:42:14Z</timestamp>
<contributor>
<username>Primefac</username>
<id>11508456</id>
</contributor>
<comment>TPER - change target of sandbox for VE compatibility</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="3111">{{user other
| 1 =
{{Ombox
|type = notice
|image = [[File:Essay.svg|50px|link=]]
|text =
&lt;div&gt;&lt;!--
--&gt;This is {{#if:{{{list|}}}|a|the}} user [[Help:My sandbox|sandbox]] of '''[[{{NAMESPACE}}:{{{1|{{ROOTPAGENAME}}}}}|{{{1|{{ROOTPAGENAME}}}}}]]'''. &lt;!--
--&gt;A user sandbox is a subpage of the user's [[Wikipedia:User pages|user page]]. &lt;!--
--&gt;It serves as a testing spot and page development space for the user and is '''not an encyclopedia article'''. &lt;!--
--&gt;{{#ifeq: {{{plain|}}} | all
| &lt;!--blank--&gt;
| &lt;small&gt;Create or edit your own sandbox [{{fullurl:Special:MyPage/sandbox|action=edit&amp;preload=Template:User_sandbox/preload}} here].&lt;/small&gt;
}}&lt;!--
--&gt;{{#if: {{{list|}}}
| &lt;p&gt;This user's sandboxes: {{{list}}}&lt;/p&gt;
}}&lt;!--
--&gt;{{#if: {{{plain|}}}
| &lt;!--blank--&gt;
| &lt;p&gt;&lt;!--
--&gt;Other sandboxes: &lt;!--
--&gt;[[Draft:Sandbox|Main sandbox]] &amp;#x7c; &lt;!--
--&gt;[[Wikipedia:Tutorial/Editing/sandbox|Tutorial sandbox 1]], &lt;!--
--&gt;[[Wikipedia:Tutorial/Formatting/sandbox|2]], &lt;!--
--&gt;[[Wikipedia:Tutorial/Wikipedia links/sandbox|3]], &lt;!--
--&gt;[[Wikipedia:Tutorial/Citing sources/sandbox|4]], &lt;!--
--&gt;[[Wikipedia:Tutorial/Keep in mind/sandbox|5]] {{!}} &lt;!--
--&gt;[[Template:Template sandbox|Template sandbox]]&lt;!--
--&gt;&lt;/p&gt;
}}&lt;!--
--&gt;&lt;/div&gt;&lt;!--
--&gt;{{#if: {{{selectskin|}}}
| &lt;div style=&quot;font-size:x-small; text-align:center;&quot;&gt;{{selectskin}}&lt;/div&gt;
}}&lt;!--
--&gt;{{#ifeq: {{{afc|}}} | no
| &lt;!-- blank --&gt;
| {{#if: {{{plain|}}}
| &lt;!-- blank --&gt;
| &lt;hr /&gt;{{#invoke:AFC submission catcheck|submitted
| This draft has been submitted and is currently awaiting review.
| Writing an article and ready to request its creation? {{#if: {{REVISIONID}}&lt;noinclude&gt;0&lt;/noinclude&gt;
| &lt;span class=&quot;afc-draft-submit-button&quot;&gt;{{Clickable button 2|Submit your draft for review!|url={{fullurl:{{FULLPAGENAME}}|action=edit&amp;section=new&amp;preload=Template:AFC_submission/Subst&amp;editintro=Template:AFC_submission/Subst/Editintro}}|class=mw-ui-progressive|style=line-height: 1.9em; padding: 0 1.6em 0 1.6em}}&lt;/span&gt;
| Save your work by pressing the &quot;Save page&quot; button below, and a button will appear here allowing you to submit your draft for review.
}}
}}
}}
}}&lt;!--
--&gt;{{#ifeq:{{{noindex|yes}}}|yes| __NOINDEX__ }}
}}
| 2 = {{draft other|1= |2= {{error|This sandbox is in the {{#if:{{NAMESPACE}}|{{NAMESPACE}}|article}} namespace. Either [[Special:MovePage/{{FULLPAGENAME}}|move]] this page into your [[WP:Userpages|userspace]], or remove the {{tp|User sandbox}} template.}}|demospace = {{{demospace|}}} }}&lt;includeonly&gt;[[Category:Non-userspace pages using User sandbox]]&lt;/includeonly&gt;
| demospace = {{{demospace|&lt;noinclude&gt;user&lt;/noinclude&gt;}}}
}}&lt;noinclude&gt;
{{documentation}}
&lt;!-- Categories go on the /doc subpage, and interwikis go in Wikidata. --&gt;
&lt;/noinclude&gt;</text>
<sha1>948md51aldjk2lobvjyy2m9r6ykaxii</sha1>
</revision>
</page>
<page>
<title>Template:Very long</title>
<ns>10</ns>
<id>2623628</id>
<revision>
<id>784071430</id>
<parentid>746912373</parentid>
<timestamp>2017-06-06T09:08:07Z</timestamp>
<contributor>
<username>UsuallyNonviolentBot</username>
<id>31197275</id>
</contributor>
<minor/>
<comment>/* top */Remove deprecated parameter $N from [[Module:Unsubst]]</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="1108">{{ {{{|safesubst:}}}#invoke:Unsubst||date=__DATE__ |$B=
&lt;!--{{Very long}} begin--&gt;{{Ambox
| name = {{{name|Very long}}}
| subst = &lt;includeonly&gt;{{{subst|{{subst:substcheck}}}}}&lt;/includeonly&gt;
| type = style
| class = ambox-very_long
| issue = This {{{1|{{#if:{{NAMESPACE}}|page|article}}}}} '''may be [[Wikipedia:Article size|too long]] to read and navigate comfortably'''. {{#if: {{{rps|}}} | The [[WP:SIZERULE|readable prose size]] is {{{rps}}} kilobytes.}}
| fix = {{{fix|Please consider [[WP:splitting|splitting]] content into sub-articles, [[Wikipedia:Summary style|condensing]] it, or adding or removing [[Help:Section#Subsections|subheadings]].}}}
| date = {{{date|}}}
| small = {{{small|}}}
| smalltext = This section is [[Wikipedia:Article size|too long]]. Consider [[WP:splitting|splitting]] it into new pages, adding [[Help:Section#Subsections|subheadings]], or [[Wikipedia:Summary style|condensing]] it.
| cat = Articles that may be too long
}}&lt;!--{{Very long}} end--&gt;
}}&lt;noinclude&gt;
{{Documentation}}
&lt;!-- Add categories and interwikis to the /doc subpage, not here! --&gt;
&lt;/noinclude&gt;</text>
<sha1>p8nerte43f2lte2b4eaznivutui9mss</sha1>
</revision>
</page>
<page>
<title>Template:Warning</title>
<ns>10</ns>
<id>3567077</id>
<revision>
<id>713496843</id>
<parentid>713491665</parentid>
<timestamp>2016-04-04T11:19:21Z</timestamp>
<contributor>
<username>SMcCandlish</username>
<id>378390</id>
</contributor>
<comment>make |align= work as it normally does in other templates</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="1107">{{Mbox
| name = Warning
| demospace = {{{demospace|}}}
| style = {{#if:{{{style|}}} |{{#if:{{{small|}}}||margin:inherit auto;width:80%;}} {{{style}}} }}
| subst = &lt;includeonly&gt;{{subst:substcheck}}&lt;/includeonly&gt;
| type = content
| image = {{#if:{{{image|}}}| [[File:{{{image}}}|40px|Warning]] }}
| small = {{{small|}}}
| smallimage = {{#if:{{{image|}}}| [[File:{{{image}}}|30px|Warning]]}}
| imageright = {{#if:{{{imageright|}}} |{{{imageright}}} |{{#if:{{{shortcut|{{{shortcut1|}}}}}} |{{Ombox/shortcut|{{{shortcut|{{{shortcut1|}}}}}}|{{{shortcut2|}}}|{{{shortcut3|}}}|{{{shortcut4|}}}|{{{shortcut5|}}}}}}} }}
| textstyle = {{{textstyle|text-align: {{#if:{{{center|}}}|center|{{{align|left}}}}};}}}}
| text = {{#if:{{{header|{{{heading|{{{title|}}}}}}}}} |&lt;div style=&quot;{{{headstyle|text-align: {{#if:{{{center|}}}|center|left}};}}}&quot;&gt;'''{{{header|{{{heading|{{{title|}}}}}}}}}'''&lt;/div&gt;}}&lt;!--
--&gt;{{{text|{{{content|{{{reason|{{{1}}}}}}}}}}}}
}}&lt;noinclude&gt;
&lt;!-- Add categories to the /doc subpage; interwikis go to Wikidata. --&gt;
{{Documentation}}
&lt;/noinclude&gt;</text>
<sha1>q81ngfe2lci8azix2co7jhada7u0gy5</sha1>
</revision>
</page>
<page>
<title>Template:Wikify</title>
<ns>10</ns>
<id>950036</id>
<revision>
<id>819419253</id>
<parentid>819419172</parentid>
<timestamp>2018-01-09T07:40:43Z</timestamp>
<contributor>
<username>SMcCandlish</username>
<id>378390</id>
</contributor>
<comment>move deprecation note up</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="2509">{{main other|{{ambox|class=ambox-wikify|type=speedy|issue=&lt;span style=&quot;background: #FDE0DF; color: Red;&quot;&gt;'''ERROR''':&lt;/span&gt; &lt;span style=&quot;background: #FDE0DF; color: Maroon;&quot;&gt;''the '''&lt;code&gt;&lt;nowiki&gt;{{Wikify}}&lt;/nowiki&gt;&lt;/code&gt;''' template is [[Deprecation|deprecated]] and has been [[Wikipedia:Templates for discussion/Log/2012 August 10#Template:Wikify|deemed by the community]] as too ambiguous; please do not use/[[WP:transclude|transclude]]/[[WP:substitute|substitute]] it.&lt;/span&gt;|fix=&lt;span style=&quot;background: #FDE0DF; color: Maroon;&quot;&gt;Instead, use a more specific template, such as those [[Template:Wikifiy/doc#Cleanup templates|listed in this template's documentation]].''&lt;/span&gt;}}|&lt;noinclude&gt;{{notice|Please use more specific tags such as {{t|Dead end}}, {{t|underlinked}}, {{t|Infobox requested}}, {{t|Cleanup HTML}}, {{t|Lead missing}}, {{t|Lead rewrite}}, {{t|Lead too short}}, {{t|Inadequate lead}}, {{t|Sections}}, {{t|Cleanup bare URLs}}, {{t|Citation style}} and {{t|Lead too long}}.}}&lt;/noinclude&gt;{{Deprecated template|note=Please use a more specific cleanup template, such as from the list below.}}
'''Former appearance of this template:'''{{ambox
| name = Wikify
| subst = &lt;includeonly&gt;{{subst:substcheck}}&lt;/includeonly&gt;
| type = style
| class = ambox-Wikify
| image = [[File:Ambox wikify.svg|50x40px|link=|alt=]]
| issue = This {{{1|article}}} '''may need to be [[Wikipedia:Glossary#Wikify|wikified]] to meet Wikipedia's [[Wikipedia:Manual of Style|quality standards]]'''.
| fix = Please [{{fullurl:{{FULLPAGENAME}}|action=edit}} help] by adding [[Wikipedia:Linking|''relevant'' internal links]], or by improving the article's [[Wikipedia:Layout|layout]].
| date = {{{date|}}}
| info = {{{reason|}}}
}}}}&lt;noinclude&gt;
{{documentation|content={{Wikify}}
== Cleanup templates ==
*{{tl|MOS}}
*{{tl|underlinked}}
*{{tl|overlinked}}
*{{tl|dead end}}
*{{tl|cleanup HTML}}
*{{tl|cleanup bare URLs}}
*{{tl|format footnotes}}
*{{tl|citation style}}
*{{tl|sections}}
*{{tl|lead missing}}
*{{tl|lead too short}}
*{{tl|lead too long}}
*{{tl|inadequate lead}}
*{{tl|lead rewrite}}
*{{tl|infobox requested}} (only on talk pages)
== Notes ==
*The '''Wikify section''' template is also deprecated and redirects here.
*A full list of cleanup templates can be found at [[WP:Template messages/Cleanup]].
== See also ==
* [[Wikipedia:WikiProject Wikify]]
* [[Wikipedia:Templates for discussion/Log/2012 August 10#Template:Wikify]]
[[Category:Deprecated templates kept for historical reasons]]
}}&lt;/noinclude&gt;</text>
<sha1>6fllef4zxl7m6kvthci1t7n3ose4azp</sha1>
</revision>
</page>
<page>
<title>Template:Yes</title>
<ns>10</ns>
<id>1818440</id>
<revision>
<id>600725279</id>
<parentid>600688783</parentid>
<timestamp>2014-03-22T12:32:36Z</timestamp>
<contributor>
<username>Technical 13</username>
<id>14450599</id>
</contributor>
<comment>Trim some bits from this template as it is transcluded hundreds of times on some pages and should be as little as possible.</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="211">&lt;noinclude&gt;{| class=&quot;wikitable&quot;
|-
|&lt;/noinclude&gt;style=&quot;background:#9F9;vertical-align:middle;text-align:{{{align|center}}};{{{style|}}}&quot; class=&quot;table-yes&quot;|{{{1|Yes}}}&lt;noinclude&gt;
|}
{{documentation}}
&lt;/noinclude&gt;</text>
<sha1>g91zppg047mtml3pop7qqio29fjkezn</sha1>
</revision>
</page>
<page>
<title>Template:=</title>
<ns>10</ns>
<id>5762361</id>
<revision>
<id>690395465</id>
<parentid>579820445</parentid>
<timestamp>2015-11-13T02:17:24Z</timestamp>
<contributor>
<username>Fuhghettaboutit</username>
<id>665998</id>
</contributor>
<minor/>
<comment>Changed protection level of Template:=: when I changed this to add template editors, I didn't realize it had cascding protection—so all my change did was make it appear as if it could be edited by them ([Edit=Allow only administrators] (indefinite) [...</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="43">=&lt;noinclude&gt;
{{documentation}}
&lt;/noinclude&gt;</text>
<sha1>81y2jvjxw3y0febsqx5xbr4ikdc7nr6</sha1>
</revision>
</page>
<page>
<title>Template:Active</title>
<ns>10</ns>
<id>3951718</id>
<revision>
<id>748993299</id>
<parentid>748981212</parentid>
<timestamp>2016-11-11T17:42:11Z</timestamp>
<contributor>
<username>Obsuser</username>
<id>22359926</id>
</contributor>
<comment>Undid revision 748981212 by [[Special:Contributions/52.87.153.83|52.87.153.83]] ([[User talk:52.87.153.83|talk]]): vandalism</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="274">style=&quot;background: #90FF90; color: black; vertical-align: middle; text-align: {{{align|center}}}; {{{style|}}}&quot; class=&quot;active table-active&quot;| {{{1|Active}}}&lt;noinclude&gt;
{{Documentation|Template:Table cell templates/doc}}
[[Category:Software table cell templates]]
&lt;/noinclude&gt;</text>
<sha1>6f7qo9rsqzlygxvrv1t3cmarn2dcy38</sha1>
</revision>
</page>
<page>
<title>Template:Active fire</title>
<ns>10</ns>
<id>47413811</id>
<revision>
<id>678331137</id>
<parentid>678330821</parentid>
<timestamp>2015-08-28T18:33:47Z</timestamp>
<contributor>
<username>Zackmann08</username>
<id>15881234</id>
</contributor>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="247">&lt;noinclude&gt;
{| class=&quot;wikitable&quot;
|&lt;/noinclude&gt;style=&quot;background: #faa; color: black; vertical-align: middle; text-align: {{{align|center}}}; {{{style|}}}&quot; class=&quot;no table-no&quot;|Active {{nowrap|({{{1|}}})}}&lt;noinclude&gt;
|}
{{documentation}}&lt;/noinclude&gt;</text>
<sha1>hfi3fa45y39zdeez06kc26mjctw3nl7</sha1>
</revision>
</page>
<page>
<title>Template:Any</title>
<ns>10</ns>
<id>12347924</id>
<revision>
<id>544870285</id>
<parentid>349077447</parentid>
<timestamp>2013-03-17T07:05:31Z</timestamp>
<contributor>
<username>Addbot</username>
<id>6569922</id>
</contributor>
<minor/>
<comment>[[User:Addbot|Bot:]] Migrating 4 interwiki links, now provided by [[Wikipedia:Wikidata|Wikidata]] on [[d:q6681541]]</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="294">&lt;noinclude&gt;{| class=&quot;wikitable&quot;
|-
|&lt;/noinclude&gt;style=&quot;background: #FFD; color: black; vertical-align: middle; text-align: {{{align|center}}}; {{{style|}}}&quot; class=&quot;any table-any&quot;|{{{1|Any}}}&lt;noinclude&gt;
|}
{{Documentation|Template:Table cell templates/doc}}
[[es:Plantilla:Alguno]]
&lt;/noinclude&gt;</text>
<sha1>99mtyenfx384kn81fuea9resxvis2gw</sha1>
</revision>
</page>
<page>
<title>Template:Available</title>
<ns>10</ns>
<id>26796140</id>
<revision>
<id>410652312</id>
<parentid>410652231</parentid>
<timestamp>2011-01-28T23:02:30Z</timestamp>
<contributor>
<username>WOSlinker</username>
<id>3138265</id>
</contributor>
<comment>docs</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="274">&lt;noinclude&gt;{| class=&quot;wikitable&quot;
|-
|&lt;/noinclude&gt;style=&quot;background: #90ff90; color: black; vertical-align: middle; text-align: {{{align|center}}}; {{{style|}}}&quot; class=&quot;table-yes&quot;|{{{1|Available}}}&lt;noinclude&gt;
|}
{{Documentation|Template:Table cell templates/doc}}
&lt;/noinclude&gt;</text>
<sha1>c8rf7d2de67ggbi7c2yg0c5ydjvgcpg</sha1>
</revision>
</page>
<page>
<title>Template:BLACK</title>
<ns>10</ns>
<id>10235306</id>
<revision>
<id>739572941</id>
<parentid>737805405</parentid>
<timestamp>2016-09-15T14:10:32Z</timestamp>
<contributor>
<ip>50.53.1.33</ip>
</contributor>
<comment>text to lightgray to adhere to WCAG 2 AAA Compliancy</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="286">&lt;noinclude&gt;{| class=&quot;wikitable&quot;
|-
|&lt;/noinclude&gt;data-sort-value=&quot;{{{sort|}}}&quot; style=&quot;background: black; color: lightgray; vertical-align: middle; text-align: {{{align|center}}}; {{{style|}}}&quot; class=&quot;table-na&quot;|{{{1|N/A}}}&lt;noinclude&gt;
|}
{{Documentation|Template:Table cell templates/doc}}</text>
<sha1>9t6jyhg2nbt5xurq85dqtvzgqtc68y9</sha1>
</revision>
</page>
<page>
<title>Template:Bad</title>
<ns>10</ns>
<id>26575979</id>
<revision>
<id>639907101</id>
<parentid>639907059</parentid>
<timestamp>2014-12-28T05:55:23Z</timestamp>
<contributor>
<username>Bijay chaurasia</username>
<id>22292860</id>
</contributor>
<minor/>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="267">&lt;noinclude&gt;
{| class=&quot;wikitable&quot;
|&lt;/noinclude&gt;style=&quot;background: #faa; color: black; vertical-align: middle; text-align: {{{align|center}}}; {{{style|}}}&quot; class=&quot;no table-no&quot;| {{{1|Bad}}}&lt;noinclude&gt;
|}
{{documentation|Template:Table cell templates/doc}}
&lt;/noinclude&gt;</text>
<sha1>k0hb0wq7jzu40aorofdxm5hjme81cor</sha1>
</revision>
</page>
<page>
<title>Template:Beta</title>
<ns>10</ns>
<id>3623759</id>
<revision>
<id>730472451</id>
<parentid>730133775</parentid>
<timestamp>2016-07-19T06:36:26Z</timestamp>
<contributor>
<username>Nick Mitchell 98</username>
<id>19666637</id>
</contributor>
<comment>Restored to previous revision by [[User:Edokter|Edokter]]. Coding was damaged by previous edit.</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="317">&lt;noinclude&gt;{| class=&quot;wikitable&quot;
|-
|&lt;/noinclude&gt;style=&quot;background: #DFDFFF; color: black; vertical-align: middle; text-align: {{{align|center}}}; {{{style|}}}&quot; class=&quot;beta table-beta&quot;|{{{1|[[software release life cycle#Beta{{!}}Beta]]}}}&lt;noinclude&gt;
|}
{{Documentation|Template:Table cell templates/doc}}
&lt;/noinclude&gt;</text>
<sha1>9rveg708dhzulli61gvya14vg4kbvwd</sha1>
</revision>
</page>
<page>
<title>Template:CAlso starring</title>
<ns>10</ns>
<id>56360120</id>
<revision>
<id>824726950</id>
<parentid>822964521</parentid>
<timestamp>2018-02-09T03:03:52Z</timestamp>
<contributor>
<username>Primefac</username>
<id>11508456</id>
</contributor>
<comment>TFD closed as no consensus ([[WP:XFDC|XFDcloser]])</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="259">&lt;noinclude&gt;{| class=&quot;wikitable&quot;
|-
|&lt;/noinclude&gt;style=&quot;background:#afeeee;vertical-align:middle;text-align:{{{align|center}}};{{{style|}}}&quot; |{{{1|[[Ensemble cast|Also starring]]}}}&lt;noinclude&gt;
|}
{{Documentation|Template:Table cell templates/doc}}
&lt;/noinclude&gt;</text>
<sha1>gu0gs778yxdjs0pqhw4ngjyylc51g0g</sha1>
</revision>
</page>
<page>
<title>Template:CGuest</title>
<ns>10</ns>
<id>44127729</id>
<revision>
<id>819687193</id>
<parentid>723502916</parentid>
<timestamp>2018-01-10T19:21:15Z</timestamp>
<contributor>
<username>Primefac</username>
<id>11508456</id>
</contributor>
<minor/>
<comment>Protected &quot;[[Template:CGuest]]&quot;: [[WP:SEMI|semi-protecting]] highly-visible templates in response to recent template-space vandalism ([Edit=Require autoconfirmed or confirmed access] (indefinite) [Move=Require autoconfirmed or confirmed access] (indefi...</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="254">&lt;noinclude&gt;{| class=&quot;wikitable&quot;
|-
|&lt;/noinclude&gt;style=&quot;background:#DAEBFF;vertical-align:middle;text-align:{{{align|center}}};{{{style|}}}&quot; |{{{1|[[Guest appearance|Guest]]}}}&lt;noinclude&gt;
|}
{{Documentation|Template:Table cell templates/doc}}
&lt;/noinclude&gt;</text>
<sha1>8atx8o5dbqdx70slvu5kz34pmonqgvw</sha1>
</revision>
</page>
<page>
<title>Template:CMain</title>
<ns>10</ns>
<id>44127692</id>
<revision>
<id>819687206</id>
<parentid>703427561</parentid>
<timestamp>2018-01-10T19:21:15Z</timestamp>
<contributor>
<username>Primefac</username>
<id>11508456</id>
</contributor>
<minor/>
<comment>Protected &quot;[[Template:CMain]]&quot;: [[WP:SEMI|semi-protecting]] highly-visible templates in response to recent template-space vandalism ([Edit=Require autoconfirmed or confirmed access] (indefinite) [Move=Require autoconfirmed or confirmed access] (indefin...</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="250">&lt;noinclude&gt;{| class=&quot;wikitable&quot;
|-
|&lt;/noinclude&gt;style=&quot;background:#ddffdd;vertical-align:middle;text-align:{{{align|center}}};{{{style|}}}&quot; |{{{1|[[Ensemble cast|Main]]}}}&lt;noinclude&gt;
|}
{{Documentation|Template:Table cell templates/doc}}
&lt;/noinclude&gt;</text>
<sha1>oypuh0m90v3e5qhxmp9s2d8f6epr35t</sha1>
</revision>
</page>
<page>
<title>Template:CNone</title>
<ns>10</ns>
<id>51441664</id>
<revision>
<id>821200502</id>
<parentid>736708367</parentid>
<timestamp>2018-01-19T00:28:40Z</timestamp>
<contributor>
<username>Primefac</username>
<id>11508456</id>
</contributor>
<minor/>
<comment>Protected &quot;[[Template:CNone]]&quot;: [[WP:SEMIPROT|semi-protection]] of high-usage templates to combat systematic vandalism ([Edit=Require autoconfirmed or confirmed access] (indefinite) [Move=Require autoconfirmed or confirmed access] (indefinite))</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="329">&lt;noinclude&gt;{| class=&quot;wikitable&quot;
|-
|&lt;/noinclude&gt;style=&quot;background:#ececec;vertical-align:middle;text-align:{{{align|center}}};{{{style|}}}&quot; |{{{1|&lt;!-- Accessibility text for screen readers only --&gt;&lt;span style=&quot;display: none&quot;&gt;Does not appear&lt;/span&gt;}}}&lt;noinclude&gt;
|}
{{Documentation|Template:Table cell templates/doc}}
&lt;/noinclude&gt;</text>
<sha1>pr227hj74we71dxa4dt0yob3noybyiu</sha1>
</revision>
</page>
<page>
<title>Template:CRecurring</title>
<ns>10</ns>
<id>44127701</id>
<revision>
<id>819687194</id>
<parentid>703208906</parentid>
<timestamp>2018-01-10T19:21:15Z</timestamp>
<contributor>
<username>Primefac</username>
<id>11508456</id>
</contributor>
<minor/>
<comment>Protected &quot;[[Template:CRecurring]]&quot;: [[WP:SEMI|semi-protecting]] highly-visible templates in response to recent template-space vandalism ([Edit=Require autoconfirmed or confirmed access] (indefinite) [Move=Require autoconfirmed or confirmed access] (in...</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="261">&lt;noinclude&gt;{| class=&quot;wikitable&quot;
|-
|&lt;/noinclude&gt;style=&quot;background:#ffe3e3;vertical-align:middle;text-align:{{{align|center}}};{{{style|}}}&quot; |{{{1|[[Recurring character|Recurring]]}}}&lt;noinclude&gt;
|}
{{Documentation|Template:Table cell templates/doc}}
&lt;/noinclude&gt;</text>
<sha1>b6pos58qawntdawfvxuwn1jy4navyca</sha1>
</revision>
</page>
<page>
<title>Template:Coming soon</title>
<ns>10</ns>
<id>22270336</id>
<revision>
<id>690336399</id>
<parentid>661114721</parentid>
<timestamp>2015-11-12T18:56:20Z</timestamp>
<contributor>
<username>Ahecht</username>
<id>2016996</id>
</contributor>
<comment>edit background to make consistent with [[:Template:Ya]] following recent changes</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="293">&lt;noinclude&gt;{| class=&quot;wikitable&quot;
|-
|&lt;/noinclude&gt;style=&quot;background: {{{color|#FFD2D2}}}; color: black; vertical-align: middle; text-align: {{{align|center}}}; {{{style|}}}&quot; class=&quot;active table-siteactive&quot;|{{{1|Coming soon}}}&lt;noinclude&gt;
|}
{{Documentation|Template:Coming soon/doc}}
&lt;/noinclude&gt;</text>
<sha1>rjueid3wwlycadznsh2mi1so6endoao</sha1>
</revision>
</page>
<page>
<title>Template:Contained</title>
<ns>10</ns>
<id>47413777</id>
<revision>
<id>678331407</id>
<parentid>674275166</parentid>
<timestamp>2015-08-28T18:35:44Z</timestamp>
<contributor>
<username>Zackmann08</username>
<id>15881234</id>
</contributor>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="233">&lt;noinclude&gt;
{| class=&quot;wikitable&quot;
|&lt;/noinclude&gt;style=&quot;background: #99FF99; color: black; vertical-align: middle; text-align: {{{align|center}}}; {{{style|}}}&quot; class=&quot;yes table-yes&quot;|Contained&lt;noinclude&gt;
|}
{{documentation}}&lt;/noinclude&gt;</text>
<sha1>3ajwpue83k3zvdetq2pojtk80rvg3bd</sha1>
</revision>
</page>
<page>
<title>Template:Depends</title>
<ns>10</ns>
<id>2499773</id>
<revision>
<id>677624608</id>
<parentid>642253187</parentid>
<timestamp>2015-08-24T14:01:45Z</timestamp>
<contributor>
<username>Steel1943</username>
<id>2952402</id>
</contributor>
<comment>Documentation</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="282">&lt;noinclude&gt;{| class=&quot;wikitable&quot;
|-
|&lt;/noinclude&gt;style=&quot;background: #FED; color: black; vertical-align: middle; text-align: {{{align|center}}}; {{{style|}}}&quot; class=&quot;depends table-depends&quot;|{{{1|Depends}}}&lt;noinclude&gt;
|}
{{Documentation|Template:Table cell templates/doc}}
&lt;/noinclude&gt;</text>
<sha1>k5f0tfybyqm7m6yt6plwt0txykkhi7z</sha1>
</revision>
</page>
<page>
<title>Template:Documentation</title>
<ns>10</ns>
<id>13529042</id>
<revision>
<id>714754089</id>
<parentid>714753814</parentid>
<timestamp>2016-04-11T17:18:54Z</timestamp>
<contributor>
<username>Rich Farmbrough</username>
<id>82835</id>
</contributor>
<comment>Undid revision 714753814 by [[Special:Contributions/Rich Farmbrough|Rich Farmbrough]] ([[User talk:Rich Farmbrough|talk]])</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="182">{{#invoke:documentation|main|_content={{ {{#invoke:documentation|contentTitle}}}}}}&lt;noinclude&gt;
&lt;!-- Categories go on the /doc subpage, and interwikis go on Wikidata. --&gt;
&lt;/noinclude&gt;</text>
<sha1>o4ddn701tao1ufdnkxe1wdgz5b5ga84</sha1>
</revision>
</page>
<page>
<title>Template:Documentation subpage</title>
<ns>10</ns>
<id>7890381</id>
<revision>
<id>617432645</id>
<parentid>608599904</parentid>
<timestamp>2014-07-18T09:37:22Z</timestamp>
<contributor>
<username>Sardanaphalus</username>
<id>427947</id>
</contributor>
<comment>Added 1.0em margin so template looks less a part of subsequent content and amended code layout -- hope neither of these too controversial</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="1667">&lt;includeonly&gt;&lt;!--
--&gt;{{#ifeq:{{lc:{{SUBPAGENAME}}}} |{{{override|doc}}}
| &lt;!--(this template has been transcluded on a /doc or /{{{override}}} page)--&gt;
&lt;/includeonly&gt;&lt;!--
--&gt;{{#ifeq:{{{doc-notice|show}}} |show
| {{Mbox
| type = notice
| style = margin-bottom:1.0em;
| image = [[File:Edit-copy green.svg|40px|alt=|link=]]
| text =
'''This is a [[Wikipedia:Template documentation|documentation]] [[Wikipedia:Subpages|subpage]] for {{{1|[[:{{SUBJECTSPACE}}:{{BASEPAGENAME}}]]}}}'''.&lt;br /&gt;It contains usage information, [[Wikipedia:Categorization|categories]] and other content that is not part of the original {{#if:{{{text2|}}} |{{{text2}}} |{{#if:{{{text1|}}} |{{{text1}}} |{{#ifeq:{{SUBJECTSPACE}} |{{ns:User}} |{{lc:{{SUBJECTSPACE}}}} template page |{{#if:{{SUBJECTSPACE}} |{{lc:{{SUBJECTSPACE}}}} page|article}}}}}}}}.
}}
}}&lt;!--
--&gt;{{DEFAULTSORT:{{{defaultsort|{{PAGENAME}}}}}}}&lt;!--
--&gt;{{#if:{{{inhibit|}}} |&lt;!--(don't categorize)--&gt;
| &lt;includeonly&gt;&lt;!--
--&gt;{{#ifexist:{{NAMESPACE}}:{{BASEPAGENAME}}
| [[Category:{{#switch:{{SUBJECTSPACE}} |Template=Template |Module=Module |User=User |#default=Wikipedia}} documentation pages]]
| [[Category:Documentation subpages without corresponding pages]]
}}&lt;!--
--&gt;&lt;/includeonly&gt;
}}&lt;!--
(completing initial #ifeq: at start of template:)
--&gt;&lt;includeonly&gt;
| &lt;!--(this template has not been transcluded on a /doc or /{{{override}}} page)--&gt;
}}&lt;!--
--&gt;&lt;/includeonly&gt;&lt;noinclude&gt;{{Documentation}}&lt;/noinclude&gt;</text>
<sha1>iwoex9r4jjje2jlwm8eygcyef0s6hzx</sha1>
</revision>
</page>
<page>
<title>Template:Draw</title>
<ns>10</ns>
<id>30679990</id>
<revision>
<id>804536471</id>
<parentid>549046384</parentid>
<timestamp>2017-10-09T17:20:34Z</timestamp>
<contributor>
<username>MusikAnimal</username>
<id>14882394</id>
</contributor>
<minor/>
<comment>Protected &quot;[[Template:Draw]]&quot;: [[WP:High-risk templates|Highly visible template]]; 1,000+ transclusions ([Edit=Require autoconfirmed or confirmed access] (indefinite))</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="263">&lt;noinclude&gt;{| class=&quot;wikitable&quot;
|-
|&lt;/noinclude&gt;style=&quot;background:#c5d2ea; color:black; vertical-align:middle; text-align:{{{align|center}}}; {{{style|}}}&quot; class=&quot;table-draw&quot; |{{{1|}}}&lt;noinclude&gt;
|}
{{documentation|Template:Table cell templates/doc}}
&lt;/noinclude&gt;</text>
<sha1>syo1yjnhgk2f3q5596y2d9areyggabo</sha1>
</revision>
</page>
<page>
<title>Template:Dropped</title>
<ns>10</ns>
<id>2499768</id>
<revision>
<id>550409324</id>
<parentid>422967703</parentid>
<timestamp>2013-04-15T02:45:01Z</timestamp>
<contributor>
<username>Addbot</username>
<id>6569922</id>
</contributor>
<minor/>
<comment>[[User:Addbot|Bot:]] Migrating 3 interwiki links, now provided by [[Wikipedia:Wikidata|Wikidata]] on [[d:q10951509]]</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="282">&lt;noinclude&gt;{| class=&quot;wikitable&quot;
|-
|&lt;/noinclude&gt;style=&quot;background: #FED; color: black; vertical-align: middle; text-align: {{{align|center}}}; {{{style|}}}&quot; class=&quot;dropped table-dropped&quot;|{{{1|Dropped}}}&lt;noinclude&gt;
|}
{{Documentation|Template:Table cell templates/doc}}
&lt;/noinclude&gt;</text>
<sha1>e844dty585c314f15fdd5knxzjfuo52</sha1>
</revision>
</page>
<page>
<title>Template:Dunno</title>
<ns>10</ns>
<id>2859716</id>
<revision>
<id>819682154</id>
<parentid>715940422</parentid>
<timestamp>2018-01-10T18:58:57Z</timestamp>
<contributor>
<username>Primefac</username>
<id>11508456</id>
</contributor>
<minor/>
<comment>Protected &quot;[[Template:Dunno]]&quot;: [[WP:SEMI|semi-protecting]] highly-visible templates in response to recent template-space vandalism ([Edit=Require autoconfirmed or confirmed access] (indefinite) [Move=Require autoconfirmed or confirmed access] (indefin...</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="175">&lt;noinclude&gt;{| class=&quot;wikitable&quot;
|-
|&lt;/noinclude&gt;{{Unknown|{{{1|?}}}|{{{align|}}}|{{{style|}}}}}&lt;noinclude&gt;
|}
{{Documentation|Template:Table cell templates/doc}}
&lt;/noinclude&gt;</text>
<sha1>grligd7b76zgob5y3j4bu8r5fq0xg00</sha1>
</revision>
</page>
<page>
<title>Template:Eliminated</title>
<ns>10</ns>
<id>37967925</id>
<revision>
<id>539283857</id>
<parentid>528677679</parentid>
<timestamp>2013-02-20T19:48:04Z</timestamp>
<contributor>
<ip>101.112.180.65</ip>
</contributor>
<comment>colour too light. The standard colour for &quot;Eliminated&quot; is salmon or #FA8072.</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="274">&lt;noinclude&gt;{| class=&quot;wikitable&quot;
|-
|&lt;/noinclude&gt;style=&quot;background:#FA8072; color:black; vertical-align: middle; text-align: {{{align|center}}}; {{{style|}}}&quot; class=&quot;table-no&quot; | {{{1|Eliminated}}}&lt;noinclude&gt;
|}
{{Documentation|Template:Table cell templates/doc}}
&lt;/noinclude&gt;</text>
<sha1>sirs980l9k4ptbcpqcqc35fyy065xp3</sha1>
</revision>
</page>
<page>
<title>Template:Failure</title>
<ns>10</ns>
<id>43113144</id>
<revision>
<id>722939237</id>
<parentid>613849608</parentid>
<timestamp>2016-05-31T01:19:14Z</timestamp>
<contributor>
<username>JFG</username>
<id>168812</id>
</contributor>
<comment>Create templates for launch outcome</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="277">&lt;noinclude&gt;
{| class=&quot;wikitable&quot;
|&lt;/noinclude&gt;style=&quot;background: #ffbbbb; color: black; vertical-align: middle; text-align: {{{align|center}}}; {{{style|}}}&quot; class=&quot;table-failure&quot; | {{{1|Failure}}}&lt;noinclude&gt;
|}
{{documentation|Template:Table cell templates/doc}}
&lt;/noinclude&gt;</text>
<sha1>f2jdefnlea6j0wlemidra76kc6vp8ye</sha1>
</revision>
</page>
<page>
<title>Template:Free</title>
<ns>10</ns>
<id>4740161</id>
<revision>
<id>819687524</id>
<parentid>739604667</parentid>
<timestamp>2018-01-10T19:21:37Z</timestamp>
<contributor>
<username>Primefac</username>
<id>11508456</id>
</contributor>
<minor/>
<comment>Protected &quot;[[Template:Free]]&quot;: [[WP:SEMI|semi-protecting]] highly-visible templates in response to recent template-space vandalism ([Edit=Require autoconfirmed or confirmed access] (indefinite) [Move=Require autoconfirmed or confirmed access] (indefini...</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="315">&lt;noinclude&gt;{| class=&quot;wikitable&quot;
|-
|&lt;/noinclude&gt;style=&quot;background: #9FF; color: black; vertical-align: middle; text-align: {{{align|center}}}; {{{style|}}}&quot; class=&quot;free table-free&quot;|{{{1|Free}}}&lt;noinclude&gt;
|}
{{Documentation|Template:Table cell templates/doc}}
[[Category:Software table cell templates]]
&lt;/noinclude&gt;</text>
<sha1>gzmoj3251y0apqmfe58r81s4ygmen41</sha1>
</revision>
</page>
<page>
<title>Template:Good</title>
<ns>10</ns>
<id>26576004</id>
<revision>
<id>821201390</id>
<parentid>618072259</parentid>
<timestamp>2018-01-19T00:29:58Z</timestamp>
<contributor>
<username>Primefac</username>
<id>11508456</id>
</contributor>
<minor/>
<comment>Protected &quot;[[Template:Good]]&quot;: [[WP:SEMIPROT|semi-protection]] of high-usage templates to combat systematic vandalism ([Edit=Require autoconfirmed or confirmed access] (indefinite) [Move=Require autoconfirmed or confirmed access] (indefinite))</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="272">&lt;noinclude&gt;
{| class=&quot;wikitable&quot;
|&lt;/noinclude&gt;style=&quot;background: #bfd; color: black; vertical-align: middle; text-align: {{{align|center}}}; {{{style|}}}&quot; class=&quot;yes2 table-yes2&quot;| {{{1|Good}}}&lt;noinclude&gt;
|}
{{documentation|Template:Table cell templates/doc}}
&lt;/noinclude&gt;</text>
<sha1>ozn5kq60ba8pfdh06596rcpyqj2uzx3</sha1>
</revision>
</page>
<page>
<title>Template:High-use</title>
<ns>10</ns>
<id>17406187</id>
<revision>
<id>777931378</id>
<parentid>752582011</parentid>
<timestamp>2017-04-30T04:28:05Z</timestamp>
<contributor>
<username>Matt Fitzpatrick</username>
<id>291848</id>
</contributor>
<minor/>
<comment>added equivalent alt text &quot;Warning&quot; to image</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="1473">{{Ombox
| type = style
| image = [[File:Ambox warning yellow.svg|40px|alt=Warning|link=]]
| text =
'''This {{#switch:{{NAMESPACE}}|Module=Lua module|#default=template}} is used on [https://tools.wmflabs.org/templatecount/index.php?lang=en&amp;namespace={{NAMESPACENUMBER:{{FULLPAGENAME}}}}&amp;name={{urlencode:{{
#switch: {{SUBPAGENAME}}
| doc | sandbox = {{BASEPAGENAME}}
| #default = {{PAGENAME}}
}}}} {{High-use/num|1={{formatnum:{{#ifeq:{{str endswith|{{{1}}}|+}}|yes|{{str crop|{{{1}}}|1}}|{{{1}}}}}|R}}}} pages]''', so changes to it will be widely noticed. Please test any changes in the {{#switch:{{NAMESPACE}}|Module=module's|#default=template's}} [[{{#switch: {{SUBPAGENAME}}
| doc | sandbox = {{SUBJECTSPACE}}:{{BASEPAGENAME}}
| #default = {{SUBJECTPAGENAME}}
}}/sandbox|/sandbox]] or [[{{#switch: {{SUBPAGENAME}}
| doc | sandbox = {{SUBJECTSPACE}}:{{BASEPAGENAME}}
| #default = {{SUBJECTPAGENAME}}
}}/testcases|/testcases]] subpages{{#switch:{{NAMESPACE}}|Module=.|#default=, or in your own [[Wikipedia:Subpages#How to create user subpages|user subpage]].}} Please consider discussing changes {{#if:{{{2|}}}|at [[{{{2}}}]]|on the [[{{#switch: {{SUBPAGENAME}}
| doc | sandbox = {{TALKSPACE}}:{{BASEPAGENAME}}
| #default = {{TALKPAGENAME}}
}}|talk page]]}} before implementing them.
}}&lt;noinclude&gt;
{{Documentation}}
&lt;!-- Add categories to the /doc subpage; interwiki links go to Wikidata, thank you! --&gt;
&lt;/noinclude&gt;</text>
<sha1>ggv9ira9l4ekmaa8ru4nhdrreym2q5h</sha1>
</revision>
</page>
<page>
<title>Template:High-use/num</title>
<ns>10</ns>
<id>52295942</id>
<revision>
<id>804536581</id>
<parentid>749847442</parentid>
<timestamp>2017-10-09T17:20:41Z</timestamp>
<contributor>
<username>MusikAnimal</username>
<id>14882394</id>
</contributor>
<minor/>
<comment>Protected &quot;[[Template:High-use/num]]&quot;: [[WP:High-risk templates|Highly visible template]]; 1,000+ transclusions ([Edit=Require autoconfirmed or confirmed access] (indefinite))</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="74">{{#iferror:{{#expr:0+{{{1}}}*1}}|many|approximately {{sigfig|{{{1}}}|2}}}}</text>
<sha1>4xf17czszr0cg49vcljmilmjdv8krz3</sha1>
</revision>
</page>
<page>
<title>Template:Included</title>
<ns>10</ns>
<id>3949894</id>
<revision>
<id>422988982</id>
<parentid>349076756</parentid>
<timestamp>2011-04-08T08:15:00Z</timestamp>
<contributor>
<username>MerlIwBot</username>
<id>14161758</id>
</contributor>
<minor/>
<comment>robot Removing: [[es:Plantilla:Incluido]]</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="288">&lt;noinclude&gt;{| class=&quot;wikitable&quot;
|-
|&lt;/noinclude&gt;style=&quot;background: #DDFBFF; color: black; vertical-align: middle; text-align: {{{align|center}}}; {{{style|}}}&quot; class=&quot;included table-included&quot;|{{{1|Included}}}&lt;noinclude&gt;
|}
{{Documentation|Template:Table cell templates/doc}}
&lt;/noinclude&gt;</text>
<sha1>320keqw0plxusilaewuywchiyngldxy</sha1>
</revision>
</page>
<page>
<title>Template:Incorrect</title>
<ns>10</ns>
<id>8569838</id>
<revision>
<id>550404107</id>
<parentid>494303782</parentid>
<timestamp>2013-04-15T02:02:45Z</timestamp>
<contributor>
<username>Addbot</username>
<id>6569922</id>
</contributor>
<minor/>
<comment>[[User:Addbot|Bot:]] Migrating 5 interwiki links, now provided by [[Wikipedia:Wikidata|Wikidata]] on [[d:q10968967]]</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="272">&lt;noinclude&gt;{| class=&quot;wikitable&quot;
|-
|&lt;/noinclude&gt;style=&quot;background: #F90; color: black; vertical-align: middle; text-align: {{{align|center}}}; {{{style|}}}&quot; class=&quot;incorrect&quot;|{{{1|Incorrect}}}&lt;noinclude&gt;
|}
{{Documentation|Template:Table cell templates/doc}}
&lt;/noinclude&gt;</text>
<sha1>1dtocjms1sk850kgq52jufjfaq8p3fx</sha1>
</revision>
</page>
<page>
<title>Template:Longlisted</title>
<ns>10</ns>
<id>50222070</id>
<revision>
<id>715837930</id>
<timestamp>2016-04-18T08:57:53Z</timestamp>
<contributor>
<username>AnemoneProjectors</username>
<id>1597144</id>
</contributor>
<comment>[[WP:AES|←]]Created page with '&lt;noinclude&gt;{| class=&quot;wikitable&quot; |- |&lt;/noinclude&gt;style=&quot;background: #DDF; color: #2C2C2C; vertical-align: middle; text-align: {{{align|center}}}; {{{style|}}}&quot; cl...'</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="274">&lt;noinclude&gt;{| class=&quot;wikitable&quot;
|-
|&lt;/noinclude&gt;style=&quot;background: #DDF; color: #2C2C2C; vertical-align: middle; text-align: {{{align|center}}}; {{{style|}}}&quot; class=&quot;table-no2&quot;|{{{1|Longlisted}}}&lt;noinclude&gt;
|}
{{Documentation|Template:Table cell templates/doc}}
&lt;/noinclude&gt;</text>
<sha1>t94vzdcfr6egn0pof7wih684b3byh4w</sha1>
</revision>
</page>
<page>
<title>Template:Lost</title>
<ns>10</ns>
<id>7170549</id>
<revision>
<id>615392470</id>
<parentid>414511871</parentid>
<timestamp>2014-07-03T06:19:16Z</timestamp>
<contributor>
<ip>65.94.171.126</ip>
</contributor>
<comment>[[WP:BOLD]] match usage of [[template:won]]</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="299">&lt;noinclude&gt;{| class=&quot;wikitable&quot;
|-
|&lt;/noinclude&gt;style=&quot;background:#FA8072; color: {{{textcolor|black}}}; vertical-align: {{{valign|middle}}}; text-align: {{{halign|center}}}; {{{style|}}}&quot; class=&quot;table-no&quot; | {{{1|Lost}}}&lt;noinclude&gt;
|}
{{Documentation|Template:Table cell templates/doc}}
&lt;/noinclude&gt;</text>
<sha1>00nktlozdxhzk69i8jkdrlnnk00ws5a</sha1>
</revision>
</page>
<page>
<title>Template:Main other</title>
<ns>10</ns>
<id>17220251</id>
<revision>
<id>388689011</id>
<parentid>334818505</parentid>
<timestamp>2010-10-04T14:46:48Z</timestamp>
<contributor>
<username>WOSlinker</username>
<id>3138265</id>
</contributor>
<comment>remove {{pp-template}}</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="409">{{#switch:
&lt;!--If no or empty &quot;demospace&quot; parameter then detect namespace--&gt;
{{#if:{{{demospace|}}}
| {{lc: {{{demospace}}} }} &lt;!--Use lower case &quot;demospace&quot;--&gt;
| {{#ifeq:{{NAMESPACE}}|{{ns:0}}
| main
| other
}}
}}
| main = {{{1|}}}
| other
| #default = {{{2|}}}
}}&lt;noinclude&gt;
{{documentation}}
&lt;!-- Add categories and interwikis to the /doc subpage, not here! --&gt;
&lt;/noinclude&gt;</text>
<sha1>ngt28vb1n5t4bh1su57btnqyofkd1d5</sha1>
</revision>
</page>
<page>
<title>Template:Maybe</title>
<ns>10</ns>
<id>39467570</id>
<revision>
<id>821202511</id>
<parentid>595354673</parentid>
<timestamp>2018-01-19T00:31:23Z</timestamp>
<contributor>
<username>Primefac</username>
<id>11508456</id>
</contributor>
<minor/>
<comment>Protected &quot;[[Template:Maybe]]&quot;: [[WP:SEMIPROT|semi-protection]] of high-usage templates to combat systematic vandalism ([Edit=Require autoconfirmed or confirmed access] (indefinite) [Move=Require autoconfirmed or confirmed access] (indefinite))</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="274">&lt;noinclude&gt;{| class=&quot;wikitable&quot;
|-
|&lt;/noinclude&gt;style=&quot;background: #ffff90; color: black; vertical-align: middle; text-align: {{{align|center}}}; {{{style|}}}&quot; class=&quot;table-maybe&quot;|{{{1|Maybe}}}&lt;noinclude&gt;
|}
{{documentation|Template:Table cell templates/doc}}
&lt;/noinclude&gt;</text>
<sha1>apc8s7t3mfvr0070t3m75j22e7psxqv</sha1>
</revision>
</page>
<page>
<title>Template:MaybeCheck</title>
<ns>10</ns>
<id>40894160</id>
<revision>
<id>739603343</id>
<parentid>739602828</parentid>
<timestamp>2016-09-15T18:21:51Z</timestamp>
<contributor>
<ip>50.53.1.33</ip>
</contributor>
<comment>{{{color}}} and {{{rowspan}}}</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="397">&lt;noinclude&gt;{| class=&quot;wikitable&quot;
|-
|&lt;/noinclude&gt;style=&quot;background: {{{color|#FFB}}}; color: black; vertical-align: middle; text-align: {{{align|center}}}; {{{style|}}}&quot; class=&quot;partial table-partial&quot; {{#if:{{{rowspan|}}}|rowspan=&quot;{{{rowspan}}}&quot;}} |{{{text|[[File:yellow check.svg|13px|link={{{link|}}}|{{{1|Maybe}}}]]}}}&lt;noinclude&gt;
|}
{{documentation|Template:Table cell templates/doc}}&lt;/noinclude&gt;</text>
<sha1>3xitvgo7v7d238acalla91mjchhj6b1</sha1>
</revision>
</page>
<page>
<title>Template:N</title>
<ns>10</ns>
<id>1710479</id>
<redirect title="Template:Nay" />
<revision>
<id>802217541</id>
<parentid>488792168</parentid>
<timestamp>2017-09-24T19:11:35Z</timestamp>
<contributor>
<username>Massimocicc</username>
<id>13250591</id>
</contributor>
<minor/>
<comment>added rcat</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="55">#REDIRECT [[Template:Nay]]
{{R from template shortcut}}</text>
<sha1>jr81opitvcgyrlio82g3oiprsihrzca</sha1>
</revision>
</page>
<page>
<title>Template:N/a/doc</title>
<ns>10</ns>
<id>13941572</id>
<revision>
<id>746903116</id>
<parentid>692167984</parentid>
<timestamp>2016-10-30T07:37:50Z</timestamp>
<contributor>
<username>Numbermaniac</username>
<id>17157159</id>
</contributor>
<minor/>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="364">{{Documentation subpage}}
&lt;!-- Categories go where indicated at the bottom of this page, please; interwikis go to Wikidata (see also: [[Wikipedia:Wikidata]]) --&gt;
{{High-use| 15,800+}}
{{Table cell templates/doc}}
&lt;includeonly&gt;{{#ifeq:{{SUBPAGENAME}}|sandbox||
&lt;!-- Categories go below this line, please; interwikis go to Wikidata, thank you! --&gt;
}}&lt;/includeonly&gt;</text>
<sha1>kmnkzij6ld8450j42taio0parifeaje</sha1>
</revision>
</page>
<page>
<title>Template:Na</title>
<ns>10</ns>
<id>34043929</id>
<revision>
<id>819689342</id>
<parentid>755386272</parentid>
<timestamp>2018-01-10T19:25:50Z</timestamp>
<contributor>
<username>Primefac</username>
<id>11508456</id>
</contributor>
<minor/>
<comment>Protected &quot;[[Template:Na]]&quot;: [[WP:SEMI|semi-protecting]] highly-visible templates in response to recent template-space vandalism ([Edit=Require autoconfirmed or confirmed access] (indefinite) [Move=Require autoconfirmed or confirmed access] (indefinite))</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="415">&lt;noinclude&gt;{| class=&quot;wikitable&quot;
|-
|&lt;/noinclude&gt;data-sort-value=&quot;{{{sort|No}}}&quot; style=&quot;background: {{{color|#FFD2D2}}}; color:black; vertical-align: middle; text-align: {{{align|center}}}; {{{style|}}}&quot; class=&quot;table-no2&quot; {{#if:{{{rowspan|}}}|rowspan=&quot;{{{rowspan}}}&quot;}} | {{{text|[[File:Dark Red x.svg|13px|link={{{link|}}}|{{{1|No}}}]]}}}&lt;noinclude&gt;
|}
{{documentation|Template:Table cell templates/doc}}&lt;/noinclude&gt;</text>
<sha1>kydq4q3kwa02stgqxzehmpo81fh1umd</sha1>
</revision>
</page>
<page>
<title>Template:Nay</title>
<ns>10</ns>
<id>4894706</id>
<revision>
<id>810135930</id>
<parentid>713195618</parentid>
<timestamp>2017-11-13T15:06:49Z</timestamp>
<contributor>
<username>Fish and karate</username>
<id>224548</id>
</contributor>
<minor/>
<comment>Changed protection level for &quot;[[Template:Nay]]&quot;: [[WP:High-risk templates|Highly visible template]] ([Edit=Require template editor access] (indefinite) [Move=Require administrator access] (indefinite))</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="118">[[File:Red x.svg|13px|alt=Red X|link=]]&lt;span style=&quot;display: none;&quot;&gt;N&lt;/span&gt;&lt;noinclude&gt;
{{documentation}}
&lt;/noinclude&gt;</text>
<sha1>pv0kgw2wx2harjo87rxg5sjm9rs7iq2</sha1>
</revision>
</page>
<page>
<title>Template:Needs</title>
<ns>10</ns>
<id>18292810</id>
<revision>
<id>620129722</id>
<parentid>349075872</parentid>
<timestamp>2014-08-06T18:57:52Z</timestamp>
<contributor>
<username>FleetCommand</username>
<id>1069316</id>
</contributor>
<comment>Changing to a lighter color as its kins</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="304">&lt;noinclude&gt;{| class=&quot;wikitable&quot;
|-
|&lt;/noinclude&gt;style=&quot;background: #F99; color: black; vertical-align: middle; text-align: {{{align|center}}}; {{{style|}}}&quot; class=&quot;need table-needs&quot;|{{{1|Needs}}}&lt;noinclude&gt;
|}
{{Documentation|Template:Table cell templates/doc}}
[[es:Plantilla:Necesidades]]
&lt;/noinclude&gt;</text>
<sha1>liko5iigriezur8ihsychjkuiokk1qd</sha1>
</revision>
</page>
<page>
<title>Template:Nightly</title>
<ns>10</ns>
<id>25893761</id>
<revision>
<id>349075269</id>
<parentid>341687430</parentid>
<timestamp>2010-03-10T20:58:10Z</timestamp>
<contributor>
<username>Crissov</username>
<id>13025</id>
</contributor>
<minor/>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="305">&lt;noinclude&gt;{| class=&quot;wikitable&quot;
|-
|&lt;/noinclude&gt;style=&quot;background: #fdd; color: black; vertical-align: middle; text-align: {{{align|center}}}; {{{style|}}}&quot; class=&quot;nightly table-nightly&quot;|{{{1|[[Neutral build|Nightly build]]}}}&lt;noinclude&gt;
|}
{{Documentation|Template:Table cell templates/doc}}
&lt;/noinclude&gt;</text>
<sha1>7kszprm42lo37ap0dl135x94hl3hp6s</sha1>
</revision>
</page>
<page>
<title>Template:No2</title>
<ns>10</ns>
<id>5659034</id>
<revision>
<id>772147415</id>
<parentid>345040374</parentid>
<timestamp>2017-03-25T16:04:17Z</timestamp>
<contributor>
<username>Jo-Jo Eumerus</username>
<id>17449355</id>
</contributor>
<minor/>
<comment>Changed protection level for &quot;[[Template:No2]]&quot;: Allowing template editors on some templates with full protection dating back to pre-[[WP:TPROT]] times which aren't too often or too sensitively used. ([Edit=Require template editor access] (indefinite)...</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="232">&lt;noinclude&gt;{| class=&quot;wikitable&quot;
|-
|&lt;/noinclude&gt;style=&quot;background: #ffdddd; color: black; vertical-align: middle; text-align: {{{align|center}}}; {{{style|}}}&quot; class=&quot;table-no2&quot; |{{{1|}}}&lt;noinclude&gt;
|}
{{documentation}}
&lt;/noinclude&gt;</text>
<sha1>jjhp3x889jt9llk3hf1ra656wgzx29j</sha1>
</revision>
</page>
<page>
<title>Template:No result</title>
<ns>10</ns>
<id>17573683</id>
<revision>
<id>550418713</id>
<parentid>400220370</parentid>
<timestamp>2013-04-15T04:08:13Z</timestamp>
<contributor>
<username>Addbot</username>
<id>6569922</id>
</contributor>
<minor/>
<comment>[[User:Addbot|Bot:]] Migrating 4 interwiki links, now provided by [[Wikipedia:Wikidata|Wikidata]] on [[d:q10992313]]</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="308">&lt;noinclude&gt;{| class=&quot;wikitable&quot;
|-
|&lt;/noinclude&gt;style=&quot;background: #DFDFFF; color: black; vertical-align: middle; text-align: {{{align|center}}}; {{{style|}}}&quot; class=&quot;noresult&quot;|{{{1|No result}}}&lt;noinclude&gt;
|}
{{Documentation|Template:Table cell templates/doc}}
[[es:Plantilla:Ningún resultado]]
&lt;/noinclude&gt;</text>
<sha1>e3b29ln3y0ois9m8lbqv4jhcmmcgawp</sha1>
</revision>
</page>
<page>
<title>Template:Nocontest</title>
<ns>10</ns>
<id>21524215</id>
<revision>
<id>819687865</id>
<parentid>496485920</parentid>
<timestamp>2018-01-10T19:22:02Z</timestamp>
<contributor>
<username>Primefac</username>
<id>11508456</id>
</contributor>
<minor/>
<comment>Protected &quot;[[Template:Nocontest]]&quot;: [[WP:SEMI|semi-protecting]] highly-visible templates in response to recent template-space vandalism ([Edit=Require autoconfirmed or confirmed access] (indefinite) [Move=Require autoconfirmed or confirmed access] (ind...</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="193">&lt;noinclude&gt;{| class=&quot;wikitable&quot;
|-
|&lt;/noinclude&gt;style=&quot;background-color: #c5d2ea; text-align:{{{align|center}}}&quot; |&lt;noinclude&gt;
|}
{{documentation|Template:Table cell templates/doc}}
&lt;/noinclude&gt;</text>
<sha1>2gh6ipt618flvxn8i8zmf77i8gysuwb</sha1>
</revision>
</page>
<page>
<title>Template:Nom</title>
<ns>10</ns>
<id>15351990</id>
<revision>
<id>677623416</id>
<parentid>578888597</parentid>
<timestamp>2015-08-24T13:50:32Z</timestamp>
<contributor>
<username>WJBscribe</username>
<id>2803535</id>
</contributor>
<minor/>
<comment>Changed protection level of Template:Nom: [[WP:High-risk templates|Highly visible template]]: allow template editors ([Edit=Allow only template editors and admins] (indefinite) [Move=Allow only template editors and admins] (indefinite))</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="275">&lt;noinclude&gt;{| class=&quot;wikitable&quot;
|-
|&lt;/noinclude&gt;style=&quot;background: #FDD; color: black; vertical-align: middle; text-align: {{{align|center}}}; {{{style|}}}&quot; class=&quot;no table-no2&quot;|{{{1|Nominated}}}&lt;noinclude&gt;
|}
{{Documentation|Template:Table cell templates/doc}}
&lt;/noinclude&gt;</text>
<sha1>a7ppwmp1z0ocysf2mbfdhhqiv0zr7go</sha1>
</revision>
</page>
<page>
<title>Template:Non-album single</title>
<ns>10</ns>
<id>44383396</id>
<revision>
<id>821202931</id>
<parentid>813178321</parentid>
<timestamp>2018-01-19T00:31:55Z</timestamp>
<contributor>
<username>Primefac</username>
<id>11508456</id>
</contributor>
<minor/>
<comment>Protected &quot;[[Template:Non-album single]]&quot;: [[WP:SEMIPROT|semi-protection]] of high-usage templates to combat systematic vandalism ([Edit=Require autoconfirmed or confirmed access] (indefinite) [Move=Require autoconfirmed or confirmed access] (indefinite))</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="92">&lt;includeonly&gt;{{n/a|non-album single}}&lt;/includeonly&gt;
&lt;noinclude&gt;{{Documentation}}&lt;/noinclude&gt;</text>
<sha1>5sga149hcddgyw3au5jkw2orab98lw9</sha1>
</revision>
</page>
<page>
<title>Template:Nonfree</title>
<ns>10</ns>
<id>5858117</id>
<revision>
<id>821202938</id>
<parentid>566428007</parentid>
<timestamp>2018-01-19T00:31:55Z</timestamp>
<contributor>
<username>Primefac</username>
<id>11508456</id>
</contributor>
<minor/>
<comment>Protected &quot;[[Template:Nonfree]]&quot;: [[WP:SEMIPROT|semi-protection]] of high-usage templates to combat systematic vandalism ([Edit=Require autoconfirmed or confirmed access] (indefinite) [Move=Require autoconfirmed or confirmed access] (indefinite))</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="314">&lt;noinclude&gt;{| class=&quot;wikitable&quot;
|-
|&lt;/noinclude&gt;style=&quot;background: #F9D; color: black; vertical-align: middle; text-align: {{{align|center}}}; {{{style|}}}&quot; class=&quot;nonfree table-nonfree&quot;|{{{1|Non-free}}}&lt;noinclude&gt;
|}
{{confuse|Template:Non-free}}
{{Documentation|Template:Table cell templates/doc}}
&lt;/noinclude&gt;</text>
<sha1>bceyrd7bqt7vi7gec5m0lmu9iypp33p</sha1>
</revision>
</page>
<page>
<title>Template:Nonpartisan</title>
<ns>10</ns>
<id>47534743</id>
<revision>
<id>739577741</id>
<parentid>676247590</parentid>
<timestamp>2016-09-15T14:49:40Z</timestamp>
<contributor>
<ip>50.53.1.33</ip>
</contributor>
<comment>default text;differentiate</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="308">&lt;noinclude&gt;{| class=&quot;wikitable&quot;
|-
|&lt;/noinclude&gt;style=&quot;background: #FFFFFF; color: black; vertical-align: middle; text-align: {{{align|center}}}; {{{style|}}}&quot; class=&quot;partial table-partial&quot;|{{{1|Nonpartisan}}}&lt;noinclude&gt;
|}
{{Documentation|Template:Table cell templates/doc}}
&lt;!-- categories --&gt;
&lt;/noinclude&gt;</text>
<sha1>39vuuyv8o236h0sqlodej0g1ensrqh2</sha1>
</revision>
</page>
<page>
<title>Template:Not yet</title>
<ns>10</ns>
<id>7019389</id>
<revision>
<id>739714696</id>
<parentid>482074561</parentid>
<timestamp>2016-09-16T14:01:56Z</timestamp>
<contributor>
<ip>80.221.159.67</ip>
</contributor>
<comment>Sync element styling with [[Template:Table cell templates/doc]]</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="233">&lt;noinclude&gt;{| class=&quot;wikitable&quot;
|-
|&lt;/noinclude&gt;style=&quot;background:#ffd;vertical-align:middle;text-align:{{{align|center}}};{{{style|}}}&quot; | {{{1|Not Yet}}}&lt;noinclude&gt;
|}
{{documentation|Template:Table cell templates/doc}}
&lt;/noinclude&gt;</text>
<sha1>ho2thbjxyyxm7jo7opts01bewbf5mt4</sha1>
</revision>
</page>
<page>
<title>Template:Nowrap</title>
<ns>10</ns>
<id>1627975</id>
<restrictions>edit=sysop:move=sysop</restrictions>
<revision>
<id>692794261</id>
<parentid>462345338</parentid>
<timestamp>2015-11-28T10:13:53Z</timestamp>
<contributor>
<username>Edokter</username>
<id>1624037</id>
</contributor>
<comment>Adapt comment; edits inside noinclude blocks should not affect job queue, but won't kill parser either way.</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="145">&lt;span class=&quot;nowrap&quot;&gt;{{{1}}}&lt;/span&gt;&lt;noinclude&gt;
{{documentation}}
&lt;!-- Categories go on the /doc page; interwikis go to Wikidata. --&gt;
&lt;/noinclude&gt;</text>
<sha1>avb5tcymgupik1ikutqclidkj9tnitx</sha1>
</revision>
</page>
<page>
<title>Template:Okay</title>
<ns>10</ns>
<id>26576018</id>
<revision>
<id>350643328</id>
<parentid>350193727</parentid>
<timestamp>2010-03-18T19:04:06Z</timestamp>
<contributor>
<username>Gyrobo</username>
<id>588529</id>
</contributor>
<comment>Capital letter.</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="281">&lt;noinclude&gt;
{| class=&quot;wikitable&quot;
|&lt;/noinclude&gt;style=&quot;background: #FFD; color: black; vertical-align: middle; text-align: {{{align|center}}}; {{{style|}}}&quot; class=&quot;partial table-partial&quot;| {{{1|Neutral}}}&lt;noinclude&gt;
|}
{{documentation|Template:Table cell templates/doc}}
&lt;/noinclude&gt;</text>
<sha1>nwqfatr5k4pv84ct4d4zfubuukcyj8w</sha1>
</revision>
</page>
<page>
<title>Template:Operational</title>
<ns>10</ns>
<id>54339065</id>
<revision>
<id>786408870</id>
<timestamp>2017-06-19T08:40:57Z</timestamp>
<contributor>
<username>JFG</username>
<id>168812</id>
</contributor>
<comment>Add {{Operational}} for active spacecraft</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="281">&lt;noinclude&gt;
{| class=&quot;wikitable&quot;
|&lt;/noinclude&gt;style=&quot;background: #aaccff; color: black; vertical-align: middle; text-align: {{{align|center}}}; {{{style|}}}&quot; class=&quot;table-success&quot; | {{{1|Operational}}}&lt;noinclude&gt;
|}
{{documentation|Template:Table cell templates/doc}}
&lt;/noinclude&gt;</text>
<sha1>gox70asf3sev7e3k83jvio753skewic</sha1>
</revision>
</page>
<page>
<title>Template:Optional</title>
<ns>10</ns>
<id>6029938</id>
<revision>
<id>821203088</id>
<parentid>595355634</parentid>
<timestamp>2018-01-19T00:32:09Z</timestamp>
<contributor>
<username>Primefac</username>
<id>11508456</id>
</contributor>
<minor/>
<comment>Protected &quot;[[Template:Optional]]&quot;: [[WP:SEMIPROT|semi-protection]] of high-usage templates to combat systematic vandalism ([Edit=Require autoconfirmed or confirmed access] (indefinite) [Move=Require autoconfirmed or confirmed access] (indefinite))</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="255">&lt;noinclude&gt;{| class=&quot;wikitable&quot;
|-
|&lt;/noinclude&gt;style=&quot;background: #ddffdd; color: black; vertical-align: middle; text-align: {{{align|center}}}; {{{style|}}}&quot;|{{{1|Optional}}}&lt;noinclude&gt;
|}
{{documentation|Template:Table cell templates/doc}}
&lt;/noinclude&gt;</text>
<sha1>1dkkptn2jwnssn9zzn3iwa1266aoxgr</sha1>
</revision>
</page>
<page>
<title>Template:Order of magnitude</title>
<ns>10</ns>
<id>11656899</id>
<revision>
<id>772147393</id>
<parentid>522551188</parentid>
<timestamp>2017-03-25T16:04:16Z</timestamp>
<contributor>
<username>Jo-Jo Eumerus</username>
<id>17449355</id>
</contributor>
<minor/>
<comment>Changed protection level for &quot;[[Template:Order of magnitude]]&quot;: Allowing template editors on some templates with full protection dating back to pre-[[WP:TPROT]] times which aren't too often or too sensitively used. ([Edit=Require template editor access...</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="339">&lt;includeonly&gt;{{{{{|safesubst:}}}#ifexpr:{{{1|0}}}=0
|{{{{{|safesubst:}}}#ifexpr:abs{{{1|0}}}1=1
|0
|{{{{{|safesubst:}}}#expr:floor((ln(abs{{{1}}}1)/ln10)+1)}}
}}
|{{#expr:floor((ln(abs({{{1|0}}}) )/ln 10)+1E((abs{{{1|0}}}&gt;1E100 or abs{{{1|0}}}&lt;1E-100)-14))}}
}}&lt;/includeonly&gt;&lt;noinclude&gt;
{{documentation}}
&lt;/noinclude&gt;</text>
<sha1>o26s8fkrxrfa62h1s4cyrdxr33uqy8l</sha1>
</revision>
</page>
<page>
<title>Template:Partial</title>
<ns>10</ns>
<id>2499676</id>
<revision>
<id>819682637</id>
<parentid>793726504</parentid>
<timestamp>2018-01-10T18:59:35Z</timestamp>
<contributor>
<username>Primefac</username>
<id>11508456</id>
</contributor>
<minor/>
<comment>Protected &quot;[[Template:Partial]]&quot;: [[WP:SEMI|semi-protecting]] highly-visible templates in response to recent template-space vandalism ([Edit=Require autoconfirmed or confirmed access] (indefinite) [Move=Require autoconfirmed or confirmed access] (indef...</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="254">&lt;noinclude&gt;{| class=&quot;wikitable&quot;
|-
|&lt;/noinclude&gt;style=&quot;background:#FFB;vertical-align:middle;text-align:{{{align|center}}}; {{{style|}}}&quot; class=&quot;table-partial&quot;|{{{1|Partial}}}&lt;noinclude&gt;
|}
{{Documentation|Template:Table cell templates/doc}}
&lt;/noinclude&gt;</text>
<sha1>k0tc2n8ju0l8aekqawi6oy1tc6jyh0z</sha1>
</revision>
</page>
<page>
<title>Template:Partial failure</title>
<ns>10</ns>
<id>50681222</id>
<revision>
<id>722939836</id>
<parentid>722939365</parentid>
<timestamp>2016-05-31T01:24:14Z</timestamp>
<contributor>
<username>JFG</username>
<id>168812</id>
</contributor>
<comment>Use existing table-partial class</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="283">&lt;noinclude&gt;
{| class=&quot;wikitable&quot;
|&lt;/noinclude&gt;style=&quot;background: wheat; color: black; vertical-align: middle; text-align: {{{align|center}}}; {{{style|}}}&quot; class=&quot;table-partial&quot; | {{{1|Partial failure}}}&lt;noinclude&gt;
|}
{{documentation|Template:Table cell templates/doc}}
&lt;/noinclude&gt;</text>
<sha1>4qu4k3wiofz9viga0fipa03f3wqltea</sha1>
</revision>
</page>
<page>
<title>Template:Partial success</title>
<ns>10</ns>
<id>52252516</id>
<revision>
<id>788398705</id>
<parentid>749023860</parentid>
<timestamp>2017-07-01T05:05:34Z</timestamp>
<contributor>
<username>JFG</username>
<id>168812</id>
</contributor>
<comment>Distinguish colors for partial success and partial failure</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="282">&lt;noinclude&gt;
{| class=&quot;wikitable&quot;
|&lt;/noinclude&gt;style=&quot;background: #FFB; color: black; vertical-align: middle; text-align: {{{align|center}}}; {{{style|}}}&quot; class=&quot;table-partial&quot; | {{{1|Partial success}}}&lt;noinclude&gt;
|}
{{documentation|Template:Table cell templates/doc}}
&lt;/noinclude&gt;</text>
<sha1>j9bzbndzcte9k69kaqa9vfjpcwrensu</sha1>
</revision>
</page>
<page>
<title>Template:Pending</title>
<ns>10</ns>
<id>23537874</id>
<revision>
<id>545666227</id>
<parentid>462763411</parentid>
<timestamp>2013-03-20T12:05:03Z</timestamp>
<contributor>
<username>Addbot</username>
<id>6569922</id>
</contributor>
<minor/>
<comment>[[User:Addbot|Bot:]] Migrating 2 interwiki links, now provided by [[Wikipedia:Wikidata|Wikidata]] on [[d:q6247483]]</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="314">&lt;noinclude&gt;{| class=&quot;wikitable&quot;
|-
|&lt;/noinclude&gt;style=&quot;background: #FFD; color: black; vertical-align: middle; text-align: {{{align|center}}}; {{{style|}}}&quot; class=&quot;partial table-partial&quot;|{{{1|Pending}}}&lt;noinclude&gt;
|}
{{Documentation|Template:Table cell templates/doc}}
&lt;!-- interwikis &amp; categories --&gt;
&lt;/noinclude&gt;</text>
<sha1>gausp9hdzytetnnocepdvkcil5aw5zs</sha1>
</revision>
</page>
<page>
<title>Template:Perhaps</title>
<ns>10</ns>
<id>2806870</id>
<revision>
<id>595355320</id>
<parentid>482073645</parentid>
<timestamp>2014-02-13T21:12:18Z</timestamp>
<contributor>
<username>Crissov</username>
<id>13025</id>
</contributor>
<comment>use unified code</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="289">&lt;noinclude&gt;{| class=&quot;wikitable&quot;
|-
|&lt;/noinclude&gt;style=&quot;background: #ffffdd; color: black; vertical-align: middle; text-align: {{{align|center}}}; {{{style|}}}&quot; class=&quot;automatic table-automatic&quot;| {{{1|Perhaps}}}&lt;noinclude&gt;
|}
{{documentation|Template:Table cell templates/doc}}
&lt;/noinclude&gt;</text>
<sha1>1d4cyn17nhttt7zemwp1m0ux22de2c4</sha1>
</revision>
</page>
<page>
<title>Template:Planned</title>
<ns>10</ns>
<id>50681350</id>
<revision>
<id>722942074</id>
<timestamp>2016-05-31T01:42:03Z</timestamp>
<contributor>
<username>JFG</username>
<id>168812</id>
</contributor>
<comment>Create templates for launch outcome</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="277">&lt;noinclude&gt;
{| class=&quot;wikitable&quot;
|&lt;/noinclude&gt;style=&quot;background: #dfdfff; color: black; vertical-align: middle; text-align: {{{align|center}}}; {{{style|}}}&quot; class=&quot;table-planned&quot; | {{{1|Planned}}}&lt;noinclude&gt;
|}
{{documentation|Template:Table cell templates/doc}}
&lt;/noinclude&gt;</text>
<sha1>8cfls4d2les76kmzhwfv4jvei8wswfk</sha1>
</revision>
</page>
<page>
<title>Template:Proprietary</title>
<ns>10</ns>
<id>15126103</id>
<revision>
<id>821203494</id>
<parentid>628242215</parentid>
<timestamp>2018-01-19T00:32:42Z</timestamp>
<contributor>
<username>Primefac</username>
<id>11508456</id>
</contributor>
<minor/>
<comment>Protected &quot;[[Template:Proprietary]]&quot;: [[WP:SEMIPROT|semi-protection]] of high-usage templates to combat systematic vandalism ([Edit=Require autoconfirmed or confirmed access] (indefinite) [Move=Require autoconfirmed or confirmed access] (indefinite))</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="348">&lt;noinclude&gt;{| class=&quot;wikitable&quot;
|-
|&lt;/noinclude&gt;style=&quot;background: #ddf; vertical-align: middle; text-align: {{{align|center}}}; {{{style|}}}&quot; class=&quot;table-proprietary&quot;|{{{1|[[Proprietary software|Proprietary]]}}}&lt;noinclude&gt;
|}
{{Documentation|Template:Table cell templates/doc}}
[[Category:Software table cell templates|Proprietary]]
&lt;/noinclude&gt;</text>
<sha1>cvxcm7uux4xl9avnw934xgh9r8xrw95</sha1>
</revision>
</page>
<page>
<title>Template:Rarely</title>
<ns>10</ns>
<id>31678206</id>
<revision>
<id>617957524</id>
<parentid>427469891</parentid>
<timestamp>2014-07-22T08:11:01Z</timestamp>
<contributor>
<username>Telpardec</username>
<id>13990502</id>
</contributor>
<comment>background a bit too dark - making a little lighter</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="314">&lt;noinclude&gt;{| class=&quot;wikitable&quot;
|-
|&lt;/noinclude&gt;style=&quot;background: #FC8; color: black; vertical-align: middle; text-align: {{{align|center}}}; {{{style|}}}&quot; class=&quot;partial table-partial&quot;|{{{1|Rarely}}}&lt;noinclude&gt;
|}
{{Documentation|Template:Table cell templates/doc}}
&lt;!-- interwikis &amp; categories --&gt;
&lt;/noinclude&gt;</text>
<sha1>enwka5vt5gj6621vwoozb8tgwuvcqvr</sha1>
</revision>
</page>
<page>
<title>Template:Regional</title>
<ns>10</ns>
<id>54743863</id>
<revision>
<id>793726525</id>
<timestamp>2017-08-03T15:20:33Z</timestamp>
<contributor>
<username>Yejianfei</username>
<id>17164918</id>
</contributor>
<comment>[[WP:AES|←]]Created page with '&lt;noinclude&gt;{| class=&quot;wikitable&quot; |- |&lt;/noinclude&gt;style=&quot;background:#FFB;vertical-align:middle;text-align:{{{align|center}}}; {{{style|}}}&quot; class=&quot;table-partial&quot;|{...'</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="255">&lt;noinclude&gt;{| class=&quot;wikitable&quot;
|-
|&lt;/noinclude&gt;style=&quot;background:#FFB;vertical-align:middle;text-align:{{{align|center}}}; {{{style|}}}&quot; class=&quot;table-partial&quot;|{{{1|Regional}}}&lt;noinclude&gt;
|}
{{Documentation|Template:Table cell templates/doc}}
&lt;/noinclude&gt;</text>
<sha1>2tcvxdd9hj7p8v0q9o1m4laootskqbk</sha1>
</revision>
</page>
<page>
<title>Template:Release-candidate</title>
<ns>10</ns>
<id>27685337</id>
<revision>
<id>371131647</id>
<parentid>367527307</parentid>
<timestamp>2010-07-01T02:38:08Z</timestamp>
<contributor>
<username>Gyrobo</username>
<id>588529</id>
</contributor>
<minor/>
<comment>Link fix.</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="343">&lt;noinclude&gt;{| class=&quot;wikitable&quot;
|-
|&lt;/noinclude&gt;style=&quot;background: #BFD; color: black; vertical-align: middle; text-align: {{{align|center}}}; {{{style|}}}&quot; class=&quot;table-release-candidate&quot;|{{{1|[[Software release life cycle#Release candidate|Release candidate]]}}}&lt;noinclude&gt;
|}
{{Documentation|Template:Table cell templates/doc}}
&lt;/noinclude&gt;</text>
<sha1>lvqtcgp19zgoxq85rdowamt8pag67gg</sha1>
</revision>
</page>
<page>
<title>Template:Rh</title>
<ns>10</ns>
<id>2734578</id>
<revision>
<id>633760712</id>
<parentid>345040538</parentid>
<timestamp>2014-11-14T03:31:52Z</timestamp>
<contributor>
<username>Mr. Stradivarius</username>
<id>4708675</id>
</contributor>
<minor/>
<comment>Changed protection level of Template:Rh: [[WP:High-risk templates|Highly visible template]]: allow template editors ([Edit=Allow only template editors and admins] (indefinite) [Move=Allow only template editors and admins] (indefinite))</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="238">&lt;noinclude&gt;{| class=&quot;wikitable&quot;
|-
|&lt;/noinclude&gt;style=&quot;background: #ececec; color: black; font-weight: bold; vertical-align: middle; text-align: {{{align|left}}}; {{{style|}}}&quot; class=&quot;table-rh&quot;&lt;noinclude&gt;
|}
{{documentation}}
&lt;/noinclude&gt;</text>
<sha1>mve7sywn6k9a1gku1b6mknzfx9ohtmh</sha1>
</revision>
</page>
<page>
<title>Template:Rh2</title>
<ns>10</ns>
<id>20642750</id>
<revision>
<id>494970653</id>
<parentid>471805817</parentid>
<timestamp>2012-05-29T16:02:10Z</timestamp>
<contributor>
<ip>50.53.15.51</ip>
</contributor>
<comment>iw</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="271">&lt;noinclude&gt;{| class=&quot;wikitable&quot;
|-
|&lt;/noinclude&gt;style=&quot;background: {{Rh2/bgcolor}}; color: black; vertical-align: middle; text-align: {{{align|left}}}; font-weight: bolder; {{{style|}}}&quot; class=&quot;rh heading table-rh&quot;&lt;noinclude&gt;| Row Header
|}
{{documentation}}
&lt;/noinclude&gt;</text>
<sha1>rsilmixg2rslearsq4doi96ve2h9jt8</sha1>
</revision>
</page>
<page>
<title>Template:Rh2/bgcolor</title>
<ns>10</ns>
<id>34405258</id>
<revision>
<id>471805820</id>
<parentid>471805760</parentid>
<timestamp>2012-01-17T03:59:39Z</timestamp>
<contributor>
<username>Tomchen1989</username>
<id>11110763</id>
</contributor>
<comment>[[Template_talk:Table_cell_templates#Background color for {{Rh2}}]]</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="21">&lt;nowiki&gt;#edf&lt;/nowiki&gt;</text>
<sha1>ryhrtp7orri5g8yezb22zknu80e8y65</sha1>
</revision>
</page>
<page>
<title>Template:Rnd</title>
<ns>10</ns>
<id>13373859</id>
<revision>
<id>772120890</id>
<parentid>539949680</parentid>
<timestamp>2017-03-25T12:38:46Z</timestamp>
<contributor>
<username>Jo-Jo Eumerus</username>
<id>17449355</id>
</contributor>
<minor/>
<comment>Changed protection level for &quot;[[Template:Rnd]]&quot;: Allowing template editors on some templates with full protection dating back to pre-[[WP:TPROT|TPROT]] times which aren't too often or too sensitively used. ([Edit=Require template editor access] (indefi...</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="323">&lt;includeonly&gt;{{#iferror:{{#expr:{{{2|0}}}}} |
[[Category:Pages with bad rounding precision]]{{hid|Bad rounding here}}&lt;!--
--&gt;{{#invoke:Math|precision_format| {{{1}}} | 1-{{order of magnitude|{{{1}}}}} }}|
{{#invoke:Math|precision_format| {{{1}}} | {{{2|0}}}}}}}&lt;/includeonly&gt;&lt;noinclude&gt;
{{documentation}}
&lt;/noinclude&gt;</text>
<sha1>rx1gvq4bh1iryz29g6tt9b2a4ng2k7z</sha1>
</revision>
</page>
<page>
<title>Template:Safe</title>
<ns>10</ns>
<id>38443531</id>
<revision>
<id>536920418</id>
<timestamp>2013-02-06T18:55:47Z</timestamp>
<contributor>
<username>FrancDeBx</username>
<id>18370505</id>
</contributor>
<comment>[[WP:AES|←]]Created page with '&lt;noinclude&gt;{| class=&quot;wikitable&quot; |- |&lt;/noinclude&gt;style=&quot;background:#ffffff; color:black; vertical-align: middle; text-align: {{{align|center}}}; {{{style|}}}&quot; cla...'</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="268">&lt;noinclude&gt;{| class=&quot;wikitable&quot;
|-
|&lt;/noinclude&gt;style=&quot;background:#ffffff; color:black; vertical-align: middle; text-align: {{{align|center}}}; {{{style|}}}&quot; class=&quot;table-no&quot; | {{{1|Safe}}}&lt;noinclude&gt;
|}
{{Documentation|Template:Table cell templates/doc}}
&lt;/noinclude&gt;</text>
<sha1>5ywosaakvft53svwoo88a3wsr3i0nzl</sha1>
</revision>
</page>
<page>
<title>Template:Scheduled</title>
<ns>10</ns>
<id>50765157</id>
<revision>
<id>724460781</id>
<timestamp>2016-06-09T11:41:07Z</timestamp>
<contributor>
<username>JFG</username>
<id>168812</id>
</contributor>
<comment>Created template</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="279">&lt;noinclude&gt;
{| class=&quot;wikitable&quot;
|&lt;/noinclude&gt;style=&quot;background: #dfdfff; color: black; vertical-align: middle; text-align: {{{align|center}}}; {{{style|}}}&quot; class=&quot;table-planned&quot; | {{{1|Scheduled}}}&lt;noinclude&gt;
|}
{{documentation|Template:Table cell templates/doc}}
&lt;/noinclude&gt;</text>
<sha1>7yxc8idw2i7tb4ety3k2p4cuq9ywdkd</sha1>
</revision>
</page>
<page>
<title>Template:Sdash</title>
<ns>10</ns>
<id>28472460</id>
<revision>
<id>744093489</id>
<parentid>744091787</parentid>
<timestamp>2016-10-13T02:28:52Z</timestamp>
<contributor>
<ip>50.53.1.33</ip>
</contributor>
<comment>unneeded div</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="253">{| class=&quot;wikitable sortable&quot;
|-
| &lt;onlyinclude&gt;data-sort-value=&quot;{{{sort|}}}&quot; style=&quot;{{{style|vertical-align:middle; text-align:center}}}&quot; class=&quot;{{{class|table-na}}}&quot; | {{{1|—}}}&lt;/onlyinclude&gt;
|}
{{documentation|content={{Table cell templates/doc}}}}</text>
<sha1>m7zd32cnoeb8ggg8nvln2jh283xqmqz</sha1>
</revision>
</page>
<page>
<title>Template:Sho</title>
<ns>10</ns>
<id>21978134</id>
<revision>
<id>821204141</id>
<parentid>349078192</parentid>
<timestamp>2018-01-19T00:33:26Z</timestamp>
<contributor>
<username>Primefac</username>
<id>11508456</id>
</contributor>
<minor/>
<comment>Protected &quot;[[Template:Sho]]&quot;: [[WP:SEMIPROT|semi-protection]] of high-usage templates to combat systematic vandalism ([Edit=Require autoconfirmed or confirmed access] (indefinite) [Move=Require autoconfirmed or confirmed access] (indefinite))</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="276">&lt;noinclude&gt;{| class=&quot;wikitable&quot;
|-
|&lt;/noinclude&gt;style=&quot;background: #f0e68c; color: black; vertical-align: middle; text-align: {{{align|center}}}; {{{style|}}}&quot; class=&quot;table-no2&quot;|{{{1|Shortlisted}}}&lt;noinclude&gt;
|}
{{Documentation|Template:Table cell templates/doc}}
&lt;/noinclude&gt;</text>
<sha1>s9hrhg6nas7yunvf2j4bi43qf0jttk1</sha1>
</revision>
</page>
<page>
<title>Template:Sigfig</title>
<ns>10</ns>
<id>37772150</id>
<redirect title="Template:Significant figures" />
<revision>
<id>769931066</id>
<parentid>686429031</parentid>
<timestamp>2017-03-12T12:58:35Z</timestamp>
<contributor>
<username>Christian75</username>
<id>1306352</id>
</contributor>
<comment>{{redr}} is deprecated - converting to {{Redirect category shell}} using [[Project:AWB|AWB]]</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="118">#REDIRECT [[Template:Significant figures]]
{{Redirect category shell|
{{R from move}}
{{R from template shortcut}}
}}</text>
<sha1>6liq0tocaomv3w5pnzdg0n7d2hqs805</sha1>
</revision>
</page>
<page>
<title>Template:Significant figures</title>
<ns>10</ns>
<id>13120760</id>
<revision>
<id>638406869</id>
<parentid>594681521</parentid>
<timestamp>2014-12-16T21:22:35Z</timestamp>
<contributor>
<username>Jackmcbarn</username>
<id>19285809</id>
</contributor>
<minor/>
<comment>use the right doc template</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="249">{{#ifeq:{{{1&lt;noinclude&gt;|0&lt;/noinclude&gt;}}}|0
|0
|{{significant figures/{{#if:{{{2|}}}
|rnd
|sum
}}
|1={{formatnum:{{{1}}}|R}}
|2={{{2}}}
|3={{Order of magnitude|{{formatnum:{{{1}}}|R}}}}
}}
}}&lt;noinclude&gt;
{{documentation}}
&lt;/noinclude&gt;</text>
<sha1>0w70ettzuwz10gi8sb1030t0ch78d2b</sha1>
</revision>
</page>
<page>
<title>Template:Significant figures/rnd</title>
<ns>10</ns>
<id>13248669</id>
<revision>
<id>804533777</id>
<parentid>617347527</parentid>
<timestamp>2017-10-09T17:05:03Z</timestamp>
<contributor>
<username>MusikAnimal</username>
<id>14882394</id>
</contributor>
<minor/>
<comment>Protected &quot;[[Template:Significant figures/rnd]]&quot;: [[WP:High-risk templates|Highly visible template]]; thousands of transclusions ([Edit=Require autoconfirmed or confirmed access] (indefinite))</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="632">&lt;includeonly&gt;{{rnd|{{{1}}}|{{{2}}}-{{{3}}}-1}}&lt;/includeonly&gt;&lt;noinclude&gt;
{{doc|content=
A rounding subtemplate, it calls {{tl|rnd}}.
Examples:
*{{xpd5op3p3p3c|d=||||||sigfig/rnd|123.456|||7|||2}}
*{{xpd5op3p3p3c|d=||||||sigfig/rnd|123.456|||6|||2}}
*{{xpd5op3p3p3c|d=||||||sigfig/rnd|123.456|||5|||2}}
*{{xpd5op3p3p3c|d=||||||sigfig/rnd|123.456|||4|||2}}
*{{xpd5op3p3p3c|d=||||||sigfig/rnd|123.456|||3|||2}}
*{{xpd5op3p3p3c|d=||||||sigfig/rnd|123.456|||2|||2}}
*{{xpd5op3p3p3c|d=||||||sigfig/rnd|123.456|||1|||2}}
*{{xpd5op3p3p3c|d=||||||sigfig/rnd|123.456|||0|||2}}
[[Category:Subtemplates of template sigfig|rnd]]
}}
&lt;/noinclude&gt;</text>
<sha1>kzghuljvaaip7zd0yfn5yjvsyvsym83</sha1>
</revision>
</page>
<page>
<title>Template:Site active</title>
<ns>10</ns>
<id>23023301</id>
<revision>
<id>384304969</id>
<parentid>349079070</parentid>
<timestamp>2010-09-12T01:33:36Z</timestamp>
<contributor>
<username>Rich Farmbrough</username>
<id>82835</id>
</contributor>
<minor/>
<comment>moved [[Template:Siteactive]] to [[Template:Site active]]: Separate words</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="285">&lt;noinclude&gt;{| class=&quot;wikitable&quot;
|-
|&lt;/noinclude&gt;style=&quot;background: #90FF90; color: black; vertical-align: middle; text-align: {{{align|center}}}; {{{style|}}}&quot; class=&quot;active table-siteactive&quot;|{{{1|Active}}}&lt;noinclude&gt;
|}
{{Documentation|Template:Table cell templates/doc}}
&lt;/noinclude&gt;</text>
<sha1>om01olkcv6x2l9fmkxbfaar4ouf50ij</sha1>
</revision>
</page>
<page>
<title>Template:Site inactive</title>
<ns>10</ns>
<id>23023276</id>
<revision>
<id>384305072</id>
<parentid>349078960</parentid>
<timestamp>2010-09-12T01:34:21Z</timestamp>
<contributor>
<username>Rich Farmbrough</username>
<id>82835</id>
</contributor>
<minor/>
<comment>moved [[Template:Siteinactive]] to [[Template:Site inactive]]: Separate words</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="291">&lt;noinclude&gt;{| class=&quot;wikitable&quot;
|-
|&lt;/noinclude&gt;style=&quot;background: #FF9090; color: black; vertical-align: middle; text-align: {{{align|center}}}; {{{style|}}}&quot; class=&quot;inactive table-siteinactive&quot;|{{{1|Inactive}}}&lt;noinclude&gt;
|}
{{Documentation|Template:Table cell templates/doc}}
&lt;/noinclude&gt;</text>
<sha1>tu0a2zsto2p7x29mvctbyeq27arc7u2</sha1>
</revision>
</page>
<page>
<title>Template:Some</title>
<ns>10</ns>
<id>5916261</id>
<revision>
<id>349077558</id>
<parentid>341483061</parentid>
<timestamp>2010-03-10T21:08:35Z</timestamp>
<contributor>
<username>Crissov</username>
<id>13025</id>
</contributor>
<minor/>
<comment>/doc</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="278">&lt;noinclude&gt;{| class=&quot;wikitable&quot;
|-
|&lt;/noinclude&gt;style=&quot;background: #FFD; color: black; vertical-align: middle; text-align: {{{align|center}}}; {{{style|}}}&quot; class=&quot;partial table-partial&quot;|{{{1|Some}}}&lt;noinclude&gt;
|}
{{Documentation|Template:Table cell templates/doc}}
&lt;/noinclude&gt;</text>
<sha1>p9106p3u0jq1ynld7259ck5391bof45</sha1>
</revision>
</page>
<page>
<title>Template:Sometimes</title>
<ns>10</ns>
<id>36104869</id>
<revision>
<id>641377356</id>
<parentid>497027014</parentid>
<timestamp>2015-01-07T08:46:24Z</timestamp>
<contributor>
<username>Musashiaharon</username>
<id>826010</id>
</contributor>
<comment>displays preview now</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="296">&lt;noinclude&gt;{| class=&quot;wikitable&quot;
|-
|&lt;/noinclude&gt;style=&quot;background: #b0c4de; color: black; vertical-align: middle; text-align: center; &quot; class=&quot;partial table-partial&quot;|{{{1|Sometimes}}}&lt;noinclude&gt;
|}
{{documentation|Template:Table cell templates/doc}}
&lt;!-- interwikis &amp; categories --&gt;
&lt;/noinclude&gt;</text>
<sha1>ox9im9z8q3qxedhmt0t2ldgzr3e3w90</sha1>
</revision>
</page>
<page>
<title>Template:Str crop</title>
<ns>10</ns>
<id>22792911</id>
<revision>
<id>656761583</id>
<parentid>638395630</parentid>
<timestamp>2015-04-16T14:37:18Z</timestamp>
<contributor>
<username>Frietjes</username>
<id>13791031</id>
</contributor>
<comment>add safesubst:</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="179">&lt;includeonly&gt;{{safesubst:#invoke:String | sub | s={{{1|}}} | 1 | {{safesubst:#expr: -{{{2|1}}} - 1}} | ignore_errors=true }}&lt;/includeonly&gt;&lt;noinclude&gt;
{{documentation}}&lt;/noinclude&gt;</text>
<sha1>n0lrovj1bv85hf3j8hj0ny8majdzr3h</sha1>
</revision>
</page>
<page>
<title>Template:Success</title>
<ns>10</ns>
<id>50681166</id>
<revision>
<id>722938970</id>
<parentid>722938147</parentid>
<timestamp>2016-05-31T01:17:02Z</timestamp>
<contributor>
<username>JFG</username>
<id>168812</id>
</contributor>
<comment>Fixed nowiki from subst</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="277">&lt;noinclude&gt;
{| class=&quot;wikitable&quot;
|&lt;/noinclude&gt;style=&quot;background: #bbffbb; color: black; vertical-align: middle; text-align: {{{align|center}}}; {{{style|}}}&quot; class=&quot;table-success&quot; | {{{1|Success}}}&lt;noinclude&gt;
|}
{{documentation|Template:Table cell templates/doc}}
&lt;/noinclude&gt;</text>
<sha1>bljpz5hbrg1n6t1m4025ypmo183sif9</sha1>
</revision>
</page>
<page>
<title>Template:TBA</title>
<ns>10</ns>
<id>9677422</id>
<revision>
<id>804536871</id>
<parentid>721300818</parentid>
<timestamp>2017-10-09T17:20:54Z</timestamp>
<contributor>
<username>MusikAnimal</username>
<id>14882394</id>
</contributor>
<minor/>
<comment>Protected &quot;[[Template:TBA]]&quot;: [[WP:High-risk templates|Highly visible template]]; 1,000+ transclusions ([Edit=Require autoconfirmed or confirmed access] (indefinite))</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="270">&lt;noinclude&gt;{| class=&quot;wikitable&quot;
|-
|&lt;/noinclude&gt;style=&quot;background: #DDF; color: #2C2C2C; vertical-align: middle; text-align: {{{align|center}}}; {{{style|}}}&quot; class=&quot;no table-no2&quot;|{{{1|TBA}}}&lt;noinclude&gt;
|}
{{Documentation|Template:Table cell templates/doc}}
&lt;/noinclude&gt;</text>
<sha1>9d5b30prhmcuw2cindmhnr0il1k8mca</sha1>
</revision>
</page>
<page>
<title>Template:Table-experimental</title>
<ns>10</ns>
<id>16193258</id>
<revision>
<id>550388570</id>
<parentid>407247096</parentid>
<timestamp>2013-04-14T23:54:50Z</timestamp>
<contributor>
<username>Addbot</username>
<id>6569922</id>
</contributor>
<minor/>
<comment>[[User:Addbot|Bot:]] Migrating 4 interwiki links, now provided by [[Wikipedia:Wikidata|Wikidata]] on [[d:q10957496]]</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="336">&lt;noinclude&gt;{| class=&quot;wikitable&quot;
|-
|&lt;/noinclude&gt;style=&quot;background: #DFDFFF; color: black; vertical-align: middle; text-align: {{{align|center}}}; {{{style|}}}&quot; class=&quot;experimental table-experimental&quot;|{{{1|Experimental}}}&lt;noinclude&gt;
|}
{{Documentation|Template:Table cell templates/doc}}
[[es:Plantilla:Tabla-experimental]]
&lt;/noinclude&gt;</text>
<sha1>0gbgrfuiiywm036ys2f5x7spdsmm091</sha1>
</revision>
</page>
<page>
<title>Template:Table cell templates</title>
<ns>10</ns>
<id>8584675</id>
<revision>
<id>737695775</id>
<parentid>542178014</parentid>
<timestamp>2016-09-04T13:36:51Z</timestamp>
<contributor>
<ip>50.53.1.33</ip>
</contributor>
<comment>sort</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="573">&lt;noinclude&gt;
{|
|&lt;/noinclude&gt;{{#if:{{{sort|}}}|data-sort-value=&quot;&lt;nowiki&gt;{{{sort|&lt;/nowiki&gt;{{{sort}}}&lt;nowiki&gt;}}}&lt;/nowiki&gt;&quot;}} style=&quot;background: {{{bg|white}}}; color: {{{color|black}}}; vertical-align: {{{valign|middle}}}; text-align: &lt;nowiki&gt;{{{align|&lt;/nowiki&gt;{{{align|center}}}&lt;nowiki&gt;}}}&lt;/nowiki&gt;; &lt;nowiki&gt;{{{style|}}}&lt;/nowiki&gt;&quot; class=&quot;{{{class|{{BASEPAGENAME}}}}} table-{{{class|{{BASEPAGENAME}}}}}&quot;| &lt;nowiki&gt;{{{1|&lt;/nowiki&gt;{{{text}}}&lt;nowiki&gt;}}}&lt;/nowiki&gt;&lt;noinclude&gt;
|}
{{Documentation}}
&lt;!-- ADD CATEGORIES BELOW THIS LINE --&gt;
[[Category:Table cell templates]]
&lt;/noinclude&gt;</text>
<sha1>fyfp8k8tm2vy4lpf81sz4hgn1nfj8iy</sha1>
</revision>
</page>
<page>
<title>Template:Table cell templates/doc</title>
<ns>10</ns>
<id>25941487</id>
<revision>
<id>821472842</id>
<parentid>793729887</parentid>
<timestamp>2018-01-20T18:10:53Z</timestamp>
<contributor>
<username>TheDoctorWho</username>
<id>31555064</id>
</contributor>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="15244">&lt;noinclude&gt;{{Documentation subpage}}&lt;/noinclude&gt;
{{#ifeq:{{FULLPAGENAME}}|Template:BLACK|{{For|the text color template|Template:Black}}}}
The templates in this series are designed to be used in a [[Help:Table|table]] to make a cell with text in that cell, with an appropriately colored background. They are commonly used in [[:Category:Comparisons|comparison tables]].
For example, {{Tlc|yes}} makes a cell with a green background. The text in the cell is taken from the [[Help:Template#Parameters|first parameter]]; &lt;code&gt;&lt;nowiki&gt;{{&lt;/nowiki&gt;yes|Sure}}&lt;/code&gt; would output &quot;Sure&quot; otherwise it defaults to &quot;Yes&quot;. Most templates allow authors to override the default text in this way, some require text put after the template call and some also need a vertical bar in between: &lt;code&gt;&lt;nowiki&gt;{{&lt;/nowiki&gt;''table cell template''}} ''text''&lt;/code&gt; or &lt;code&gt;&lt;nowiki&gt;{{&lt;/nowiki&gt;''table cell template''}} | ''text''&lt;/code&gt;. This information, the colors and default texts are found in the table below.
If you want to use other attributes for the table cells, ''e.g.'' &lt;code&gt;colspan&lt;/code&gt; or &lt;code&gt;rowspan&lt;/code&gt;, they need to be put before the template call and there must be no vertical bar &lt;code&gt;|&lt;/code&gt; in between them:
{| class=wikitable align=right
!{{Yes}} ||{{No}} ||rowspan=2 {{n/a}}
|-
|colspan=2 {{Yes-No}}
|}
&lt;pre&gt;...
!{{Yes}} ||{{No}} ||rowspan=2 {{n/a}}
|-
|colspan=2 {{Yes-No}}
...
&lt;/pre&gt;
== Templates ==
&lt;div style=&quot;overflow:auto;&quot;&gt;
{| class=&quot;wikitable&quot; style=&quot;text-align: left; width: auto;&quot;
|+ Table cell templates
! Class&lt;ref name=&quot;table-cell-templates-table-css&quot;&gt;The HTML class of table cell templates may be referenced in a [[m:help:User style|user stylesheet]] to change appearance.&lt;/ref&gt; !! Default syntax !! Preview (default) !! Customized syntax !! Preview (customized)
|-
|rowspan=2| &lt;code&gt;table-rh&lt;/code&gt; || {{tl|rh}} {{!}} Row header&lt;ref name=&quot;table-cell-templates-table-after+pipe&quot; /&gt; || {{rh}} | Row header || {{tlp|rh|2=align=right}} {{!}} Row header || {{rh|align=right}} | Row header
|-
| {{tl|rh2}} {{!}} Row header&lt;ref name=&quot;table-cell-templates-table-after+pipe&quot;&gt;Does not take a parameter; the content should be placed after the template call, separated by a pipe (|) character.&lt;/ref&gt; || {{rh2}} {{!}} Row header || {{tlp|rh2|2=align=right}} | Row header || {{rh2|align=right}} | Row header
|-
|rowspan=3| &lt;code&gt;table-yes&lt;/code&gt; || {{tl|yes}} || {{yes}} || {{tlp|yes|&lt;nowiki&gt;Customized [[Plain text|text]]&lt;/nowiki&gt;}} ||{{yes|Customized [[Plain text|text]]}}
|-
| {{tlp|available}} || {{available}} || {{tlp|available|Unused}} || {{available|Unused}}
|-
| {{tlp|contained}} || {{contained}} || ||
|-
| &lt;code&gt;table-maybe&lt;/code&gt; || {{tl|maybe}} || {{maybe}} || {{tlp|maybe|&lt;nowiki&gt;Customized [[Plain text|text]]&lt;/nowiki&gt;}} ||{{maybe|Customized [[Plain text|text]]}}
|-
|rowspan=6| &lt;code&gt;table-no&lt;/code&gt; || {{tl|no}} || {{no}} || {{tlp|no|&lt;nowiki&gt;Customized [[Plain text|text]]&lt;/nowiki&gt;}} || {{no|Customized [[Plain text|text]]}}
|-
| {{tl|bad}} || {{bad}} || {{tlp|bad|F}} || {{bad|F}}
|-
| {{tl|eliminated}} || {{eliminated}} || {{tlp|eliminated|Dropped out}} || {{eliminated|Dropped out}}
|-
| {{tlp|active fire|12%}} || {{active fire|12%}} || ||
|-
| {{tl|lost}} || {{lost}} || {{tlp|lost|Missing}} || {{lost|Missing}}
|-
| {{tl|safe}} || {{safe}} || {{tlp|safe|Protected}} || {{safe|Protected}}
|-
| &lt;code&gt;table-active&lt;/code&gt; || {{tl|active}} || {{active}} || {{tlp|active|Lively}} || {{active|Lively}}
|-
|rowspan=2| &lt;code&gt;table-siteactive&lt;/code&gt; || {{tl|site active}} || {{site active}} || {{tlp|site active|Up}} || {{site active|Up}}
|-
| {{tl|coming soon}} || {{coming soon}} || {{tlp|coming soon|Second half of the year}} || {{coming soon|Second half of the year}}
|-
| &lt;code&gt;table-siteinactive&lt;/code&gt; || {{tl|site inactive}} || {{site inactive}} || {{tlp|site inactive|Down}} || {{site inactive|Down}}
|-
|rowspan=8| &lt;code&gt;table-yes2&lt;/code&gt; || {{tl|good}} || {{good}} || {{tlp|good|A}} || {{good|A}}
|-
| {{tl|yes2}} || {{yes2}} || {{tlp|yes2|Text}} || {{yes2|Text}}
|-
| {{tl|ya}} || {{ya}} || {{tlp|ya|text{{=}}Ya}} || {{ya|text=Ya}}
|-
| {{tlp|ya|Ya}} || {{ya|Ya}} || {{tlp|ya|text|link{{=}}WP:ALT}} || {{ya|text|link=WP:ALT}}
|-
| {{tl|won}} || {{won}} || {{tlp|won|text{{=}}white|color{{=}}darkblue}} || {{won|text=white|color=darkblue}}
|-
| {{tlp|won|place{{=}}1}} || {{won|place=1}} || {{tlp|won|place{{=}}Gold}} || {{won|place=Gold}}
|-
| {{tlp|won|place{{=}}2}} || {{won|place=2}} || {{tlp|won|place{{=}}Silver}} || {{won|place=Silver}}
|-
| {{tlp|won|place{{=}}3}} || {{won|place=3}} || {{tlp|won|place{{=}}Bronze}} || {{won|place=Bronze}}
|-
|rowspan=7| &lt;code&gt;table-no2&lt;/code&gt; || {{tl|no2}} || {{no2}} || {{tlp|no2|Text}} || {{no2|Text}}
|-
| {{tl|na}} || {{na}} || {{tlp|na|text{{=}}Na}} || {{na|text=Na}}
|-
| {{tlp|na|Na}} || {{na|Na}} || {{tlp|na|text|link{{=}}WP:ALT}} || {{na|text|link=WP:ALT}}
|-
| {{tl|nom}} || {{nom}} || {{tlp|nom|5}} || {{nom|5}}
|-
| {{tl|sho}} || {{sho}} || {{tlp|sho|Proposed}} || {{sho|Proposed}}
|-
| {{tl|longlisted}} || {{longlisted}} || {{tlp|longlisted|Rejected}} || {{longlisted|Rejected}}
|-
| {{tl|TBA}} || {{TBA}} || {{tlp|TBA|To be announced}} || {{TBA|To be announced}}
|-
| rowspan=2 |&lt;code&gt;table-success&lt;/code&gt; || {{tl|success}} || {{success}} || {{tlp|success|Mission complete}} || {{success|Mission complete}}
|-
| {{tl|operational}} || {{operational}} || {{tlp|operational|Returning data}} || {{operational|Returning data}}
|-
| &lt;code&gt;table-failure&lt;/code&gt; || {{tl|failure}} || {{failure}} || {{tlp|failure|Wrong orbit}} || {{failure|Wrong orbit}}
|-
| rowspan=16| &lt;code&gt;table-partial&lt;/code&gt; || {{tl|partial}} || {{partial}} || {{tlp|partial|Almost done}} ||{{partial|Almost done}}
|-
| {{tl|Regional}} || {{Regional}} || {{tlp|Regional|Uyghur}} || {{Regional|Uyghur}}
|-
| {{tl|MaybeCheck}} || {{MaybeCheck}} || {{tlp|MaybeCheck|text{{=}}Possibly}} || {{MaybeCheck|text=Possibly}}
|-
| {{tlp|MaybeCheck|Possibly}} || {{MaybeCheck|Possibly}} || {{tlp|MaybeCheck|text|link{{=}}WP:ALT}} || {{MaybeCheck|text|link=WP:ALT}}
|-
| {{tl|partial success}} || {{partial success}} || {{tlp|partial success|&lt;nowiki&gt;Reached orbit and returned pictures&lt;/nowiki&gt;}} || {{partial success|Reached orbit and returned pictures}}
|-
| {{tl|partial failure}} || {{partial failure}} || {{tlp|partial failure|&lt;nowiki&gt;[[Cubesat]] not deployed&lt;/nowiki&gt;}} || {{partial failure|[[Cubesat]] not deployed}}
|-
| {{tl|okay}} || {{okay}} || {{tlp|okay|C}} || {{okay|C}}
|-
| {{tl|Yes-No}} || {{Yes-No}} || {{tlp|Yes-No|Yes with an if; no with a but}} || {{Yes-No|Yes with an if; no with a but}}
|-
| {{tl|some}} || {{some}} || {{tlp|some|Many}} || {{some|Many}}
|-
| {{tl|nonpartisan}} || {{nonpartisan}} || {{tlp|nonpartisan|Impartial}} || {{nonpartisan|Impartial}}
|-
| {{tl|pending}} || {{pending}} || {{tlp|pending|Awaiting}} || {{pending|Awaiting}}
|-
| {{tl|unofficial}} || {{unofficial}} || {{tlp|unofficial|&lt;nowiki&gt;''De facto''&lt;/nowiki&gt;}} || {{unofficial|''De facto''}}
|-
| {{tl|unofficial2}} || {{unofficial2}} || {{tlp|unofficial2|&lt;nowiki&gt;''De facto''&lt;/nowiki&gt;}} || {{unofficial2|''De facto''}}
|-
| {{tl|usually}} || {{usually}} || {{tlp|usually|Commonly}} || {{usually|Commonly}}
|-
| {{tl|rarely}} || {{rarely}} || {{tlp|rarely|Seldom}}|| {{rarely|Seldom}}
|-
| {{tl|sometimes}} || {{sometimes}} || {{tlp|sometimes|Occasionally}} || {{sometimes|Occasionally}}
|-
| &lt;code&gt;table-any&lt;/code&gt; || {{tl|any}} || {{any}} || {{tlp|any|Anyone}}|| {{any|Anyone}}
|-
|rowspan=6| &lt;code&gt;table-na&lt;/code&gt; || {{tl|n/a}} || {{n/a}} || {{tlp|n/a|Unavailable}}|| {{n/a|Unavailable}}
|-
| {{tl|varies}} || {{varies}} || {{tlp|varies|Differs}}|| {{varies|Differs}}
|-
| {{tl|sdash}} || {{sdash}} || {{tlp|sdash|&lt;nowiki&gt;[[File:Dash.svg|13px|link=|dash icon]]&lt;/nowiki&gt;}}|| {{sdash|[[File:Dash.svg|13px|link=|dash]]}}
|-
| {{tl|BLACK}} || {{BLACK}} || {{tlp|BLACK|Banned}} || {{BLACK|Banned}}
|-
| {{tl|non-album single}} || {{non-album single}} || {{tlp|non-album single|&lt;nowiki&gt;Customized [[Plain text|text]]&lt;/nowiki&gt;}} || {{non-album single|Customized [[Plain text|text]]}}
|-
| {{tl|unreleased}} || {{unreleased}} || {{tlp|unreleased|&lt;nowiki&gt;Customized [[Plain text|text]]&lt;/nowiki&gt;}} || {{unreleased|Customized [[Plain text|text]]}}
|-
|rowspan=2| &lt;code&gt;table-unknown&lt;/code&gt; || {{tl|unknown}} || {{Unknown}} || {{tlp|unknown|?}} || {{unknown|?}}
|-
| {{tl|dunno}} || {{Dunno}} || {{tlp|dunno|Not sure}} || {{dunno|Not sure}}
|-
| &lt;code&gt;table-automatic&lt;/code&gt; || {{tl|perhaps}} || {{perhaps}} || {{tlp|perhaps|&lt;nowiki&gt;Customized [[Plain text|text]]&lt;/nowiki&gt;}} || {{perhaps|Customized [[Plain text|text]]}}
|-
| &lt;code&gt;table-depends&lt;/code&gt; || {{tl|depends}} || {{depends}} || {{tlp|depends|&lt;nowiki&gt;Customized [[Plain text|text]]&lt;/nowiki&gt;}} || {{depends|Customized [[Plain text|text]]}}
|-
| &lt;code&gt;table-included&lt;/code&gt; || {{tl|included}} || {{included}} || {{tlp|included|Incorporated}} || {{included|Incorporated}}
|-
|rowspan=2| &lt;code&gt;table-dropped&lt;/code&gt; || {{tl|dropped}} || {{dropped}} || {{tlp|dropped|Discontinued}} || {{dropped|Discontinued}}
|-
| {{tl|terminated}} || {{terminated}} || {{tlp|terminated|Fired}} || {{terminated|Fired}}
|-
| &lt;code&gt;table-beta&lt;/code&gt; || {{tl|beta}} || {{beta}} || {{tlp|beta|Preview}} || {{beta|Preview}}
|-
| &lt;code&gt;table-experimental&lt;/code&gt; || {{tl|table-experimental}} || {{table-experimental}} || {{tlp|table-experimental|&lt;nowiki&gt;Customized [[Plain text|text]]&lt;/nowiki&gt;}} || {{table-experimental|Customized [[Plain text|text]]}}
|-
| &lt;code&gt;table-free&lt;/code&gt; || {{tl|free}} || {{free}} || {{tlp|free|&lt;nowiki&gt;Customized [[Plain text|text]]&lt;/nowiki&gt;}} || {{free|Customized [[Plain text|text]]}}
|-
| &lt;code&gt;table-proprietary&lt;/code&gt; || {{tl|proprietary}} || {{proprietary}} || {{tlp|proprietary|&lt;nowiki&gt;Customized [[Plain text|text]]&lt;/nowiki&gt;}} || {{proprietary|Customized [[Plain text|text]]}}
|-
| &lt;code&gt;table-nonfree&lt;/code&gt; || {{tl|nonfree}} || {{nonfree}} || {{tlp|nonfree|&lt;nowiki&gt;Customized [[Plain text|text]]&lt;/nowiki&gt;}} || {{nonfree|Customized [[Plain text|text]]}}
|-
| &lt;code&gt;table-needs&lt;/code&gt; || {{tl|needs}} || {{needs}} || {{tlp|needs|&lt;nowiki&gt;Customized [[Plain text|text]]&lt;/nowiki&gt;}} || {{needs|Customized [[Plain text|text]]}}
|-
| &lt;code&gt;table-nightly&lt;/code&gt; || {{tl|nightly}} || {{nightly}} || {{tlp|nightly|&lt;nowiki&gt;Customized [[Plain text|text]]&lt;/nowiki&gt;}} || {{nightly|Customized [[Plain text|text]]}}
|-
| &lt;code&gt;table-release-candidate&lt;/code&gt; || {{tl|release-candidate}} || {{release-candidate}} || {{tlp|release-candidate|&lt;nowiki&gt;Customized [[Plain text|text]]&lt;/nowiki&gt;}} || {{release-candidate|Customized [[Plain text|text]]}}
|-
| &lt;code&gt;table-draw&lt;/code&gt; || {{tl|draw}} || {{draw}} || {{tlp|draw|Text}} || {{draw|Text}}
|-
| &lt;code&gt;table-planned&lt;/code&gt; || {{tl|planned}} || {{planned}} || {{tlp|planned|July 2018}} || {{planned|July 2018}}
|-
| &lt;code&gt;table-scheduled&lt;/code&gt; || {{tl|scheduled}} || {{scheduled}} || {{tlp|scheduled|3 March 2017}} || {{scheduled|3 March 2017}}
|-
| &lt;code&gt;incorrect&lt;/code&gt; || {{tl|incorrect}} || {{incorrect}} || {{tlp|incorrect|&lt;nowiki&gt;Customized [[Plain text|text]]&lt;/nowiki&gt;}} || {{incorrect|Customized [[Plain text|text]]}}
|-
| &lt;code&gt;noresult&lt;/code&gt; || {{tl|no result}} || {{no result}} || {{tlp|no result|N.R.}} || {{no result|N.R.}}
|-
|rowspan=8| ''no class'' || {{tl|CMain}} || {{CMain}} || {{tlp|CMain|&lt;nowiki&gt;Customized [[Plain text|text]]&lt;/nowiki&gt;}} || {{CMain|Customized [[Plain text|text]]}}
|-
| {{tl|CAlso starring}} || {{CAlso starring}} || {{tlp|CAlso starring|&lt;nowiki&gt;Customized [[Plain text|text]]&lt;/nowiki&gt;}} || {{CAlso starring|Customized [[Plain text|text]]}}
|-
| {{tl|CRecurring}} || {{CRecurring}} || {{tlp|CRecurring|&lt;nowiki&gt;Customized [[Plain text|text]]&lt;/nowiki&gt;}} || {{CRecurring|Customized [[Plain text|text]]}}
|-
| {{tl|CGuest}} || {{CGuest}} || {{tlp|CGuest|&lt;nowiki&gt;Customized [[Plain text|text]]&lt;/nowiki&gt;}} || {{CGuest|Customized [[Plain text|text]]}}
|-
| {{tl|CNone}} || {{CNone}} || {{tlp|CNone|&lt;nowiki&gt;Customized [[Plain text|text]]&lt;/nowiki&gt;}} || {{CNone|Customized [[Plain text|text]]}}
|-
| {{tl|nocontest}} || {{nocontest}} || {{tlp|nocontest|&lt;nowiki&gt;Customized [[Plain text|text]]&lt;/nowiki&gt;}} || {{nocontest}}Customized [[Plain text|text]]
|-
| {{tl|not yet}} || {{not yet}} || {{tlp|not yet|&lt;nowiki&gt;Customized [[Plain text|text]]&lt;/nowiki&gt;}} || {{not yet|Customized [[Plain text|text]]}}
|-
| {{tl|optional}} || {{optional}} || {{tlp|optional|&lt;nowiki&gt;Customized [[Plain text|text]]&lt;/nowiki&gt;}} || {{optional|Customized [[Plain text|text]]}}
|}&lt;/div&gt;
== Code ==
Common code to most if not all the templates in this series:
:&lt;code&gt;{{Table cell templates|class=''automatic''|text=''text''|bg=#''abcdef''}}&lt;/code&gt;
Code specific to this template:
:&lt;code&gt;{{ {{BASEPAGENAME}} }}&lt;/code&gt;
To make a new table cell template you can use:
&lt;syntaxhighlight lang=text enclose=&quot;div&quot;&gt;{{subst:Table cell templates|text= default text |bg= background color |class= a class name without prefix |align= standard horizontal alignment}}&lt;/syntaxhighlight&gt;
You should leave out the &lt;code&gt;align&lt;/code&gt; parameter and often the &lt;code&gt;class&lt;/code&gt; parameter is unnecessary, too.
Add the new template to the table in the [[Template:Table cell templates/doc|common documentation]] afterwards. Please consider reusing one of the other templates and please choose the color sensibly.
If you find a table cell template that does not take a parameter and you want to be able to change the text in the cell, ''do not'' duplicate the template! Instead, edit the template and change the text to a default parameter substitution. For example, if a template's text is &lt;code&gt;Dropped&lt;/code&gt;, change that to &lt;code&gt;&lt;nowiki&gt;{{{1|Dropped}}}&lt;/nowiki&gt;&lt;/code&gt;.
style=&quot;background: #abcdef; color: black; vertical-align: middle; text-align: {{{align|center}}}; {{{style|}}}&quot; class=&quot;automatic table-automatic&quot;| {{{1|text}}}
== TemplateData ==
{{TemplateDataHeader}}
&lt;templatedata&gt;{
&quot;description&quot;: &quot;One of several templates for styling individual table cells with standard contents and colors.&quot;,
&quot;params&quot;: {
&quot;1&quot;: {
&quot;label&quot;: &quot;text&quot;,
&quot;description&quot;: &quot;text to be displayed instead of the default, if this doesn't work put the text after the template, possibly with a vertical bar | in between&quot;,
&quot;type&quot;: &quot;string/line&quot;,
&quot;default&quot;: &quot;(template dependent)&quot;,
&quot;required&quot;: false
},
&quot;align&quot;: {
&quot;label&quot;: &quot;horizontal align&quot;,
&quot;description&quot;: &quot;text alignment inside the cell, either 'left', 'right', 'center' or 'justified'&quot;,
&quot;default&quot;: &quot;center&quot;,
&quot;inherits&quot;: &quot;1&quot;
},
&quot;style&quot;: {
&quot;label&quot;: &quot;style&quot;,
&quot;description&quot;: &quot;a semicolon separated list of additional CSS rules to be applied to the table cell&quot;,
&quot;default&quot;: &quot;&quot;,
&quot;inherits&quot;: &quot;1&quot;
},
&quot;color&quot;: {
&quot;label&quot;: &quot;background color&quot;,
&quot;description&quot;: &quot;a valid CSS color value or name to override the standard the cell background, only available with some templates&quot;,
&quot;inherits&quot;: &quot;1&quot;
}
}}&lt;/templatedata&gt;
== See also ==
* {{tl|change}}: Calculates, displays and color-codes changes between two values
* {{tl|BSD-lic}}: Specialized redirect for {{tlf|free}}
* {{tl|GPL-lic}}: Specialized redirect for {{tlf|free}}
* {{tl|LGPL-lic}}: Specialized redirect for {{tlf|free}}
== Notes ==
{{reflist}}
&lt;includeonly&gt;{{#switch:{{SUBPAGENAME}}|doc|sandbox=|#default=
&lt;!-- ADD CATEGORIES BELOW THIS LINE --&gt;
[[Category:Unified table cell templates]]
}}&lt;/includeonly&gt;</text>
<sha1>0cyaeq7gn36gr9u2ge5zcehht2zehyu</sha1>
</revision>
</page>
<page>
<title>Template:Template link with parameters</title>
<ns>10</ns>
<id>1567462</id>
<revision>
<id>761532389</id>
<parentid>761532021</parentid>
<timestamp>2017-01-23T13:38:38Z</timestamp>
<contributor>
<username>MSGJ</username>
<id>42630</id>
</contributor>
<minor/>
<comment>tidy up</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="616">&lt;span class=&quot;nowrap&quot;&gt;&amp;#123;&amp;#123;[[Template:{{{1}}}|{{{1}}}]]&lt;!--
--&gt;{{#ifeq:{{{2|x}}}|{{{2|}}}| &amp;#124;{{{2}}} }}&lt;!--
--&gt;{{#ifeq:{{{3|x}}}|{{{3|}}}| &amp;#124;{{{3}}} }}&lt;!--
--&gt;{{#ifeq:{{{4|x}}}|{{{4|}}}| &amp;#124;{{{4}}} }}&lt;!--
--&gt;{{#ifeq:{{{5|x}}}|{{{5|}}}| &amp;#124;{{{5}}} }}&lt;!--
--&gt;{{#ifeq:{{{6|x}}}|{{{6|}}}| &amp;#124;{{{6}}} }}&lt;!--
--&gt;{{#ifeq:{{{7|x}}}|{{{7|}}}| &amp;#124;{{{7}}} }}&lt;!--
--&gt;{{#ifeq:{{{8|x}}}|{{{8|}}}| &amp;#124;{{{8}}} }}&lt;!--
--&gt;{{#ifeq:{{{9|x}}}|{{{9|}}}| &amp;#124;{{{9}}} }}&lt;!--
--&gt;&amp;#125;&amp;#125;&lt;/span&gt;&lt;noinclude&gt;
{{documentation}}
&lt;!-- Add categories and interwikis to the /doc subpage, not here! --&gt;
&lt;/noinclude&gt;</text>
<sha1>lg9e22t66ubls217bck9o86z41sr30j</sha1>
</revision>
</page>
<page>
<title>Template:Terminated</title>
<ns>10</ns>
<id>5978558</id>
<revision>
<id>821204500</id>
<parentid>550381694</parentid>
<timestamp>2018-01-19T00:33:54Z</timestamp>
<contributor>
<username>Primefac</username>
<id>11508456</id>
</contributor>
<minor/>
<comment>Protected &quot;[[Template:Terminated]]&quot;: [[WP:SEMIPROT|semi-protection]] of high-usage templates to combat systematic vandalism ([Edit=Require autoconfirmed or confirmed access] (indefinite) [Move=Require autoconfirmed or confirmed access] (indefinite))</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="285">&lt;noinclude&gt;{| class=&quot;wikitable&quot;
|-
|&lt;/noinclude&gt;style=&quot;background: #EDF; color: black; vertical-align: middle; text-align: {{{align|center}}}; {{{style|}}}&quot; class=&quot;dropped table-dropped&quot;|{{{1|Terminated}}}&lt;noinclude&gt;
|}
{{Documentation|Template:Table cell templates/doc}}
&lt;/noinclude&gt;</text>
<sha1>80o6crsbgp8l4l4xupomlezzsi0j4mm</sha1>
</revision>
</page>
<page>
<title>Template:Tlp</title>
<ns>10</ns>
<id>52958709</id>
<redirect title="Template:Template link with parameters" />
<revision>
<id>761532023</id>
<timestamp>2017-01-23T13:35:17Z</timestamp>
<contributor>
<username>MSGJ</username>
<id>42630</id>
</contributor>
<comment>MSGJ moved page [[Template:Tlp]] to [[Template:Template link with parameters]]: expand name of template</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="69">#REDIRECT [[Template:Template link with parameters]]
{{R from move}}</text>
<sha1>6l74hww4lk18kiq6ytyy69dsjvrnwju</sha1>
</revision>
</page>
<page>
<title>Template:Unknown</title>
<ns>10</ns>
<id>5916299</id>
<revision>
<id>718042598</id>
<parentid>716442660</parentid>
<timestamp>2016-05-01T06:22:39Z</timestamp>
<contributor>
<username>PhilipTerryGraham</username>
<id>15292794</id>
</contributor>
<comment>Harmonizing color scheme with Template:N/a</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="306">&lt;noinclude&gt;{| class=&quot;wikitable&quot;
|-
|&lt;/noinclude&gt;style=&quot;background: #ececec; color: #2C2C2C; font-size: smaller; vertical-align: middle; text-align: {{{align|center}}}; {{{style|}}}&quot; class=&quot;unknown table-unknown&quot;|{{{1|Unknown}}}&lt;noinclude&gt;
|}
{{Documentation|Template:Table cell templates/doc}}
&lt;/noinclude&gt;</text>
<sha1>hgo832orxm3cczwyq7cqxjr75za0pc2</sha1>
</revision>
</page>
<page>
<title>Template:Unofficial</title>
<ns>10</ns>
<id>27900223</id>
<revision>
<id>542388013</id>
<parentid>542242306</parentid>
<timestamp>2013-03-06T15:59:58Z</timestamp>
<contributor>
<username>Tntchn</username>
<id>15106502</id>
</contributor>
<comment>remove interwiki links</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="318">&lt;noinclude&gt;{| class=&quot;wikitable&quot;
|-
|&lt;/noinclude&gt;style=&quot;background: #5FC; color: black; vertical-align: middle; text-align: {{{align|center}}}; {{{style|}}}&quot; class=&quot;partial table-partial&quot;|{{{1|Unofficial}}}&lt;noinclude&gt;
|}
{{Documentation|Template:Table cell templates/doc}}
&lt;!-- interwikis &amp; categories --&gt;
&lt;/noinclude&gt;</text>
<sha1>eko97rhsgebtq18k0diglih1lzvzj5b</sha1>
</revision>
</page>
<page>
<title>Template:Unofficial2</title>
<ns>10</ns>
<id>48234891</id>
<revision>
<id>685930302</id>
<timestamp>2015-10-15T22:01:29Z</timestamp>
<contributor>
<username>Spartan7W</username>
<id>13723007</id>
</contributor>
<comment>New template</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="321">&lt;noinclude&gt;{| class=&quot;wikitable&quot;
|-
|&lt;/noinclude&gt;style=&quot;background: #adffe6; color: black; vertical-align: middle; text-align: {{{align|center}}}; {{{style|}}}&quot; class=&quot;partial table-partial&quot;|{{{1|Unofficial}}}&lt;noinclude&gt;
|}
{{Documentation|Template:Table cell templates/doc}}
&lt;!-- interwikis &amp; categories --&gt;
&lt;/noinclude&gt;</text>
<sha1>l5ob0y5z51qxpr8dcf6qsq2p9fyv41e</sha1>
</revision>
</page>
<page>
<title>Template:Unreleased</title>
<ns>10</ns>
<id>50916894</id>
<revision>
<id>726978487</id>
<parentid>726978356</parentid>
<timestamp>2016-06-25T19:32:47Z</timestamp>
<contributor>
<ip>98.230.192.179</ip>
</contributor>
<comment>Doc</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="175">{| class=&quot;wikitable&quot;
|&lt;onlyinclude&gt;{{n/a|{{{1|Unreleased}}}}}&lt;/onlyinclude&gt;
|}
{{documentation|content={{Table cell templates/doc}}}}
[[Category:Unified table cell templates]]</text>
<sha1>e4f2008ygda1ni4t1j4plheccjv17hl</sha1>
</revision>
</page>
<page>
<title>Template:Usually</title>
<ns>10</ns>
<id>31678188</id>
<revision>
<id>427469480</id>
<timestamp>2011-05-04T20:53:46Z</timestamp>
<contributor>
<username>Jinnai</username>
<id>770829</id>
</contributor>
<comment>new template</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="315">&lt;noinclude&gt;{| class=&quot;wikitable&quot;
|-
|&lt;/noinclude&gt;style=&quot;background: #8CF; color: black; vertical-align: middle; text-align: {{{align|center}}}; {{{style|}}}&quot; class=&quot;partial table-partial&quot;|{{{1|Usually}}}&lt;noinclude&gt;
|}
{{Documentation|Template:Table cell templates/doc}}
&lt;!-- interwikis &amp; categories --&gt;
&lt;/noinclude&gt;</text>
<sha1>pv7w7av985y2m2a0diqrf7l9jux52jv</sha1>
</revision>
</page>
<page>
<title>Template:Varies</title>
<ns>10</ns>
<id>51895568</id>
<revision>
<id>743055387</id>
<timestamp>2016-10-07T14:25:13Z</timestamp>
<contributor>
<username>Allixpeeke</username>
<id>467798</id>
</contributor>
<comment>[[WP:AES|←]]Created page with '{| class=&quot;wikitable&quot; |- | &lt;onlyinclude&gt;data-sort-value=&quot;{{{sort|}}}&quot; style=&quot;background: #ececec; color: #2C2C2C; vertical-align: middle; font-size: smaller; t...'</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="282">{| class=&quot;wikitable&quot;
|-
| &lt;onlyinclude&gt;data-sort-value=&quot;{{{sort|}}}&quot; style=&quot;background: #ececec; color: #2C2C2C; vertical-align: middle; font-size: smaller; text-align: {{{align|center}}}; {{{style|}}}&quot; class=&quot;table-na&quot; &lt;!--
--&gt;| {{{1|Varies}}}&lt;/onlyinclude&gt;
|}
{{documentation}}</text>
<sha1>pgsrp1himz5bu70pd03nd5o1oboviwz</sha1>
</revision>
</page>
<page>
<title>Template:Won</title>
<ns>10</ns>
<id>15351925</id>
<revision>
<id>718793861</id>
<parentid>695452880</parentid>
<timestamp>2016-05-05T17:27:57Z</timestamp>
<contributor>
<username>Nyuszika7H</username>
<id>19331273</id>
</contributor>
<comment>Use documentation at [[Template:Table cell templates/doc]]</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="548">&lt;noinclude&gt;{| class=&quot;wikitable&quot;
|-
|&lt;/noinclude&gt;style=&quot;background: {{
#switch: {{lc:{{{place|Won}}}}}
|won = {{{color|&lt;nowiki&gt;#&lt;/nowiki&gt;99FF99}}}
|1|1st|gold = {{{color|gold}}}
|2|2nd|silver = {{{color|silver}}}
|3|3rd|bronze = {{{color|&lt;nowiki&gt;#&lt;/nowiki&gt;D9A821}}}
|#default = {{{color|&lt;nowiki&gt;#&lt;/nowiki&gt;F8EABA}}}
}}; color: {{{text|black}}}; vertical-align: middle; text-align: {{{align|center}}}; {{{style|}}}&quot; class=&quot;yes table-yes2&quot;|{{{1|{{{place|Won}}}}}}&lt;noinclude&gt;
|}
{{Documentation|Template:Table cell templates/doc}}
&lt;/noinclude&gt;</text>
<sha1>9oz068i12jhncy5pfpfk1lv7lby9foj</sha1>
</revision>
</page>
<page>
<title>Template:Ya</title>
<ns>10</ns>
<id>34043751</id>
<revision>
<id>819686595</id>
<parentid>755386161</parentid>
<timestamp>2018-01-10T19:17:59Z</timestamp>
<contributor>
<username>Primefac</username>
<id>11508456</id>
</contributor>
<minor/>
<comment>Protected &quot;[[Template:Ya]]&quot;: [[WP:SEMI|semi-protecting]] highly-visible templates in response to recent template-space vandalism ([Edit=Require autoconfirmed or confirmed access] (indefinite) [Move=Require autoconfirmed or confirmed access] (indefinite))</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="464">&lt;noinclude&gt;{| class=&quot;wikitable&quot;
|-
|&lt;/noinclude&gt;data-sort-value=&quot;{{{sort|Yes}}}&quot; style=&quot;background: {{{color|#D2FFD2}}}; color: black; vertical-align: middle; text-align: {{{align|center}}}; {{{style|}}}&quot; class=&quot;table-yes2&quot; {{#if:{{{rowspan|}}}|rowspan=&quot;{{{rowspan}}}&quot;}} |{{{text|[[File:Green check.svg|13px|link={{{link|}}}|{{{1|Yes}}}]]}}}&lt;noinclude&gt;
|}
{{Documentation|Template:Table cell templates/doc}}
[[Category:Checkmark insertion templates]]
&lt;/noinclude&gt;</text>
<sha1>ixn188e0v57o0f7tdcnodmm2soypsyr</sha1>
</revision>
</page>
<page>
<title>Template:Yes-No</title>
<ns>10</ns>
<id>8170385</id>
<revision>
<id>819689823</id>
<parentid>544604575</parentid>
<timestamp>2018-01-10T19:26:25Z</timestamp>
<contributor>
<username>Primefac</username>
<id>11508456</id>
</contributor>
<minor/>
<comment>Protected &quot;[[Template:Yes-No]]&quot;: [[WP:SEMI|semi-protecting]] highly-visible templates in response to recent template-space vandalism ([Edit=Require autoconfirmed or confirmed access] (indefinite) [Move=Require autoconfirmed or confirmed access] (indefi...</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="314">&lt;noinclude&gt;{| class=&quot;wikitable&quot;
|-
|&lt;/noinclude&gt;style=&quot;background: #FFD; color: black; vertical-align: middle; text-align: {{{align|center}}}; {{{style|}}}&quot; class=&quot;partial table-partial&quot;|{{{1|Yes/No}}}&lt;noinclude&gt;
|}
{{Documentation|Template:Table cell templates/doc}}
&lt;!-- interwikis &amp; categories --&gt;
&lt;/noinclude&gt;</text>
<sha1>6jfz2rjw6it0y5bw3a0k6229za610hi</sha1>
</revision>
</page>
<page>
<title>Template:Yes2</title>
<ns>10</ns>
<id>4365248</id>
<revision>
<id>677624593</id>
<parentid>350655741</parentid>
<timestamp>2015-08-24T14:01:41Z</timestamp>
<contributor>
<username>WJBscribe</username>
<id>2803535</id>
</contributor>
<minor/>
<comment>Changed protection level of Template:Yes2: [[WP:High-risk templates|Highly visible template]]: allow template editors ([Edit=Allow only template editors and admins] (indefinite) [Move=Allow only template editors and admins] (indefinite))</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="226">&lt;noinclude&gt;{| class=&quot;wikitable&quot;
|-
|&lt;/noinclude&gt;style=&quot;background:#bfd; color:black; vertical-align:middle; text-align:{{{align|center}}}; {{{style|}}}&quot; class=&quot;table-yes2&quot; |{{{1|}}}&lt;noinclude&gt;
|}
{{documentation}}
&lt;/noinclude&gt;</text>
<sha1>g8ru5wexcbkah1ii8j2dbutxe5g3wjx</sha1>
</revision>
</page>
<page>
<title>Module:Arguments</title>
<ns>828</ns>
<id>41298065</id>
<revision>
<id>696500078</id>
<parentid>668829606</parentid>
<timestamp>2015-12-23T16:07:27Z</timestamp>
<contributor>
<username>Xaosflux</username>
<id>502540</id>
</contributor>
<minor/>
<comment>Changed protection level of Module:Arguments: used in the mediawiki interface ex: [[MediaWiki:Watchlist-details]] ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))</comment>
<model>Scribunto</model>
<format>text/plain</format>
<text xml:space="preserve" bytes="10054">-- This module provides easy processing of arguments passed to Scribunto from
-- #invoke. It is intended for use by other Lua modules, and should not be
-- called from #invoke directly.
local libraryUtil = require('libraryUtil')
local checkType = libraryUtil.checkType
local arguments = {}
-- Generate four different tidyVal functions, so that we don't have to check the
-- options every time we call it.
local function tidyValDefault(key, val)
if type(val) == 'string' then
val = val:match('^%s*(.-)%s*$')
if val == '' then
return nil
else
return val
end
else
return val
end
end
local function tidyValTrimOnly(key, val)
if type(val) == 'string' then
return val:match('^%s*(.-)%s*$')
else
return val
end
end
local function tidyValRemoveBlanksOnly(key, val)
if type(val) == 'string' then
if val:find('%S') then
return val
else
return nil
end
else
return val
end
end
local function tidyValNoChange(key, val)
return val
end
local function matchesTitle(given, title)
local tp = type( given )
return (tp == 'string' or tp == 'number') and mw.title.new( given ).prefixedText == title
end
local translate_mt = { __index = function(t, k) return k end }
function arguments.getArgs(frame, options)
checkType('getArgs', 1, frame, 'table', true)
checkType('getArgs', 2, options, 'table', true)
frame = frame or {}
options = options or {}
--[[
-- Set up argument translation.
--]]
options.translate = options.translate or {}
if getmetatable(options.translate) == nil then
setmetatable(options.translate, translate_mt)
end
if options.backtranslate == nil then
options.backtranslate = {}
for k,v in pairs(options.translate) do
options.backtranslate[v] = k
end
end
if options.backtranslate and getmetatable(options.backtranslate) == nil then
setmetatable(options.backtranslate, {
__index = function(t, k)
if options.translate[k] ~= k then
return nil
else
return k
end
end
})
end
--[[
-- Get the argument tables. If we were passed a valid frame object, get the
-- frame arguments (fargs) and the parent frame arguments (pargs), depending
-- on the options set and on the parent frame's availability. If we weren't
-- passed a valid frame object, we are being called from another Lua module
-- or from the debug console, so assume that we were passed a table of args
-- directly, and assign it to a new variable (luaArgs).
--]]
local fargs, pargs, luaArgs
if type(frame.args) == 'table' and type(frame.getParent) == 'function' then
if options.wrappers then
--[[
-- The wrappers option makes Module:Arguments look up arguments in
-- either the frame argument table or the parent argument table, but
-- not both. This means that users can use either the #invoke syntax
-- or a wrapper template without the loss of performance associated
-- with looking arguments up in both the frame and the parent frame.
-- Module:Arguments will look up arguments in the parent frame
-- if it finds the parent frame's title in options.wrapper;
-- otherwise it will look up arguments in the frame object passed
-- to getArgs.
--]]
local parent = frame:getParent()
if not parent then
fargs = frame.args
else
local title = parent:getTitle():gsub('/sandbox$', '')
local found = false
if matchesTitle(options.wrappers, title) then
found = true
elseif type(options.wrappers) == 'table' then
for _,v in pairs(options.wrappers) do
if matchesTitle(v, title) then
found = true
break
end
end
end
-- We test for false specifically here so that nil (the default) acts like true.
if found or options.frameOnly == false then
pargs = parent.args
end
if not found or options.parentOnly == false then
fargs = frame.args
end
end
else
-- options.wrapper isn't set, so check the other options.
if not options.parentOnly then
fargs = frame.args
end
if not options.frameOnly then
local parent = frame:getParent()
pargs = parent and parent.args or nil
end
end
if options.parentFirst then
fargs, pargs = pargs, fargs
end
else
luaArgs = frame
end
-- Set the order of precedence of the argument tables. If the variables are
-- nil, nothing will be added to the table, which is how we avoid clashes
-- between the frame/parent args and the Lua args.
local argTables = {fargs}
argTables[#argTables + 1] = pargs
argTables[#argTables + 1] = luaArgs
--[[
-- Generate the tidyVal function. If it has been specified by the user, we
-- use that; if not, we choose one of four functions depending on the
-- options chosen. This is so that we don't have to call the options table
-- every time the function is called.
--]]
local tidyVal = options.valueFunc
if tidyVal then
if type(tidyVal) ~= 'function' then
error(
&quot;bad value assigned to option 'valueFunc'&quot;
.. '(function expected, got '
.. type(tidyVal)
.. ')',
2
)
end
elseif options.trim ~= false then
if options.removeBlanks ~= false then
tidyVal = tidyValDefault
else
tidyVal = tidyValTrimOnly
end
else
if options.removeBlanks ~= false then
tidyVal = tidyValRemoveBlanksOnly
else
tidyVal = tidyValNoChange
end
end
--[[
-- Set up the args, metaArgs and nilArgs tables. args will be the one
-- accessed from functions, and metaArgs will hold the actual arguments. Nil
-- arguments are memoized in nilArgs, and the metatable connects all of them
-- together.
--]]
local args, metaArgs, nilArgs, metatable = {}, {}, {}, {}
setmetatable(args, metatable)
local function mergeArgs(tables)
--[[
-- Accepts multiple tables as input and merges their keys and values
-- into one table. If a value is already present it is not overwritten;
-- tables listed earlier have precedence. We are also memoizing nil
-- values, which can be overwritten if they are 's' (soft).
--]]
for _, t in ipairs(tables) do
for key, val in pairs(t) do
if metaArgs[key] == nil and nilArgs[key] ~= 'h' then
local tidiedVal = tidyVal(key, val)
if tidiedVal == nil then
nilArgs[key] = 's'
else
metaArgs[key] = tidiedVal
end
end
end
end
end
--[[
-- Define metatable behaviour. Arguments are memoized in the metaArgs table,
-- and are only fetched from the argument tables once. Fetching arguments
-- from the argument tables is the most resource-intensive step in this
-- module, so we try and avoid it where possible. For this reason, nil
-- arguments are also memoized, in the nilArgs table. Also, we keep a record
-- in the metatable of when pairs and ipairs have been called, so we do not
-- run pairs and ipairs on the argument tables more than once. We also do
-- not run ipairs on fargs and pargs if pairs has already been run, as all
-- the arguments will already have been copied over.
--]]
metatable.__index = function (t, key)
--[[
-- Fetches an argument when the args table is indexed. First we check
-- to see if the value is memoized, and if not we try and fetch it from
-- the argument tables. When we check memoization, we need to check
-- metaArgs before nilArgs, as both can be non-nil at the same time.
-- If the argument is not present in metaArgs, we also check whether
-- pairs has been run yet. If pairs has already been run, we return nil.
-- This is because all the arguments will have already been copied into
-- metaArgs by the mergeArgs function, meaning that any other arguments
-- must be nil.
--]]
if type(key) == 'string' then
key = options.translate[key]
end
local val = metaArgs[key]
if val ~= nil then
return val
elseif metatable.donePairs or nilArgs[key] then
return nil
end
for _, argTable in ipairs(argTables) do
local argTableVal = tidyVal(key, argTable[key])
if argTableVal ~= nil then
metaArgs[key] = argTableVal
return argTableVal
end
end
nilArgs[key] = 'h'
return nil
end
metatable.__newindex = function (t, key, val)
-- This function is called when a module tries to add a new value to the
-- args table, or tries to change an existing value.
if type(key) == 'string' then
key = options.translate[key]
end
if options.readOnly then
error(
'could not write to argument table key &quot;'
.. tostring(key)
.. '&quot;; the table is read-only',
2
)
elseif options.noOverwrite and args[key] ~= nil then
error(
'could not write to argument table key &quot;'
.. tostring(key)
.. '&quot;; overwriting existing arguments is not permitted',
2
)
elseif val == nil then
--[[
-- If the argument is to be overwritten with nil, we need to erase
-- the value in metaArgs, so that __index, __pairs and __ipairs do
-- not use a previous existing value, if present; and we also need
-- to memoize the nil in nilArgs, so that the value isn't looked
-- up in the argument tables if it is accessed again.
--]]
metaArgs[key] = nil
nilArgs[key] = 'h'
else
metaArgs[key] = val
end
end
local function translatenext(invariant)
local k, v = next(invariant.t, invariant.k)
invariant.k = k
if k == nil then
return nil
elseif type(k) ~= 'string' or not options.backtranslate then
return k, v
else
local backtranslate = options.backtranslate[k]
if backtranslate == nil then
-- Skip this one. This is a tail call, so this won't cause stack overflow
return translatenext(invariant)
else
return backtranslate, v
end
end
end
metatable.__pairs = function ()
-- Called when pairs is run on the args table.
if not metatable.donePairs then
mergeArgs(argTables)
metatable.donePairs = true
end
return translatenext, { t = metaArgs }
end
local function inext(t, i)
-- This uses our __index metamethod
local v = t[i + 1]
if v ~= nil then
return i + 1, v
end
end
metatable.__ipairs = function (t)
-- Called when ipairs is run on the args table.
return inext, t, 0
end
return args
end
return arguments</text>
<sha1>5qx9tzlul9ser30uxj9nbasjt92cevn</sha1>
</revision>
</page>
<page>
<title>Module:Category handler</title>
<ns>828</ns>
<id>39772274</id>
<revision>
<id>617942873</id>
<parentid>616811662</parentid>
<timestamp>2014-07-22T05:08:26Z</timestamp>
<contributor>
<username>Mr. Stradivarius</username>
<id>4708675</id>
</contributor>
<comment>allow invocations specifying the page parameter to use the mw.loadData optimisations, and don't call mw.title.new every time</comment>
<model>Scribunto</model>
<format>text/plain</format>
<text xml:space="preserve" bytes="7871">--------------------------------------------------------------------------------
-- --
-- CATEGORY HANDLER --
-- --
-- This module implements the {{category handler}} template in Lua, --
-- with a few improvements: all namespaces and all namespace aliases --
-- are supported, and namespace names are detected automatically for --
-- the local wiki. This module requires [[Module:Namespace detect]] --
-- and [[Module:Yesno]] to be available on the local wiki. It can be --
-- configured for different wikis by altering the values in --
-- [[Module:Category handler/config]], and pages can be blacklisted --
-- from categorisation by using [[Module:Category handler/blacklist]]. --
-- --
--------------------------------------------------------------------------------
-- Load required modules
local yesno = require('Module:Yesno')
-- Lazily load things we don't always need
local mShared, mappings
local p = {}
--------------------------------------------------------------------------------
-- Helper functions
--------------------------------------------------------------------------------
local function trimWhitespace(s, removeBlanks)
if type(s) ~= 'string' then
return s
end
s = s:match('^%s*(.-)%s*$')
if removeBlanks then
if s ~= '' then
return s
else
return nil
end
else
return s
end
end
--------------------------------------------------------------------------------
-- CategoryHandler class
--------------------------------------------------------------------------------
local CategoryHandler = {}
CategoryHandler.__index = CategoryHandler
function CategoryHandler.new(data, args)
local obj = setmetatable({ _data = data, _args = args }, CategoryHandler)
-- Set the title object
do
local pagename = obj:parameter('demopage')
local success, titleObj
if pagename then
success, titleObj = pcall(mw.title.new, pagename)
end
if success and titleObj then
obj.title = titleObj
if titleObj == mw.title.getCurrentTitle() then
obj._usesCurrentTitle = true
end
else
obj.title = mw.title.getCurrentTitle()
obj._usesCurrentTitle = true
end
end
-- Set suppression parameter values
for _, key in ipairs{'nocat', 'categories'} do
local value = obj:parameter(key)
value = trimWhitespace(value, true)
obj['_' .. key] = yesno(value)
end
do
local subpage = obj:parameter('subpage')
local category2 = obj:parameter('category2')
if type(subpage) == 'string' then
subpage = mw.ustring.lower(subpage)
end
if type(category2) == 'string' then
subpage = mw.ustring.lower(category2)
end
obj._subpage = trimWhitespace(subpage, true)
obj._category2 = trimWhitespace(category2) -- don't remove blank values
end
return obj
end
function CategoryHandler:parameter(key)
local parameterNames = self._data.parameters[key]
local pntype = type(parameterNames)
if pntype == 'string' or pntype == 'number' then
return self._args[parameterNames]
elseif pntype == 'table' then
for _, name in ipairs(parameterNames) do
local value = self._args[name]
if value ~= nil then
return value
end
end
return nil
else
error(string.format(
'invalid config key &quot;%s&quot;',
tostring(key)
), 2)
end
end
function CategoryHandler:isSuppressedByArguments()
return
-- See if a category suppression argument has been set.
self._nocat == true
or self._categories == false
or (
self._category2
and self._category2 ~= self._data.category2Yes
and self._category2 ~= self._data.category2Negative
)
-- Check whether we are on a subpage, and see if categories are
-- suppressed based on our subpage status.
or self._subpage == self._data.subpageNo and self.title.isSubpage
or self._subpage == self._data.subpageOnly and not self.title.isSubpage
end
function CategoryHandler:shouldSkipBlacklistCheck()
-- Check whether the category suppression arguments indicate we
-- should skip the blacklist check.
return self._nocat == false
or self._categories == true
or self._category2 == self._data.category2Yes
end
function CategoryHandler:matchesBlacklist()
if self._usesCurrentTitle then
return self._data.currentTitleMatchesBlacklist
else
mShared = mShared or require('Module:Category handler/shared')
return mShared.matchesBlacklist(
self.title.prefixedText,
mw.loadData('Module:Category handler/blacklist')
)
end
end
function CategoryHandler:isSuppressed()
-- Find if categories are suppressed by either the arguments or by
-- matching the blacklist.
return self:isSuppressedByArguments()
or not self:shouldSkipBlacklistCheck() and self:matchesBlacklist()
end
function CategoryHandler:getNamespaceParameters()
if self._usesCurrentTitle then
return self._data.currentTitleNamespaceParameters
else
if not mappings then
mShared = mShared or require('Module:Category handler/shared')
mappings = mShared.getParamMappings(true) -- gets mappings with mw.loadData
end
return mShared.getNamespaceParameters(
self.title,
mappings
)
end
end
function CategoryHandler:namespaceParametersExist()
-- Find whether any namespace parameters have been specified.
-- We use the order &quot;all&quot; --&gt; namespace params --&gt; &quot;other&quot; as this is what
-- the old template did.
if self:parameter('all') then
return true
end
if not mappings then
mShared = mShared or require('Module:Category handler/shared')
mappings = mShared.getParamMappings(true) -- gets mappings with mw.loadData
end
for ns, params in pairs(mappings) do
for i, param in ipairs(params) do
if self._args[param] then
return true
end
end
end
if self:parameter('other') then
return true
end
return false
end
function CategoryHandler:getCategories()
local params = self:getNamespaceParameters()
local nsCategory
for i, param in ipairs(params) do
local value = self._args[param]
if value ~= nil then
nsCategory = value
break
end
end
if nsCategory ~= nil or self:namespaceParametersExist() then
-- Namespace parameters exist - advanced usage.
if nsCategory == nil then
nsCategory = self:parameter('other')
end
local ret = {self:parameter('all')}
local numParam = tonumber(nsCategory)
if numParam and numParam &gt;= 1 and math.floor(numParam) == numParam then
-- nsCategory is an integer
ret[#ret + 1] = self._args[numParam]
else
ret[#ret + 1] = nsCategory
end
if #ret &lt; 1 then
return nil
else
return table.concat(ret)
end
elseif self._data.defaultNamespaces[self.title.namespace] then
-- Namespace parameters don't exist, simple usage.
return self._args[1]
end
return nil
end
--------------------------------------------------------------------------------
-- Exports
--------------------------------------------------------------------------------
local p = {}
function p._exportClasses()
-- Used for testing purposes.
return {
CategoryHandler = CategoryHandler
}
end
function p._main(args, data)
data = data or mw.loadData('Module:Category handler/data')
local handler = CategoryHandler.new(data, args)
if handler:isSuppressed() then
return nil
end
return handler:getCategories()
end
function p.main(frame, data)
data = data or mw.loadData('Module:Category handler/data')
local args = require('Module:Arguments').getArgs(frame, {
wrappers = data.wrappers,
valueFunc = function (k, v)
v = trimWhitespace(v)
if type(k) == 'number' then
if v ~= '' then
return v
else
return nil
end
else
return v
end
end
})
return p._main(args, data)
end
return p</text>
<sha1>letwavu3yvlayfzew66uuwixmwebq5b</sha1>
</revision>
</page>
<page>
<title>Module:Category handler/blacklist</title>
<ns>828</ns>
<id>43232926</id>
<revision>
<id>757409491</id>
<parentid>757402070</parentid>
<timestamp>2016-12-30T14:53:53Z</timestamp>
<contributor>
<username>Mr. Stradivarius</username>
<id>4708675</id>
</contributor>
<comment>on second thoughts, blacklisting sandboxes for all templates is probably a bad idea</comment>
<model>Scribunto</model>
<format>text/plain</format>
<text xml:space="preserve" bytes="764">-- This module contains the blacklist used by [[Module:Category handler]].
-- Pages that match Lua patterns in this list will not be categorised unless
-- categorisation is explicitly requested.
return {
'^Main Page$', -- don't categorise the main page.
-- Don't categorise the following pages or their subpages.
-- &quot;%f[/\0]&quot; matches if the next character is &quot;/&quot; or the end of the string.
'^Wikipedia:Cascade%-protected items%f[/\0]',
'^User:UBX%f[/\0]', -- The userbox &quot;template&quot; space.
'^User talk:UBX%f[/\0]',
-- Don't categorise subpages of these pages, but allow
-- categorisation of the base page.
'^Wikipedia:Template messages/.*$',
-- Don't categorise archives.
'/[aA]rchive',
&quot;^Wikipedia:Administrators' noticeboard/IncidentArchive%d+$&quot;,
}</text>
<sha1>hwue3i1eua4tsdxlsbcs4f5syudywbe</sha1>
</revision>
</page>
<page>
<title>Module:Category handler/config</title>
<ns>828</ns>
<id>42291997</id>
<revision>
<id>616764079</id>
<parentid>616045566</parentid>
<timestamp>2014-07-13T09:05:36Z</timestamp>
<contributor>
<username>Mr. Stradivarius</username>
<id>4708675</id>
</contributor>
<minor/>
<comment>Protected Module:Category handler/config: [[WP:High-risk templates|High-risk Lua module]] ([Edit=Allow only template editors and admins] (indefinite) [Move=Allow only template editors and admins] (indefinite))</comment>
<model>Scribunto</model>
<format>text/plain</format>
<text xml:space="preserve" bytes="5755">--------------------------------------------------------------------------------
-- [[Module:Category handler]] configuration data --
-- Language-specific parameter names and values can be set here. --
-- For blacklist config, see [[Module:Category handler/blacklist]]. --
--------------------------------------------------------------------------------
local cfg = {} -- Don't edit this line.
--------------------------------------------------------------------------------
-- Start configuration data --
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
-- Parameter names --
-- These configuration items specify custom parameter names. --
-- To add one extra name, you can use this format: --
-- --
-- foo = 'parameter name', --
-- --
-- To add multiple names, you can use this format: --
-- --
-- foo = {'parameter name 1', 'parameter name 2', 'parameter name 3'}, --
--------------------------------------------------------------------------------
cfg.parameters = {
-- The nocat and categories parameter suppress
-- categorisation. They are used with Module:Yesno, and work as follows:
--
-- cfg.nocat:
-- Result of yesno() Effect
-- true Categorisation is suppressed
-- false Categorisation is allowed, and
-- the blacklist check is skipped
-- nil Categorisation is allowed
--
-- cfg.categories:
-- Result of yesno() Effect
-- true Categorisation is allowed, and
-- the blacklist check is skipped
-- false Categorisation is suppressed
-- nil Categorisation is allowed
nocat = 'nocat',
categories = 'categories',
-- The parameter name for the legacy &quot;category2&quot; parameter. This skips the
-- blacklist if set to the cfg.category2Yes value, and suppresses
-- categorisation if present but equal to anything other than
-- cfg.category2Yes or cfg.category2Negative.
category2 = 'category2',
-- cfg.subpage is the parameter name to specify how to behave on subpages.
subpage = 'subpage',
-- The parameter for data to return in all namespaces.
all = 'all',
-- The parameter name for data to return if no data is specified for the
-- namespace that is detected.
other = 'other',
-- The parameter name used to specify a page other than the current page;
-- used for testing and demonstration.
demopage = 'page',
}
--------------------------------------------------------------------------------
-- Parameter values --
-- These are set values that can be used with certain parameters. Only one --
-- value can be specified, like this: --
-- --
-- cfg.foo = 'value name' -- --
--------------------------------------------------------------------------------
-- The following settings are used with the cfg.category2 parameter. Setting
-- cfg.category2 to cfg.category2Yes skips the blacklist, and if cfg.category2
-- is present but equal to anything other than cfg.category2Yes or
-- cfg.category2Negative then it supresses cateogrisation.
cfg.category2Yes = 'yes'
cfg.category2Negative = '¬'
-- The following settings are used with the cfg.subpage parameter.
-- cfg.subpageNo is the value to specify to not categorise on subpages;
-- cfg.subpageOnly is the value to specify to only categorise on subpages.
cfg.subpageNo = 'no'
cfg.subpageOnly = 'only'
--------------------------------------------------------------------------------
-- Default namespaces --
-- This is a table of namespaces to categorise by default. The keys are the --
-- namespace numbers. --
--------------------------------------------------------------------------------
cfg.defaultNamespaces = {
[ 0] = true, -- main
[ 6] = true, -- file
[ 12] = true, -- help
[ 14] = true, -- category
[100] = true, -- portal
[108] = true, -- book
}
--------------------------------------------------------------------------------
-- Wrappers --
-- This is a wrapper template or a list of wrapper templates to be passed to --
-- [[Module:Arguments]]. --
--------------------------------------------------------------------------------
cfg.wrappers = 'Template:Category handler'
--------------------------------------------------------------------------------
-- End configuration data --
--------------------------------------------------------------------------------
return cfg -- Don't edit this line.</text>
<sha1>6ga9hbq2pdwalsvx68i53dmbr421rq5</sha1>
</revision>
</page>
<page>
<title>Module:Category handler/data</title>
<ns>828</ns>
<id>43233647</id>
<revision>
<id>616764105</id>
<parentid>616020360</parentid>
<timestamp>2014-07-13T09:05:55Z</timestamp>
<contributor>
<username>Mr. Stradivarius</username>
<id>4708675</id>
</contributor>
<minor/>
<comment>Protected Module:Category handler/data: [[WP:High-risk templates|High-risk Lua module]] ([Edit=Allow only template editors and admins] (indefinite) [Move=Allow only template editors and admins] (indefinite))</comment>
<model>Scribunto</model>
<format>text/plain</format>
<text xml:space="preserve" bytes="631">-- This module assembles data to be passed to [[Module:Category handler]] using
-- mw.loadData. This includes the configuration data and whether the current
-- page matches the title blacklist.
local data = require('Module:Category handler/config')
local mShared = require('Module:Category handler/shared')
local blacklist = require('Module:Category handler/blacklist')
local title = mw.title.getCurrentTitle()
data.currentTitleMatchesBlacklist = mShared.matchesBlacklist(
title.prefixedText,
blacklist
)
data.currentTitleNamespaceParameters = mShared.getNamespaceParameters(
title,
mShared.getParamMappings()
)
return data</text>
<sha1>k26mwixuaeijisfddb0sxkg82iux8v4</sha1>
</revision>
</page>
<page>
<title>Module:Category handler/shared</title>
<ns>828</ns>
<id>43232937</id>
<revision>
<id>616764145</id>
<parentid>616020201</parentid>
<timestamp>2014-07-13T09:06:15Z</timestamp>
<contributor>
<username>Mr. Stradivarius</username>
<id>4708675</id>
</contributor>
<minor/>
<comment>Protected Module:Category handler/shared: [[WP:High-risk templates|High-risk Lua module]] ([Edit=Allow only template editors and admins] (indefinite) [Move=Allow only template editors and admins] (indefinite))</comment>
<model>Scribunto</model>
<format>text/plain</format>
<text xml:space="preserve" bytes="888">-- This module contains shared functions used by [[Module:Category handler]]
-- and its submodules.
local p = {}
function p.matchesBlacklist(page, blacklist)
for i, pattern in ipairs(blacklist) do
local match = mw.ustring.match(page, pattern)
if match then
return true
end
end
return false
end
function p.getParamMappings(useLoadData)
local dataPage = 'Module:Namespace detect/data'
if useLoadData then
return mw.loadData(dataPage).mappings
else
return require(dataPage).mappings
end
end
function p.getNamespaceParameters(titleObj, mappings)
-- We don't use title.nsText for the namespace name because it adds
-- underscores.
local mappingsKey
if titleObj.isTalkPage then
mappingsKey = 'talk'
else
mappingsKey = mw.site.namespaces[titleObj.namespace].name
end
mappingsKey = mw.ustring.lower(mappingsKey)
return mappings[mappingsKey] or {}
end
return p</text>
<sha1>omlsnhudxz6juptvtxz7ns97jutbzc5</sha1>
</revision>
</page>
<page>
<title>Module:Check for unknown parameters</title>
<ns>828</ns>
<id>42286729</id>
<revision>
<id>726655795</id>
<parentid>726655742</parentid>
<timestamp>2016-06-23T14:41:43Z</timestamp>
<contributor>
<username>Frietjes</username>
<id>13791031</id>
</contributor>
<model>Scribunto</model>
<format>text/plain</format>
<text xml:space="preserve" bytes="2400">-- This module may be used to compare the arguments passed to the parent
-- with a list of arguments, returning a specified result if an argument is
-- not on the list
local p = {}
local function trim(s)
return s:match('^%s*(.-)%s*$')
end
local function isnotempty(s)
return s and trim(s) ~= ''
end
function p.check (frame)
local args = frame.args
local pargs = frame:getParent().args
local ignoreblank = isnotempty(frame.args['ignoreblank'])
local showblankpos = isnotempty(frame.args['showblankpositional'])
local knownargs = {}
local unknown = frame.args['unknown'] or 'Found _VALUE_, '
local preview = frame.args['preview']
local values = {}
local res = {}
local regexps = {}
-- create the list of known args, regular expressions, and the return string
for k, v in pairs(args) do
if type(k) == 'number' then
v = trim(v)
knownargs[v] = 1
elseif k:find('^regexp[1-9][0-9]*$') then
table.insert(regexps, '^' .. v .. '$')
end
end
if isnotempty(preview) then
preview = '&lt;div class=&quot;hatnote&quot; style=&quot;color:red&quot;&gt;&lt;strong&gt;Warning:&lt;/strong&gt; ' .. preview .. ' (this message is shown only in preview).&lt;/div&gt;'
elseif preview == nil then
preview = unknown
end
-- loop over the parent args, and make sure they are on the list
for k, v in pairs(pargs) do
if type(k) == 'string' and knownargs[k] == nil then
local knownflag = false
for i, regexp in ipairs(regexps) do
if mw.ustring.match(k, regexp) then
knownflag = true
break
end
end
if not knownflag and ( not ignoreblank or isnotempty(v) ) then
k = mw.ustring.gsub(k, '[^%w\-_ ]', '?')
table.insert(values, k)
end
elseif type(k) == 'number' and
knownargs[tostring(k)] == nil and
( showblankpos or isnotempty(v) )
then
local vlen = mw.ustring.len(v)
v = mw.ustring.sub(v, 1, (vlen &lt; 25) and vlen or 25)
v = mw.ustring.gsub(v, '[^%w\-_ ]', '?')
table.insert(values, k .. ' = ' .. v .. ((vlen &gt;= 25) and ' ...' or ''))
end
end
-- add resuls to the output tables
if #values &gt; 0 then
if frame:preprocess( &quot;{{REVISIONID}}&quot; ) == &quot;&quot; then
unknown = preview
end
for k, v in pairs(values) do
if v == '' then
-- Fix odd bug for | = which gets stripped to the empty string and
-- breaks category links
v = ' '
end
local r = unknown:gsub('_VALUE_', v)
table.insert(res, r)
end
end
return table.concat(res)
end
return p</text>
<sha1>hrayw1t1r2ij1wg65qi0jh0x6y31ba4</sha1>
</revision>
</page>
<page>
<title>Module:Documentation</title>
<ns>828</ns>
<id>40256557</id>
<revision>
<id>729280556</id>
<parentid>725653683</parentid>
<timestamp>2016-07-11T04:31:31Z</timestamp>
<contributor>
<username>Andy M. Wang</username>
<id>516856</id>
</contributor>
<comment>rm alt text on icon, since the adjacent text, &quot;Template documentation&quot; or &quot;Module documentation&quot;, is sufficient alternative text (per [[Special:Diff/729145419|edit request]])</comment>
<model>Scribunto</model>
<format>text/plain</format>
<text xml:space="preserve" bytes="36685">-- This module implements {{documentation}}.
-- Get required modules.
local getArgs = require('Module:Arguments').getArgs
local messageBox = require('Module:Message box')
-- Get the config table.
local cfg = mw.loadData('Module:Documentation/config')
local p = {}
-- Often-used functions.
local ugsub = mw.ustring.gsub
----------------------------------------------------------------------------
-- Helper functions
--
-- These are defined as local functions, but are made available in the p
-- table for testing purposes.
----------------------------------------------------------------------------
local function message(cfgKey, valArray, expectType)
--[[
-- Gets a message from the cfg table and formats it if appropriate.
-- The function raises an error if the value from the cfg table is not
-- of the type expectType. The default type for expectType is 'string'.
-- If the table valArray is present, strings such as $1, $2 etc. in the
-- message are substituted with values from the table keys [1], [2] etc.
-- For example, if the message &quot;foo-message&quot; had the value 'Foo $2 bar $1.',
-- message('foo-message', {'baz', 'qux'}) would return &quot;Foo qux bar baz.&quot;
--]]
local msg = cfg[cfgKey]
expectType = expectType or 'string'
if type(msg) ~= expectType then
error('message: type error in message cfg.' .. cfgKey .. ' (' .. expectType .. ' expected, got ' .. type(msg) .. ')', 2)
end
if not valArray then
return msg
end
local function getMessageVal(match)
match = tonumber(match)
return valArray[match] or error('message: no value found for key $' .. match .. ' in message cfg.' .. cfgKey, 4)
end
local ret = ugsub(msg, '$([1-9][0-9]*)', getMessageVal)
return ret
end
p.message = message
local function makeWikilink(page, display)
if display then
return mw.ustring.format('[[%s|%s]]', page, display)
else
return mw.ustring.format('[[%s]]', page)
end
end
p.makeWikilink = makeWikilink
local function makeCategoryLink(cat, sort)
local catns = mw.site.namespaces[14].name
return makeWikilink(catns .. ':' .. cat, sort)
end
p.makeCategoryLink = makeCategoryLink
local function makeUrlLink(url, display)
return mw.ustring.format('[%s %s]', url, display)
end
p.makeUrlLink = makeUrlLink
local function makeToolbar(...)
local ret = {}
local lim = select('#', ...)
if lim &lt; 1 then
return nil
end
for i = 1, lim do
ret[#ret + 1] = select(i, ...)
end
return '&lt;small style=&quot;font-style: normal;&quot;&gt;(' .. table.concat(ret, ' &amp;#124; ') .. ')&lt;/small&gt;'
end
p.makeToolbar = makeToolbar
----------------------------------------------------------------------------
-- Argument processing
----------------------------------------------------------------------------
local function makeInvokeFunc(funcName)
return function (frame)
local args = getArgs(frame, {
valueFunc = function (key, value)
if type(value) == 'string' then
value = value:match('^%s*(.-)%s*$') -- Remove whitespace.
if key == 'heading' or value ~= '' then
return value
else
return nil
end
else
return value
end
end
})
return p[funcName](args)
end
end
----------------------------------------------------------------------------
-- Main function
----------------------------------------------------------------------------
p.main = makeInvokeFunc('_main')
function p._main(args)
--[[
-- This function defines logic flow for the module.
-- @args - table of arguments passed by the user
--
-- Messages:
-- 'main-div-id' --&gt; 'template-documentation'
-- 'main-div-classes' --&gt; 'template-documentation iezoomfix'
--]]
local env = p.getEnvironment(args)
local root = mw.html.create()
root
:wikitext(p.protectionTemplate(env))
:wikitext(p.sandboxNotice(args, env))
-- This div tag is from {{documentation/start box}}, but moving it here
-- so that we don't have to worry about unclosed tags.
:tag('div')
:attr('id', message('main-div-id'))
:addClass(message('main-div-classes'))
:newline()
:wikitext(p._startBox(args, env))
:wikitext(p._content(args, env))
:tag('div')
:css('clear', 'both') -- So right or left floating items don't stick out of the doc box.
:newline()
:done()
:done()
:wikitext(p._endBox(args, env))
:wikitext(p.addTrackingCategories(env))
return tostring(root)
end
----------------------------------------------------------------------------
-- Environment settings
----------------------------------------------------------------------------
function p.getEnvironment(args)
--[[
-- Returns a table with information about the environment, including title objects and other namespace- or
-- path-related data.
-- @args - table of arguments passed by the user
--
-- Title objects include:
-- env.title - the page we are making documentation for (usually the current title)
-- env.templateTitle - the template (or module, file, etc.)
-- env.docTitle - the /doc subpage.
-- env.sandboxTitle - the /sandbox subpage.
-- env.testcasesTitle - the /testcases subpage.
-- env.printTitle - the print version of the template, located at the /Print subpage.
--
-- Data includes:
-- env.protectionLevels - the protection levels table of the title object.
-- env.subjectSpace - the number of the title's subject namespace.
-- env.docSpace - the number of the namespace the title puts its documentation in.
-- env.docpageBase - the text of the base page of the /doc, /sandbox and /testcases pages, with namespace.
-- env.compareUrl - URL of the Special:ComparePages page comparing the sandbox with the template.
--
-- All table lookups are passed through pcall so that errors are caught. If an error occurs, the value
-- returned will be nil.
--]]
local env, envFuncs = {}, {}
-- Set up the metatable. If triggered we call the corresponding function in the envFuncs table. The value
-- returned by that function is memoized in the env table so that we don't call any of the functions
-- more than once. (Nils won't be memoized.)
setmetatable(env, {
__index = function (t, key)
local envFunc = envFuncs[key]
if envFunc then
local success, val = pcall(envFunc)
if success then
env[key] = val -- Memoise the value.
return val
end
end
return nil
end
})
function envFuncs.title()
-- The title object for the current page, or a test page passed with args.page.
local title
local titleArg = args.page
if titleArg then
title = mw.title.new(titleArg)
else
title = mw.title.getCurrentTitle()
end
return title
end