<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://confrontation.wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Colt</id>
	<title>Confrontation.wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://confrontation.wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Colt"/>
	<link rel="alternate" type="text/html" href="https://confrontation.wiki/index.php/Special:Contributions/Colt"/>
	<updated>2026-04-19T02:59:52Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.36.1</generator>
	<entry>
		<id>https://confrontation.wiki/index.php?title=User:Colt&amp;diff=19670</id>
		<title>User:Colt</title>
		<link rel="alternate" type="text/html" href="https://confrontation.wiki/index.php?title=User:Colt&amp;diff=19670"/>
		<updated>2024-12-06T20:26:47Z</updated>

		<summary type="html">&lt;p&gt;Colt: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:donate.png|thumb|right]]&lt;br /&gt;
&lt;br /&gt;
[http://discord.confrontation.wiki '''Confrontation Discord'''] - Administrator/Owner &lt;br /&gt;
&lt;br /&gt;
[https://arcanewaters.com '''Arcane Waters'''] - Developer &amp;amp; Community Manager&lt;br /&gt;
&lt;br /&gt;
[http://Wtfcolt.com '''wtfcolt.com''' - Personal Site]&lt;br /&gt;
&lt;br /&gt;
'''[http://TheReckless.net TheReckless.net]''' - Gaming discord community with free servers to play on. Gaming server rates usually bumped up to cater to people with jobs, lives, kids, etc. Join us!&lt;br /&gt;
&lt;br /&gt;
[https://discord.gg/mkKZZVZcmf Colt's Dev Server] - My game development discord. Always looking for testers!&lt;br /&gt;
&lt;br /&gt;
wtfcolt on Discord&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I do a lot of testing here on this page. If you happen see weird stuff, that's why. Or maybe you're just drunk. I don't judge.&lt;/div&gt;</summary>
		<author><name>Colt</name></author>
	</entry>
	<entry>
		<id>https://confrontation.wiki/index.php?title=User:Colt&amp;diff=19669</id>
		<title>User:Colt</title>
		<link rel="alternate" type="text/html" href="https://confrontation.wiki/index.php?title=User:Colt&amp;diff=19669"/>
		<updated>2024-12-06T20:25:43Z</updated>

		<summary type="html">&lt;p&gt;Colt: no&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:donate.png|thumb|right]]&lt;br /&gt;
&lt;br /&gt;
[http://discord.confrontation.wiki '''Confrontation Discord'''] - Administrator/Owner &lt;br /&gt;
&lt;br /&gt;
[https://arcanewaters.com '''Arcane Waters'''] - Developer &amp;amp; Community Manager&lt;br /&gt;
&lt;br /&gt;
[http://Wtfcolt.com '''wtfcolt.com''' - Personal Site]&lt;br /&gt;
&lt;br /&gt;
'''[http://TheReckless.net TheReckless.net]''' - Gaming discord community with free servers to play on. Gaming server rates usually bumped up to cater to people with jobs, lives, kids, etc. Join us!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
wtfcolt on Discord&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I do a lot of testing here on this page. If you happen see weird stuff, that's why. Or maybe you're just drunk. I don't judge.&lt;/div&gt;</summary>
		<author><name>Colt</name></author>
	</entry>
	<entry>
		<id>https://confrontation.wiki/index.php?title=Dwarves_of_Tir-N%C3%A2-Bor&amp;diff=16917</id>
		<title>Dwarves of Tir-Nâ-Bor</title>
		<link rel="alternate" type="text/html" href="https://confrontation.wiki/index.php?title=Dwarves_of_Tir-N%C3%A2-Bor&amp;diff=16917"/>
		<updated>2023-02-17T01:02:34Z</updated>

		<summary type="html">&lt;p&gt;Colt: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Armies]]&lt;br /&gt;
[[Category:Paths of Destiny]]&lt;br /&gt;
[[File:emblem_boar.png|thumb|Dwarves of Tir-Nâ-Bor |right]]&lt;br /&gt;
The dwarves, a proud and tenacious people, live in the heart of the Ægis mountain chain ever since the world was the world. The legends of the plains say that these lofty summits, which touch the domain of the gods, are alive. Rock comes to life with a secret shiver and the mountain rumbles and smokes to the rhythm of huge mechanisms of bronze that animate the underground cities of Tir-Nâ-Bor.&lt;br /&gt;
&lt;br /&gt;
The dwarves have lived for a long time for their means, without counting on anyone, and without taking part in the dangerous games of treacherous alliances. Their homeland is their soul, and strangers are rarely welcome. Those who live on the plans have perpetuated their people's martial traditions, while those of the mountains practice the secrets of the forge and of steam They all await the Argg-Am-Orkk - the final age. An era of destruction predicted by the gods.&lt;br /&gt;
&lt;br /&gt;
There is no longer any time for experiments and for helping each other, for the long wait over with the coming of the Rag'narok. It is time for war. The dwarves raise their weapons and await death with their feet firmly planted on the ground. He who lives last, lives best!&lt;br /&gt;
&lt;br /&gt;
== Lore ==&lt;br /&gt;
As far back as their writs can remember, the dwarves have always existed, just like the animals and the mountains. like many others, the history of the nation of Tir-Nâ-Bor begins during the Winter of Battles.&lt;br /&gt;
&lt;br /&gt;
At the time the climate was so harsh that herbivores began hunting other animals to feed themselves. Civilizations did the same, and the people that were harassed the most was the only one to have stocked up massive reserves - the dwarves. That is when the gods came to them to offer a deal. Their children, the giants, were dying and their heavenly parents were no longer there to come to their aid. So the invited the dwarves to their domain of the Ægis, this protecting them from winter and the desires of the other peoples in exchange for food that would allow the giants to survive. The deal was made and the dwarves settle in the caves of the Ægis Mountains. Tir-Nâ-Bor was born.&lt;br /&gt;
&lt;br /&gt;
When the Winter of Battles was over the dwarves appeared from their sanctuary: some returned to the plains and got on with their lives while others decided to remain in the mountains. So the dwarves lived the ages, renewing the vow that bound them to the gods of the Ægis. Tir-Nâ-Bor developed, sheltered from need: the mountain dwarves discovered the secrets of metal and the power of steam. As for their brethren of the plains, they became formidable warriors. In time, the dwarves' isolationist traditions became less rigid and they finally decided to go and explore Aarklash. That is how Tir-Nâ-Bor came to sealing its first alliance with the Empire of the Griffin.&lt;br /&gt;
&lt;br /&gt;
Alas, an important event caught the dwarves with the backs to the wall: the appearance of the demons of Mid-Nor. The divinities of the Ægis, are powerless, for the god of chasms is their equal. Until now the dwarves always felt protected from outside threats, but this one comes from inside.&lt;br /&gt;
&lt;br /&gt;
Has the hour of the Argg-Am-Ork - the end of days - finally arrived?&lt;br /&gt;
&lt;br /&gt;
== Faction Overview ==&lt;br /&gt;
Overview of Akkyshan&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;Advantages&amp;lt;/u&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Blah&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;Weaknesses&amp;lt;/u&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Blah&lt;br /&gt;
&lt;br /&gt;
== Factions ==&lt;br /&gt;
{| class=&amp;quot;wikitable mw-collapsible&amp;quot;&lt;br /&gt;
|+The Fortresses of Tir-Nâ-Bor&lt;br /&gt;
![[The Fortresses of Tir-Nâ-Bor]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Fortress: Fom-Nur|Fom-Nur]] &lt;br /&gt;
|-&lt;br /&gt;
|[[Fortress: Kâ-In-Ar|Kâ-In-Ar]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Fortress: Kal-Nam|Kal-Nam]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Fortress: Kar-An-Tyr|Kar-An-Tyr]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Fortress: Lor-An-Kor|Lor-An-Kor]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Fortress: Naël-Tarn|Naël-Tarn]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Fortress: Ogh-Hen-Kir|Ogh-Hen-Kir]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Fortress: The Brotherhood of Bronze|The Brotherhood of Bronze]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Units ==&lt;br /&gt;
This army has some units. General overview of units. Yada yada.&lt;br /&gt;
&lt;br /&gt;
=== Characters ===&lt;br /&gt;
Something something.&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
!Unit&lt;br /&gt;
!Base Points&lt;br /&gt;
!Type&lt;br /&gt;
![[Rank]]&lt;br /&gt;
!Incarnation&lt;br /&gt;
!Abilities&lt;br /&gt;
!Reserved Artifacts&lt;br /&gt;
!Reserved Spells / Miracles&lt;br /&gt;
!Capacities / Explanatory&lt;br /&gt;
!Notes&lt;br /&gt;
|-&lt;br /&gt;
|[[Aegher the Brief]]&lt;br /&gt;
|84&lt;br /&gt;
|Warrior&lt;br /&gt;
|Dwarf Regular Champion&lt;br /&gt;
|&lt;br /&gt;
|Hard-Boiled&lt;br /&gt;
&lt;br /&gt;
Leadership / 15&lt;br /&gt;
&lt;br /&gt;
War Horse&lt;br /&gt;
| rowspan=&amp;quot;2&amp;quot; |[[The Banner of the Pacifier]]&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|Brotherhood of Bronze box&lt;br /&gt;
|-&lt;br /&gt;
|[[Aegher the Brief]]&lt;br /&gt;
|129&lt;br /&gt;
|Warrior&lt;br /&gt;
|Dwarf Special Champion&lt;br /&gt;
[[Fortress: The Brotherhood of Bronze|Brotherhood of Bronze]]&lt;br /&gt;
|2nd&lt;br /&gt;
|Hard-Boiled&lt;br /&gt;
Leadership / 15&lt;br /&gt;
&lt;br /&gt;
War Horse&lt;br /&gt;
&lt;br /&gt;
Brutish Charge&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|[[Cry Havoc|Cry Havoc #3]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Bâl-Torg the Elder]]&lt;br /&gt;
|39&lt;br /&gt;
|Mage&lt;br /&gt;
|Dwarf Initiate Champion&lt;br /&gt;
|&lt;br /&gt;
|Hard-Boiled&lt;br /&gt;
Earth Initiate / Telluric&lt;br /&gt;
|&lt;br /&gt;
| rowspan=&amp;quot;3&amp;quot; |[[Secret of Bâl-Torg]]&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|[[Bâl-Torg the Elder]]&lt;br /&gt;
|52&lt;br /&gt;
|Mage&lt;br /&gt;
|Dwarf Adept Champion&lt;br /&gt;
|2nd&lt;br /&gt;
|Hard-Boiled&lt;br /&gt;
Earth and Fire Adept / Telluric, Druidism&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
| [[2nd Incarnation Card Pack|2nd Incarnation Card Pack Vol 1]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Bâl-Torg the Elder]]&lt;br /&gt;
|55&lt;br /&gt;
|Mage&lt;br /&gt;
|Dwarf Adept Champion&lt;br /&gt;
|2nd&lt;br /&gt;
|Hard-Boiled&lt;br /&gt;
Earth and Fire Adept / Telluric, Druidism&lt;br /&gt;
&lt;br /&gt;
Artifact / 4&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|[[Bhor-Hok the Leader]]&lt;br /&gt;
|84&lt;br /&gt;
|Warrior&lt;br /&gt;
|Dwarf Regular Champion&lt;br /&gt;
|&lt;br /&gt;
|Hard-Boiled&lt;br /&gt;
&lt;br /&gt;
Leadership / 10&lt;br /&gt;
|[[The Excoriator]]&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|[[Brognir, Defender of the Plains]]&lt;br /&gt;
|46&lt;br /&gt;
|Warrior&lt;br /&gt;
|Dwarf Regular Champion&lt;br /&gt;
|&lt;br /&gt;
|Hard-Boiled&lt;br /&gt;
&lt;br /&gt;
Leadership / 10&lt;br /&gt;
|[[The Hand of Bronze]]&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|War-Staff of the Plains box&lt;br /&gt;
|-&lt;br /&gt;
|[[Elghir the Resolute]]&lt;br /&gt;
|30&lt;br /&gt;
|Faithful&lt;br /&gt;
|Dwarf Devout Champion&lt;br /&gt;
|&lt;br /&gt;
|Hard-Boiled&lt;br /&gt;
Faithful of Odnir / 10&lt;br /&gt;
|[[The Cauldron of Hyffaid]]&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|[[Fenggar|Fenggar Fist of Bronze]]&lt;br /&gt;
|89&lt;br /&gt;
|Mage&lt;br /&gt;
|Dwarf Adept Champion&lt;br /&gt;
[[Fortress: The Brotherhood of Bronze|Brotherhood of Bronze]]&lt;br /&gt;
|&lt;br /&gt;
|Hard-Boiled&lt;br /&gt;
Adept of Earth and Water / Telluric, Forge&lt;br /&gt;
&lt;br /&gt;
Authority&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|[[Cry Havoc|Cry Havoc #7]]&lt;br /&gt;
[[Mail Order Service|VPC]] [[:File:Vpc tirnabor fenggarfistofbronze.jpg|Fenggar Fist of Bronze]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Fenggar|Fenggar Iron Hand]]&lt;br /&gt;
|46&lt;br /&gt;
|Mage&lt;br /&gt;
|Dwarf Initiate Champion&lt;br /&gt;
|&lt;br /&gt;
|Hard-Boiled&lt;br /&gt;
Earth Initiate / Telluric, Forge&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|Brotherhood of Bronze box&lt;br /&gt;
|-&lt;br /&gt;
|[[Fulgor, Meteor of the Ægis]]&lt;br /&gt;
|140&lt;br /&gt;
|Warrior&lt;br /&gt;
|Dwarf Elite Champion&lt;br /&gt;
|&lt;br /&gt;
|Hard-Boiled&lt;br /&gt;
Brutish Charge&lt;br /&gt;
&lt;br /&gt;
Scout&lt;br /&gt;
&lt;br /&gt;
Flight&lt;br /&gt;
&lt;br /&gt;
Leadership / 15&lt;br /&gt;
|[[The Cold Iron]]&lt;br /&gt;
&lt;br /&gt;
[[The R.O.G.E.R.]]&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|[[Hirh-Karn the Enraged]]&lt;br /&gt;
|157&lt;br /&gt;
|Warrior&lt;br /&gt;
|Dwarf Elite Champion&lt;br /&gt;
|&lt;br /&gt;
|Hard-Boiled&lt;br /&gt;
Brutal&lt;br /&gt;
&lt;br /&gt;
Born Killer&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|[[The Enraged]]&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|[[Kaeghir the Bad-Tempered]]&lt;br /&gt;
|78&lt;br /&gt;
|Mage&lt;br /&gt;
|Dwarf Adept [[Shadows|Shadow]]&lt;br /&gt;
|&lt;br /&gt;
|Hard-Boiled&lt;br /&gt;
Earth and Fire Adept / Telluric, Theurgy&lt;br /&gt;
&lt;br /&gt;
Fierce&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|Trackers of Bran-Ô-Kor box&lt;br /&gt;
|-&lt;br /&gt;
|[[Kaël the Irascible]]&lt;br /&gt;
|124&lt;br /&gt;
|Warrior&lt;br /&gt;
|Dwarf Elite Champion&lt;br /&gt;
|&lt;br /&gt;
|Hard-Boiled&lt;br /&gt;
&lt;br /&gt;
Leadership / 15&lt;br /&gt;
&lt;br /&gt;
Personal Enemy / [[Baron Ozöhn]]&lt;br /&gt;
&lt;br /&gt;
Brutish Charge&lt;br /&gt;
&lt;br /&gt;
Brutal&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|[[Kaël the Irascible]]&lt;br /&gt;
|150&lt;br /&gt;
|Warrior&lt;br /&gt;
|Dwarf Elite Champion&lt;br /&gt;
|2nd&lt;br /&gt;
|Hard-Boiled&lt;br /&gt;
Leadership / 20&lt;br /&gt;
&lt;br /&gt;
Personal Enemy / Baron Ozöhn&lt;br /&gt;
&lt;br /&gt;
Brutish Charge&lt;br /&gt;
&lt;br /&gt;
Brutal&lt;br /&gt;
&lt;br /&gt;
Bravery&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
| [[2nd Incarnation Card Pack|2nd Incarnation Card Pack Vol 2]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Kahinir|Kahinir the Savage]]&lt;br /&gt;
|48&lt;br /&gt;
|Warrior&lt;br /&gt;
|Dwarf Veteran Champion&lt;br /&gt;
|&lt;br /&gt;
|Hard-Boiled&lt;br /&gt;
Bravery&lt;br /&gt;
&lt;br /&gt;
Pariah&lt;br /&gt;
&lt;br /&gt;
Master Strike / 5&lt;br /&gt;
&lt;br /&gt;
Bane / [[Goblins of No-Dan-Kar &amp;amp; Ûraken|Goblins]]&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|[[Kahinir|Kahinir, Armorer Dwarf]]&lt;br /&gt;
|69&lt;br /&gt;
|Warrior&lt;br /&gt;
|Dwarf Special Champion&lt;br /&gt;
|2nd&lt;br /&gt;
|Hard-Boiled&lt;br /&gt;
Bravery&lt;br /&gt;
&lt;br /&gt;
Counter-Attack&lt;br /&gt;
&lt;br /&gt;
Master Strike / 5&lt;br /&gt;
&lt;br /&gt;
Bane / Goblins&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
| [[2nd Incarnation Card Pack|2nd Incarnation Card Pack Vol 2]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Kal-Nur, Khor Warrior]]&lt;br /&gt;
|60&lt;br /&gt;
|Warrior&lt;br /&gt;
|Dwarf Elite Champion&lt;br /&gt;
|&lt;br /&gt;
|Hard-Boiled&lt;br /&gt;
Brutal&lt;br /&gt;
&lt;br /&gt;
Leadership / 10&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|[[Rag'Narok Card Pack|Rag'Narok box]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Kûlzarak, Alchemist Dwarf]]&lt;br /&gt;
|82&lt;br /&gt;
|Mage&lt;br /&gt;
|Dwarf Adept Champion&lt;br /&gt;
[[Fortress: Kal-Nam|Kal-Nam]]&lt;br /&gt;
|&lt;br /&gt;
|Hard-Boiled&lt;br /&gt;
Leadership / 10&lt;br /&gt;
&lt;br /&gt;
Adept of Earth and Air / Telluric, Shamanism&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|[[The Fortresses of Tir-Nâ-Bor|Fortresses of Tir-Nâ-Bor card pack]]&lt;br /&gt;
No Model&lt;br /&gt;
|-&lt;br /&gt;
|[[Lor-Arkhon the Deranged]]&lt;br /&gt;
|72&lt;br /&gt;
|Warrior&lt;br /&gt;
|Dwarf Regular Champion&lt;br /&gt;
Light Artillery&lt;br /&gt;
|&lt;br /&gt;
|Hard-Boiled&lt;br /&gt;
|[[The B.R.U.T.E.]]&lt;br /&gt;
|&lt;br /&gt;
|[[Experimental Ammunition]]&lt;br /&gt;
[[Dwarf Steam Machines]]&lt;br /&gt;
|Brotherhood of Bronze box&lt;br /&gt;
|-&lt;br /&gt;
|[[Lothan, the Beast of Steel]]&lt;br /&gt;
|107&lt;br /&gt;
|Warrior&lt;br /&gt;
|Dwarf Elite Champion&lt;br /&gt;
|&lt;br /&gt;
|Hard-Boiled&lt;br /&gt;
Bravery&lt;br /&gt;
&lt;br /&gt;
Brutal&lt;br /&gt;
&lt;br /&gt;
Brutish Charge&lt;br /&gt;
|[[Halcyon Compressor]]&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|Brotherhood of Bronze box&lt;br /&gt;
|-&lt;br /&gt;
|[[Magnus the Mystical]]&lt;br /&gt;
|68&lt;br /&gt;
|Mage&lt;br /&gt;
|Dwarf Adept Champion&lt;br /&gt;
|&lt;br /&gt;
|Hard-Boiled&lt;br /&gt;
Fanaticism&lt;br /&gt;
&lt;br /&gt;
Earth and Water Adept / Telluric, Theurgy&lt;br /&gt;
|[[Clairvoyant Familiar]]&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|[[Nerak the Bold]]&lt;br /&gt;
|67&lt;br /&gt;
|Warrior&lt;br /&gt;
|Dwarf Regular Champion&lt;br /&gt;
|&lt;br /&gt;
|Hard-Boiled&lt;br /&gt;
Scout&lt;br /&gt;
&lt;br /&gt;
Instinctive Firing&lt;br /&gt;
|[[The Hunter's Crossbow]]&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|[[Pillgrim the One-Eyed]]&lt;br /&gt;
|46&lt;br /&gt;
|Warrior&lt;br /&gt;
|Dwarf Regular Champion&lt;br /&gt;
|&lt;br /&gt;
|Hard-Boiled&lt;br /&gt;
Leadership / 10&lt;br /&gt;
&lt;br /&gt;
Personal Enemy / [[Gidzzit the Bell-Ringer|Gidzzit the Ringer]]&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|[[Pilzenbhir, Defender of the Plains]]&lt;br /&gt;
|90&lt;br /&gt;
|Warrior&lt;br /&gt;
|Dwarf Elite Champion&lt;br /&gt;
|&lt;br /&gt;
|Hard-Boiled&lt;br /&gt;
Ambidextrous&lt;br /&gt;
&lt;br /&gt;
Brutal&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|[[Pilzenbhir, Defender of the Plains]]&lt;br /&gt;
|105&lt;br /&gt;
|Warrior&lt;br /&gt;
|Dwarf Elite Champion&lt;br /&gt;
|2nd&lt;br /&gt;
|Hard-Boiled&lt;br /&gt;
Bravery&lt;br /&gt;
&lt;br /&gt;
Bane / [[Dwarves of Mid-Nor|Dwarf of Mid-Nor]]&lt;br /&gt;
&lt;br /&gt;
Brutal&lt;br /&gt;
&lt;br /&gt;
Ambidextrous&lt;br /&gt;
|[[Gylfa-Gar and Uren-Gar]]&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
| [[2nd Incarnation Card Pack|2nd Incarnation Card Pack Vol 1]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Tan-Kaïr, The Fist of Fom-Nur]]&lt;br /&gt;
|250&lt;br /&gt;
|Warrior&lt;br /&gt;
|Dwarf Living Legend Champion&lt;br /&gt;
|&lt;br /&gt;
|Hard-Boiled&lt;br /&gt;
Leadership / 30&lt;br /&gt;
&lt;br /&gt;
Possessed&lt;br /&gt;
&lt;br /&gt;
Implacable / 2&lt;br /&gt;
&lt;br /&gt;
Bravery&lt;br /&gt;
&lt;br /&gt;
Personal Enemy / Yh-Kthan&lt;br /&gt;
|[[The Fusion Fist]]&lt;br /&gt;
&lt;br /&gt;
[[The Helm of the Patriarch]]&lt;br /&gt;
&lt;br /&gt;
[[Uren's Armor]]&lt;br /&gt;
|&lt;br /&gt;
|[[The Fist of Fom-Nur]]&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
=== Troops ===&lt;br /&gt;
Words about the troops.&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
!Unit&lt;br /&gt;
!Base Points&lt;br /&gt;
!Models per Blister or Box&lt;br /&gt;
!Abilities&lt;br /&gt;
!Capacities / Explanatory&lt;br /&gt;
!Notes&lt;br /&gt;
|-&lt;br /&gt;
|[[Armored Chariot|Armored Chariot (Ballista)]]&lt;br /&gt;
|170&lt;br /&gt;
| rowspan=&amp;quot;2&amp;quot; |1 (box)&lt;br /&gt;
| rowspan=&amp;quot;2&amp;quot; |Immunity / Fear&lt;br /&gt;
Impact / 4&lt;br /&gt;
&lt;br /&gt;
Inalterable&lt;br /&gt;
&lt;br /&gt;
Irrepressible&lt;br /&gt;
&lt;br /&gt;
Transport / 4 / Rear Access&lt;br /&gt;
&lt;br /&gt;
War Cry / 8&lt;br /&gt;
&lt;br /&gt;
''Very Large Size''&lt;br /&gt;
|[[The Chariot's Machinery]]&lt;br /&gt;
[[The Bull of Steel / 3]]&lt;br /&gt;
|[[Mail Order Service|VPC]] [[:File:Vpc tirnabor chariotballista.jpg|Chariot Ballista]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Armored Chariot|Armored Chariot (Cannon)]]&lt;br /&gt;
|190&lt;br /&gt;
|[[The Bull of Steel / 1]]&lt;br /&gt;
[[The Bull of Steel / 2]]&lt;br /&gt;
&lt;br /&gt;
[[The Chariot's Machinery]]&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|[[Black-Blood Automaton]]&lt;br /&gt;
|37&lt;br /&gt;
|No Model&lt;br /&gt;
|Assassin&lt;br /&gt;
Construct&lt;br /&gt;
&lt;br /&gt;
Possessed&lt;br /&gt;
&lt;br /&gt;
''Can only be played with Lor-An-Kor''&lt;br /&gt;
|[[Fortress: Lor-An-Kor|Lor-An-Kor]]&lt;br /&gt;
|[[The Fortresses of Tir-Nâ-Bor|Fortresses of Tir-Nâ-Bor card pack]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Boor on Razorback|Boor on Razorback 1]]&lt;br /&gt;
|16&lt;br /&gt;
|1&lt;br /&gt;
| rowspan=&amp;quot;3&amp;quot; |Hard-Boiled&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|[[Boor on Razorback|Boor on Razorback 2]]&lt;br /&gt;
|16&lt;br /&gt;
|1&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|[[Boor on Razorback|Boor on Razorback 3]]&lt;br /&gt;
|16&lt;br /&gt;
|1&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|[[Boor with Axe]]&lt;br /&gt;
|9&lt;br /&gt;
|3&lt;br /&gt;
|Hard-Boiled&lt;br /&gt;
|&lt;br /&gt;
|[[Mail Order Service|VPC]] [[:File:Vpc tirnabor boorwithaxe.jpg|Boor with Axe]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Boor with Hammer]]&lt;br /&gt;
|9&lt;br /&gt;
|3&lt;br /&gt;
|Hard-Boiled&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|[[Boor with Pick Hammer]]&lt;br /&gt;
|10&lt;br /&gt;
|3&lt;br /&gt;
|Hard-Boiled&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|[[Dwarf Armorer]]&lt;br /&gt;
|27&lt;br /&gt;
|2&lt;br /&gt;
|Counter-Attack&lt;br /&gt;
Hard-Boiled&lt;br /&gt;
|[[The Dwarf Armorers]]&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|[[Dwarf Blunderbuss-Wielder]]&lt;br /&gt;
|18&lt;br /&gt;
|3&lt;br /&gt;
|Hard-Boiled&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|[[Dwarf Bombardier|Dwarf Bombardier 1]]&lt;br /&gt;
|38&lt;br /&gt;
|1&lt;br /&gt;
| rowspan=&amp;quot;2&amp;quot; |Hard-Boiled&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|[[Dwarf Bombardier|Dwarf Bombardier 2]]&lt;br /&gt;
|38&lt;br /&gt;
|1&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|[[Dwarf Musician]]&lt;br /&gt;
|14&lt;br /&gt;
|1&lt;br /&gt;
|Hard-Boiled&lt;br /&gt;
Leadership / 10&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|[[Dwarf Standard Bearer]]&lt;br /&gt;
|14&lt;br /&gt;
|1&lt;br /&gt;
|Hard-Boiled&lt;br /&gt;
Leadership / 10&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|[[Dwarf with Crossbow]]&lt;br /&gt;
|15&lt;br /&gt;
|3&lt;br /&gt;
|Hard-Boiled&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|[[Escort Dwarf]]&lt;br /&gt;
|23&lt;br /&gt;
|No Model&lt;br /&gt;
|Brutal&lt;br /&gt;
Hard-Boiled&lt;br /&gt;
&lt;br /&gt;
Mercenary&lt;br /&gt;
|&lt;br /&gt;
|[[Dogs of War Card Pack]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Forge Guardian|Forge Guardian 1]]&lt;br /&gt;
|14&lt;br /&gt;
|2 (box)&lt;br /&gt;
| rowspan=&amp;quot;3&amp;quot; |Hard-Boiled&lt;br /&gt;
|&lt;br /&gt;
|Brotherhood of Bronze box&lt;br /&gt;
|-&lt;br /&gt;
|[[Forge Guardian|Forge Guardian 2]]&lt;br /&gt;
|14&lt;br /&gt;
|2&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|[[Forge Guardian|Forge Guardian 3]]&lt;br /&gt;
|15&lt;br /&gt;
|3&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|[[Hunter on Razorback]]&lt;br /&gt;
|39&lt;br /&gt;
|No Model&lt;br /&gt;
|Brutish Charge&lt;br /&gt;
Hard-Boiled&lt;br /&gt;
&lt;br /&gt;
Master-Strike / 1&lt;br /&gt;
|[[Fortress: Naël-Tarn|Naël-Tarn]]&lt;br /&gt;
|[[The Fortresses of Tir-Nâ-Bor|Fortresses of Tir-Nâ-Bor card pack]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Khor Knight of Uren|Khor Knight of Uren (Artcard)]]&lt;br /&gt;
|55&lt;br /&gt;
|No Model&lt;br /&gt;
| rowspan=&amp;quot;4&amp;quot; |Brutal&lt;br /&gt;
Brutish Charge&lt;br /&gt;
&lt;br /&gt;
Hard-Boiled&lt;br /&gt;
|[[Fortress: The Brotherhood of Bronze|Brotherhood of Bronze]]&lt;br /&gt;
[[Thermo-Booster]]&lt;br /&gt;
|[[Cry Havoc|Cry Havoc #3]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Khor Knight of Uren|Khor Knight of Uren 1]]&lt;br /&gt;
|55&lt;br /&gt;
| rowspan=&amp;quot;3&amp;quot; |3 (box)&lt;br /&gt;
| rowspan=&amp;quot;3&amp;quot; |[[Thermo-Booster]]&lt;br /&gt;
| rowspan=&amp;quot;3&amp;quot; |Knights of Uren box&lt;br /&gt;
|-&lt;br /&gt;
|[[Khor Knight of Uren|Khor Knight of Uren 2]]&lt;br /&gt;
|55&lt;br /&gt;
|-&lt;br /&gt;
|[[Khor Knight of Uren|Khor Knight of Uren 3]]&lt;br /&gt;
|55&lt;br /&gt;
|-&lt;br /&gt;
|[[Khor on Attack Razorback]]&lt;br /&gt;
|39&lt;br /&gt;
|No Model&lt;br /&gt;
|Brutal&lt;br /&gt;
&lt;br /&gt;
Brutish Charge&lt;br /&gt;
&lt;br /&gt;
Hard-Boiled&lt;br /&gt;
|&lt;br /&gt;
|[[Warriors of the Rag'Narok Card Pack|Warriors of the Rag'Narok card pack]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Khor Musician on Razorback]]&lt;br /&gt;
|58&lt;br /&gt;
|1&lt;br /&gt;
|Brutal&lt;br /&gt;
Hard-Boiled&lt;br /&gt;
&lt;br /&gt;
Leadership / 15&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|[[Khor Standard-Bearer on Razorback]]&lt;br /&gt;
|58&lt;br /&gt;
|1&lt;br /&gt;
|Brutal&lt;br /&gt;
Hard-Boiled&lt;br /&gt;
&lt;br /&gt;
Leadership / 15&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|[[Khor Warrior|Khor Warrior 1]]&lt;br /&gt;
|21&lt;br /&gt;
|3&lt;br /&gt;
| rowspan=&amp;quot;3&amp;quot; |Brutal&lt;br /&gt;
Hard-Boiled&lt;br /&gt;
| rowspan=&amp;quot;3&amp;quot; |[[The Khor Warriors]]&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|[[Khor Warrior|Khor Warrior 2]]&lt;br /&gt;
|21&lt;br /&gt;
|3&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|[[Khor Warrior|Khor Warrior 3]]&lt;br /&gt;
|21&lt;br /&gt;
|3&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|[[Khor Warrior on Razorback|Khor Warrior on Razorback 1]]&lt;br /&gt;
|36&lt;br /&gt;
|1&lt;br /&gt;
| rowspan=&amp;quot;3&amp;quot; |Brutish Charge&lt;br /&gt;
Hard-Boiled&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|[[Khor Warrior on Razorback|Khor Warrior on Razorback 2]]&lt;br /&gt;
|36&lt;br /&gt;
|1&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|[[Khor Warrior on Razorback|Khor Warrior on Razorback 3]]&lt;br /&gt;
|36&lt;br /&gt;
|1&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|[[Lithomancer of Tir-Nâ-Bor]]&lt;br /&gt;
|28&lt;br /&gt;
|1&lt;br /&gt;
|Initiate of Earth / Lithomancy&lt;br /&gt;
Hard-Boiled&lt;br /&gt;
&lt;br /&gt;
Warrior-Mage&lt;br /&gt;
|[[The Lithomancers of Tir-Nâ-Bor]]&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|[[Mechanical Familiar]]&lt;br /&gt;
|16&lt;br /&gt;
|1 (box)&lt;br /&gt;
|Construct&lt;br /&gt;
War Cry / 5&lt;br /&gt;
|[[The Mechanical Familiar]]&lt;br /&gt;
|Brotherhood of Bronze box&lt;br /&gt;
|-&lt;br /&gt;
|[[Meteor of the Ægis|Meteor of the Ægis 1]]&lt;br /&gt;
|40&lt;br /&gt;
| rowspan=&amp;quot;2&amp;quot; |4 (box)&lt;br /&gt;
|Brutish Charge&lt;br /&gt;
Flight&lt;br /&gt;
&lt;br /&gt;
Hard-Boiled&lt;br /&gt;
|&lt;br /&gt;
| rowspan=&amp;quot;2&amp;quot; |Meteors of the Ægis box&lt;br /&gt;
|-&lt;br /&gt;
|[[Meteor of the Ægis|Meteor of the Ægis 2]]&lt;br /&gt;
|40&lt;br /&gt;
|Disengagement / 4&lt;br /&gt;
Flight&lt;br /&gt;
&lt;br /&gt;
Hard-Boiled&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|[[Mountain Warrior]]&lt;br /&gt;
|159&lt;br /&gt;
|1 (box)&lt;br /&gt;
|Being of Destiny / 2&lt;br /&gt;
Born Killer&lt;br /&gt;
&lt;br /&gt;
Enormous&lt;br /&gt;
&lt;br /&gt;
Implacable / 2&lt;br /&gt;
&lt;br /&gt;
Master-Strike / 2&lt;br /&gt;
|[[Mountain Shield]]&lt;br /&gt;
[[Mountain Warriors]]&lt;br /&gt;
&lt;br /&gt;
[[The Giant's Vow]]&lt;br /&gt;
|Mountain Warrior box&lt;br /&gt;
|-&lt;br /&gt;
|[[Musician of the Plains]]&lt;br /&gt;
|15&lt;br /&gt;
|1 (box)&lt;br /&gt;
|Hard-Boiled&lt;br /&gt;
Leadership / 10&lt;br /&gt;
|&lt;br /&gt;
|War-Staff of the Plains box&lt;br /&gt;
|-&lt;br /&gt;
|[[Provost of Uren]]&lt;br /&gt;
|27&lt;br /&gt;
|1&lt;br /&gt;
|Faithful of Uren / 10&lt;br /&gt;
Hard-Boiled&lt;br /&gt;
&lt;br /&gt;
Possessed&lt;br /&gt;
&lt;br /&gt;
Warrior-Monk&lt;br /&gt;
|[[The Provosts of Uren]]&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|[[Soldier of the Plains|Soldier of the Plains 1]]&lt;br /&gt;
|11&lt;br /&gt;
|3&lt;br /&gt;
| rowspan=&amp;quot;4&amp;quot; |Hard-Boiled&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|[[Soldier of the Plains|Soldier of the Plains 2]]&lt;br /&gt;
|11&lt;br /&gt;
| rowspan=&amp;quot;3&amp;quot; |8 (box)&lt;br /&gt;
|&lt;br /&gt;
| rowspan=&amp;quot;3&amp;quot; |Soldiers of the Plains box&lt;br /&gt;
|-&lt;br /&gt;
|[[Soldier of the Plains|Soldier of the Plains 3]]&lt;br /&gt;
|11&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|[[Soldier of the Plains|Soldier of the Plains 4]]&lt;br /&gt;
|11&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|[[Standard Bearer of the Plains]]&lt;br /&gt;
|15&lt;br /&gt;
|1 (box)&lt;br /&gt;
|Hard-Boiled&lt;br /&gt;
Leadership / 10&lt;br /&gt;
|&lt;br /&gt;
|War-Staff of the Plains box&lt;br /&gt;
|-&lt;br /&gt;
|[[Steam Golem]]&lt;br /&gt;
|123&lt;br /&gt;
|1 (box)&lt;br /&gt;
|Bravery&lt;br /&gt;
Impact / 2&lt;br /&gt;
&lt;br /&gt;
Implacable / 1&lt;br /&gt;
&lt;br /&gt;
Inalterable&lt;br /&gt;
&lt;br /&gt;
Irrepressible&lt;br /&gt;
&lt;br /&gt;
''Very Large Size''&lt;br /&gt;
|[[The Steam Golems]]&lt;br /&gt;
|'''Unofficial/Banned'''&lt;br /&gt;
Legacy Miniatures&lt;br /&gt;
|-&lt;br /&gt;
|[[Thermo-Priest|Thermo-Priest 1]]&lt;br /&gt;
|39&lt;br /&gt;
|1&lt;br /&gt;
| rowspan=&amp;quot;2&amp;quot; |Initiate of Earth / Forge&lt;br /&gt;
Hard-Boiled&lt;br /&gt;
&lt;br /&gt;
Warrior-Mage&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|[[Thermo-Priest|Thermo-Priest 2]]&lt;br /&gt;
|39&lt;br /&gt;
|1&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|[[Thermo-Priest of Uren]]&lt;br /&gt;
|42&lt;br /&gt;
|No Model&lt;br /&gt;
|Initiate of Earth / Forge&lt;br /&gt;
Hard-Boiled&lt;br /&gt;
&lt;br /&gt;
Warrior-Mage&lt;br /&gt;
|&lt;br /&gt;
|[[Warriors of the Rag'Narok Card Pack|Warriors of the Rag'Narok card pack]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Thermo-Priest on Razorback]]&lt;br /&gt;
|65&lt;br /&gt;
|1&lt;br /&gt;
|Initiate of Earth / Forge&lt;br /&gt;
Hard-Boiled&lt;br /&gt;
&lt;br /&gt;
Warrior-Mage&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|[[Thermo-Warrior|Thermo-Warrior 1]]&lt;br /&gt;
|32&lt;br /&gt;
|2 (box)&lt;br /&gt;
| rowspan=&amp;quot;2&amp;quot; |Bravery&lt;br /&gt;
Brutal&lt;br /&gt;
&lt;br /&gt;
Hard-Boiled&lt;br /&gt;
|&lt;br /&gt;
|Brotherhood of Bronze box&lt;br /&gt;
|-&lt;br /&gt;
|[[Thermo-Warrior|Thermo-Warrior 2]]&lt;br /&gt;
|32&lt;br /&gt;
|3&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|[[Thermo-Warrior of Uren]]&lt;br /&gt;
|32&lt;br /&gt;
|2&lt;br /&gt;
|Bravery&lt;br /&gt;
&lt;br /&gt;
Brutal&lt;br /&gt;
&lt;br /&gt;
Hard-Boiled&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|[[Uren's Son]]&lt;br /&gt;
|69&lt;br /&gt;
|1&lt;br /&gt;
|Brutal&lt;br /&gt;
Hard-Boiled&lt;br /&gt;
&lt;br /&gt;
Master-Strike / 2&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|[[Veteran Forge Guardian]]&lt;br /&gt;
|19&lt;br /&gt;
|No Model&lt;br /&gt;
|Fanaticism&lt;br /&gt;
Hard-Boiled&lt;br /&gt;
|[[Fortress: Kar-An-Tyr|Kar-An-Tyr]]&lt;br /&gt;
|[[The Fortresses of Tir-Nâ-Bor|Fortresses of Tir-Nâ-Bor card pack]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Veteran of the Plains]]&lt;br /&gt;
|14&lt;br /&gt;
|3 (box)&lt;br /&gt;
|Counter-Attack&lt;br /&gt;
Hard-Boiled&lt;br /&gt;
|&lt;br /&gt;
|War-Staff of the Plains box&lt;br /&gt;
|-&lt;br /&gt;
|[[Young Dwarf on Razorback|Young Dwarf on Razorback 1]]&lt;br /&gt;
|19&lt;br /&gt;
|1&lt;br /&gt;
| rowspan=&amp;quot;3&amp;quot; |Hard-Boiled&lt;br /&gt;
War Fury&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|[[Young Dwarf on Razorback|Young Dwarf on Razorback 2]]&lt;br /&gt;
|19&lt;br /&gt;
|1&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|[[Young Dwarf on Razorback|Young Dwarf on Razorback 3]]&lt;br /&gt;
|19&lt;br /&gt;
|1&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
==[[Artifacts]]==&lt;br /&gt;
Artifacts that came with blisters that are not reserved&lt;br /&gt;
&lt;br /&gt;
[[Gladius of Alphax]]&lt;br /&gt;
&lt;br /&gt;
[[Glaive of Alphax]]&lt;br /&gt;
&lt;br /&gt;
[[Healing Serum]]&lt;br /&gt;
&lt;br /&gt;
[[Potion of Hyffaid]]&lt;br /&gt;
&lt;br /&gt;
[[Pressure Regulator]]&lt;br /&gt;
&lt;br /&gt;
[[Scepter of Authority of Uren]]&lt;br /&gt;
&lt;br /&gt;
[[Scimitar of Alphax Major]]&lt;br /&gt;
&lt;br /&gt;
[[Telluric Weapon]]&lt;br /&gt;
&lt;br /&gt;
[[The Fusion Hammer]]&lt;br /&gt;
&lt;br /&gt;
[[The Horn of the Plains]]&lt;br /&gt;
&lt;br /&gt;
==[[Miracles]]==&lt;br /&gt;
Miracles that came with blisters that are not reserved&lt;br /&gt;
&lt;br /&gt;
[[Abnegation]]&lt;br /&gt;
&lt;br /&gt;
[[Irrepressible Obstinacy]]&lt;br /&gt;
&lt;br /&gt;
[[Moving Mountains]]&lt;br /&gt;
&lt;br /&gt;
[[Odnir's Forge]]&lt;br /&gt;
&lt;br /&gt;
[[Uren's Protection]]&lt;br /&gt;
&lt;br /&gt;
[[Weapon of the Ægis]]&lt;br /&gt;
&lt;br /&gt;
==[[Spells]]==&lt;br /&gt;
Spells that came with blisters that are not reserved&lt;br /&gt;
&lt;br /&gt;
[[Alchemical Petrification]]&lt;br /&gt;
&lt;br /&gt;
[[Control Over Matter]]&lt;br /&gt;
&lt;br /&gt;
[[Crash Concentrate]]&lt;br /&gt;
&lt;br /&gt;
[[Crystalline Illusion]]&lt;br /&gt;
&lt;br /&gt;
[[Elixir of Savagery]]&lt;br /&gt;
&lt;br /&gt;
[[Giant's Blood Serum]]&lt;br /&gt;
&lt;br /&gt;
[[Intuition]]&lt;br /&gt;
&lt;br /&gt;
[[Khor Catalyzer]]&lt;br /&gt;
&lt;br /&gt;
[[Mechanical Frenzy]]&lt;br /&gt;
&lt;br /&gt;
[[Petrification Resin]]&lt;br /&gt;
&lt;br /&gt;
[[Pressure Transfer]]&lt;br /&gt;
&lt;br /&gt;
[[Selective Compression]]&lt;br /&gt;
&lt;br /&gt;
[[Spray of Steam]]&lt;br /&gt;
&lt;br /&gt;
[[Telluric Angel]]&lt;br /&gt;
&lt;br /&gt;
[[Telluric Premonition]]&lt;br /&gt;
&lt;br /&gt;
[[The Diamond's Soul]]&lt;br /&gt;
&lt;br /&gt;
[[The Giant's Heart]]&lt;br /&gt;
&lt;br /&gt;
[[Thermo-Acceleration]]&lt;br /&gt;
&lt;br /&gt;
[[Thermo-Boost]]&lt;br /&gt;
&lt;br /&gt;
[[Thermo-Compression]]&lt;br /&gt;
&lt;br /&gt;
[[Thermo-Destruction]]&lt;br /&gt;
&lt;br /&gt;
==[[Experience Cards]]==&lt;br /&gt;
Experience cards that came with blisters for Confrontation 2nd edition&lt;br /&gt;
&lt;br /&gt;
[[Decompression]]&lt;br /&gt;
&lt;br /&gt;
[[Geyser]]&lt;br /&gt;
&lt;br /&gt;
[[Mastery of Steam]]&lt;br /&gt;
&lt;br /&gt;
[[Rite of Initiation]]&lt;br /&gt;
&lt;br /&gt;
[[Scalding Stream]]&lt;br /&gt;
&lt;br /&gt;
[[The Dragon's Flame]]&lt;br /&gt;
&lt;br /&gt;
[[The Hunter's Soul]]&lt;br /&gt;
&lt;br /&gt;
[[The Strike of Steel]]&lt;br /&gt;
&lt;br /&gt;
[[Wall of the Resolute]]&lt;br /&gt;
&lt;br /&gt;
==[[Scenario Cards]]==&lt;br /&gt;
Campaigns and adventures that came with blisters for Confrontation 2nd edition&lt;br /&gt;
&lt;br /&gt;
[[In My Father's Memory]]&lt;br /&gt;
&lt;br /&gt;
[[The Adventures of Nerak]]&lt;br /&gt;
&lt;br /&gt;
[[The Odyssey of Fenggar]]&lt;br /&gt;
&lt;br /&gt;
[[Soul of the Titan]]&lt;br /&gt;
&lt;br /&gt;
== Trivia==&lt;br /&gt;
&lt;br /&gt;
* Interesting note about X&lt;br /&gt;
&lt;br /&gt;
== See Also ==&lt;br /&gt;
[[Tir-Nâ-Bor Army Analysis]]&lt;/div&gt;</summary>
		<author><name>Colt</name></author>
	</entry>
	<entry>
		<id>https://confrontation.wiki/index.php?title=Dice_Pips&amp;diff=15307</id>
		<title>Dice Pips</title>
		<link rel="alternate" type="text/html" href="https://confrontation.wiki/index.php?title=Dice_Pips&amp;diff=15307"/>
		<updated>2022-10-17T23:07:31Z</updated>

		<summary type="html">&lt;p&gt;Colt: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:rackham_d6_1.png|20px]] (1)    &amp;lt;nowiki&amp;gt;[[File:rackham_d6_1.png|20px]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:rackham_d6_2.png|20px]] (2)&lt;br /&gt;
&lt;br /&gt;
[[File:rackham_d6_3.png|20px]] (3)&lt;br /&gt;
&lt;br /&gt;
[[File:rackham_d6_4.png|20px]] (4)&lt;br /&gt;
&lt;br /&gt;
[[File:rackham_d6_5.png|20px]] (5)&lt;br /&gt;
&lt;br /&gt;
[[File:rackham_d6_6.png|20px]] (6)&lt;br /&gt;
&lt;br /&gt;
[[Category:Templates]]&lt;br /&gt;
&lt;br /&gt;
[[File:managem_darkness.png|20px]] Darkness &lt;br /&gt;
&lt;br /&gt;
[[File:managem_light.png|20px]] Light&lt;br /&gt;
&lt;br /&gt;
[[File:managem_water.png|20px]] Water&lt;br /&gt;
&lt;br /&gt;
[[File:managem_earth.png|20px]] Earth&lt;br /&gt;
&lt;br /&gt;
[[File:managem_fire.png|20px]] Fire&lt;br /&gt;
&lt;br /&gt;
[[File:managem_air.png|20px]] Air&lt;br /&gt;
&lt;br /&gt;
[[File:managem_neutral.png|20px]] Neutral&lt;/div&gt;</summary>
		<author><name>Colt</name></author>
	</entry>
	<entry>
		<id>https://confrontation.wiki/index.php?title=Donate&amp;diff=14981</id>
		<title>Donate</title>
		<link rel="alternate" type="text/html" href="https://confrontation.wiki/index.php?title=Donate&amp;diff=14981"/>
		<updated>2022-10-13T17:30:47Z</updated>

		<summary type="html">&lt;p&gt;Colt: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:donate.png|thumb|Support the Wiki!|right]]This page is set up to provide a way for users and visitors to donate to the efforts of the wiki, its proprietor and editors.&lt;br /&gt;
&lt;br /&gt;
Your precious donations will be used to face the multiples costs attached to the creation, maintenance and upgrades of the Wiki, including but not limited to server, domain and miscellaneous costs.&lt;br /&gt;
&lt;br /&gt;
[[User:Colt|Colt]]&lt;br /&gt;
&lt;br /&gt;
[[User:Gregoire Boisbelaud|Gregoire Boisbelaud]]&lt;br /&gt;
&lt;br /&gt;
[[User:Krillion the librarian|Krillion the librarian]]&lt;br /&gt;
&lt;br /&gt;
[[User:Mikes|Mikes]]&lt;br /&gt;
&lt;br /&gt;
[[User:Schismatic|Schismatic]]&lt;br /&gt;
&lt;br /&gt;
[[User:Shino|Shino]]&lt;br /&gt;
&lt;br /&gt;
[[User:Sweet|Sweet]]&lt;br /&gt;
&lt;br /&gt;
[[User:Thorgrimr77|Thorgrimr77]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;3&lt;/div&gt;</summary>
		<author><name>Colt</name></author>
	</entry>
	<entry>
		<id>https://confrontation.wiki/index.php?title=File:Donate.png&amp;diff=14873</id>
		<title>File:Donate.png</title>
		<link rel="alternate" type="text/html" href="https://confrontation.wiki/index.php?title=File:Donate.png&amp;diff=14873"/>
		<updated>2022-10-03T03:48:40Z</updated>

		<summary type="html">&lt;p&gt;Colt: Protected &amp;quot;File:Donate.png&amp;quot; ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite) [Upload=Allow only administrators] (indefinite))&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Colt</name></author>
	</entry>
	<entry>
		<id>https://confrontation.wiki/index.php?title=Scroll_of_Lightning&amp;diff=14870</id>
		<title>Scroll of Lightning</title>
		<link rel="alternate" type="text/html" href="https://confrontation.wiki/index.php?title=Scroll_of_Lightning&amp;diff=14870"/>
		<updated>2022-10-02T17:55:26Z</updated>

		<summary type="html">&lt;p&gt;Colt: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Spells]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Goblins of No-Dan-Kar]]&lt;br /&gt;
[[File:card_goblin_scrolloflightning.jpg|thumb|Scroll of Lightning]]&lt;br /&gt;
&lt;br /&gt;
''Gidzzit's own name comes from the crackling that the Incantation of this spell makes.''&lt;br /&gt;
&lt;br /&gt;
''To cast this spell, Gidzzit must carve the Lightning symbol on a specially prepared scroll. Alas, once the Lightning is cast, the scroll is consumed and becomes useless. Gidzzit therefore takes along with him a rather large amount of scrolls for each battle, and prays that it does not rain… For a long time now, the Sorcerer has been looking for a way of making an infinitely reusable scroll. It is said that an Orc Shaman has suggested that he tattoos the Lightning symbol on his body, but Gidzzit does not want to take such a great risk…and the Goblins willing to volunteer to experiment such a process do not come in numbers.''&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;float:left&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;toccolours mw-collapsible mw-collapsed&amp;quot;&amp;gt;&lt;br /&gt;
'''Scroll of Lightning Original Spell Text'''&lt;br /&gt;
&amp;lt;div class=&amp;quot;mw-collapsible-content&amp;quot;&amp;gt;The target of the Scroll of Lightning suffers a Wound of a Strength equal to the difficulty chosen for this spell.&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Confrontation 3 Revision==&lt;br /&gt;
&lt;br /&gt;
'''3 Air''' [[File:managem_air.png|20px]]&lt;br /&gt;
&lt;br /&gt;
'''Path''': Reserved to [[Gidzzit the Bell-Ringer|Gidzzit]]&lt;br /&gt;
&lt;br /&gt;
'''Range''': 25 cm&lt;br /&gt;
&lt;br /&gt;
'''Difficulty''': Free&lt;br /&gt;
&lt;br /&gt;
'''Duration''': Instantaneous&lt;br /&gt;
&lt;br /&gt;
'''Area of Effect''': One enemy fighter&lt;br /&gt;
&lt;br /&gt;
'''Frequency''': 2&lt;br /&gt;
&lt;br /&gt;
'''Intensity''': 0&lt;br /&gt;
&lt;br /&gt;
'''A.P.''': 13&lt;br /&gt;
&lt;br /&gt;
The target suffers a Damage roll with a STR equal to the difficulty set for this spell –2.&lt;br /&gt;
&lt;br /&gt;
Scroll of Lightning is reserved to Gidzzit.&lt;/div&gt;</summary>
		<author><name>Colt</name></author>
	</entry>
	<entry>
		<id>https://confrontation.wiki/index.php?title=User:Colt&amp;diff=14668</id>
		<title>User:Colt</title>
		<link rel="alternate" type="text/html" href="https://confrontation.wiki/index.php?title=User:Colt&amp;diff=14668"/>
		<updated>2022-09-21T21:32:09Z</updated>

		<summary type="html">&lt;p&gt;Colt: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:donate.png|thumb|Support the Wiki!|right]]&lt;br /&gt;
&lt;br /&gt;
'''Confrontation Wiki''' - Administrator/Owner &lt;br /&gt;
&lt;br /&gt;
[http://discord.confrontation.wiki '''Confrontation Discord'''] - Administrator/Owner&lt;br /&gt;
&lt;br /&gt;
[https://arcanewaters.com '''Arcane Waters'''] - Developer &amp;amp; Community Manager&lt;br /&gt;
&lt;br /&gt;
[http://Wtfcolt.com '''wtfcolt.com''' - Personal Site]&lt;br /&gt;
&lt;br /&gt;
'''[http://TheReckless.net TheReckless.net]''' - Adult gaming discord community with free servers to play on. Gaming server rates usually bumped up to cater to people with jobs, lives, kids, etc. Join us!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Colt#0001 on Discord&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I do a lot of testing here on this page. If you happen see weird stuff, that's why. Or maybe you're just drunk. I don't judge.&lt;/div&gt;</summary>
		<author><name>Colt</name></author>
	</entry>
	<entry>
		<id>https://confrontation.wiki/index.php?title=User:Colt&amp;diff=14657</id>
		<title>User:Colt</title>
		<link rel="alternate" type="text/html" href="https://confrontation.wiki/index.php?title=User:Colt&amp;diff=14657"/>
		<updated>2022-09-20T23:58:47Z</updated>

		<summary type="html">&lt;p&gt;Colt: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:donate.png|thumb|Support the Wiki!|right]]&lt;br /&gt;
&lt;br /&gt;
'''Confrontation Wiki''' - Administrator/Owner &lt;br /&gt;
&lt;br /&gt;
[http://discord.confrontation.wiki '''Confrontation Discord'''] - Administrator/Owner&lt;br /&gt;
&lt;br /&gt;
[https://arcanewaters.com '''Arcane Waters'''] - Developer &amp;amp; Community Manager&lt;br /&gt;
&lt;br /&gt;
[http://Wtfcolt.com '''wtfcolt.com''' - Personal Site]&lt;br /&gt;
&lt;br /&gt;
'''[http://TheReckless.net TheReckless.net]''' - Adult gaming discord community with free servers to play on. Gaming server progress rates usually bumped up to cater to people with jobs, lives, kids, etc. Join us!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Colt#0001 on Discord&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I do a lot of testing here on this page. If you happen see weird stuff, that's why. Or maybe you're just drunk. I don't judge.&lt;/div&gt;</summary>
		<author><name>Colt</name></author>
	</entry>
	<entry>
		<id>https://confrontation.wiki/index.php?title=User:Colt&amp;diff=14656</id>
		<title>User:Colt</title>
		<link rel="alternate" type="text/html" href="https://confrontation.wiki/index.php?title=User:Colt&amp;diff=14656"/>
		<updated>2022-09-20T23:57:47Z</updated>

		<summary type="html">&lt;p&gt;Colt: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:donate.png|thumb|Support the Wiki!|right]]&lt;br /&gt;
&lt;br /&gt;
'''Confrontation Wiki''' - Administrator/Owner &lt;br /&gt;
&lt;br /&gt;
[http://discord.confrontation.wiki '''Confrontation Discord'''] - Administrator/Owner&lt;br /&gt;
&lt;br /&gt;
[https://arcanewaters.com '''Arcane Waters'''] - Developer &amp;amp; Community Manager&lt;br /&gt;
&lt;br /&gt;
[http://Wtfcolt.com '''wtfcolt.com''' - Personal Site]&lt;br /&gt;
&lt;br /&gt;
'''[http://TheReckless.net TheReckless.net]''' - Adult gaming community with free servers to play on. Join us!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Colt#0001 on Discord&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I do a lot of testing here on this page. If you happen see weird stuff, that's why. Or maybe you're just drunk. I don't judge.&lt;/div&gt;</summary>
		<author><name>Colt</name></author>
	</entry>
	<entry>
		<id>https://confrontation.wiki/index.php?title=User:Colt&amp;diff=14655</id>
		<title>User:Colt</title>
		<link rel="alternate" type="text/html" href="https://confrontation.wiki/index.php?title=User:Colt&amp;diff=14655"/>
		<updated>2022-09-20T23:56:58Z</updated>

		<summary type="html">&lt;p&gt;Colt: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:donate.png|thumb|Support the Wiki!|right]]&lt;br /&gt;
&lt;br /&gt;
'''Confrontation Wiki''' - Administrator/Owner &lt;br /&gt;
&lt;br /&gt;
[http://discord.confrontation.wiki '''Confrontation Discord'''] - Administrator/Owner&lt;br /&gt;
&lt;br /&gt;
[https://arcanewaters.com '''Arcane Waters'''] - Developer &amp;amp; Community Manager&lt;br /&gt;
&lt;br /&gt;
[http://Wtfcolt.com '''wtfcolt.com''' - Personal Site]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Colt#0001 on Discord&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I do a lot of testing here on this page. If you happen see weird stuff, that's why. Or maybe you're just drunk. I don't judge.&lt;/div&gt;</summary>
		<author><name>Colt</name></author>
	</entry>
	<entry>
		<id>https://confrontation.wiki/index.php?title=User:Colt&amp;diff=14654</id>
		<title>User:Colt</title>
		<link rel="alternate" type="text/html" href="https://confrontation.wiki/index.php?title=User:Colt&amp;diff=14654"/>
		<updated>2022-09-20T23:56:18Z</updated>

		<summary type="html">&lt;p&gt;Colt: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:donate.png|thumb|Support the Wiki!|right]]&lt;br /&gt;
&lt;br /&gt;
Confrontation Wiki Administrator/Owner &lt;br /&gt;
[http://discord.confrontation.wiki Confrontation Discord] Administrator/Owner&lt;br /&gt;
&lt;br /&gt;
[https://arcanewaters.com Arcane Waters] Developer &amp;amp; Community Manager&lt;br /&gt;
&lt;br /&gt;
[http://Wtfcolt.com wtfcolt.com - Personal Site]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Colt#0001 on Discord&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I do a lot of testing here on this page. If you happen see weird stuff, that's why. Or maybe you're just drunk. I don't judge.&lt;/div&gt;</summary>
		<author><name>Colt</name></author>
	</entry>
	<entry>
		<id>https://confrontation.wiki/index.php?title=User:Colt&amp;diff=14653</id>
		<title>User:Colt</title>
		<link rel="alternate" type="text/html" href="https://confrontation.wiki/index.php?title=User:Colt&amp;diff=14653"/>
		<updated>2022-09-20T23:55:15Z</updated>

		<summary type="html">&lt;p&gt;Colt: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:donate.png|thumb|Support the Wiki!|right]]&lt;br /&gt;
&lt;br /&gt;
Confrontation Wiki &amp;amp; Discord Administrator/Owner &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[https://arcanewaters.com Arcane Waters] Developer &amp;amp; Community Manager&lt;br /&gt;
&lt;br /&gt;
[http://Wtfcolt.com wtfcolt.com - Personal Site]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Colt#0001 on Discord&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I do a lot of testing here on this page. If you happen see weird stuff, that's why. Or maybe you're just drunk. I don't judge.&lt;/div&gt;</summary>
		<author><name>Colt</name></author>
	</entry>
	<entry>
		<id>https://confrontation.wiki/index.php?title=User:Colt&amp;diff=14652</id>
		<title>User:Colt</title>
		<link rel="alternate" type="text/html" href="https://confrontation.wiki/index.php?title=User:Colt&amp;diff=14652"/>
		<updated>2022-09-20T23:53:15Z</updated>

		<summary type="html">&lt;p&gt;Colt: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[http://Wtfcolt.com wtfcolt.com]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Confrontation Wiki &amp;amp; Discord Administrator/Owner &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Colt#0001 on Discord&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I do a lot of testing here on this page. If you happen see weird stuff, that's why. Or maybe you're just drunk. I don't judge.&lt;/div&gt;</summary>
		<author><name>Colt</name></author>
	</entry>
	<entry>
		<id>https://confrontation.wiki/index.php?title=File:Donate.png&amp;diff=14359</id>
		<title>File:Donate.png</title>
		<link rel="alternate" type="text/html" href="https://confrontation.wiki/index.php?title=File:Donate.png&amp;diff=14359"/>
		<updated>2022-09-17T17:39:29Z</updated>

		<summary type="html">&lt;p&gt;Colt: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Colt</name></author>
	</entry>
	<entry>
		<id>https://confrontation.wiki/index.php?title=Main_Page&amp;diff=14358</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://confrontation.wiki/index.php?title=Main_Page&amp;diff=14358"/>
		<updated>2022-09-17T17:39:10Z</updated>

		<summary type="html">&lt;p&gt;Colt: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:donate.png|thumb|Support the Wiki!|right]]&lt;br /&gt;
Confrontation is a skirmish level tactical fantasy miniature wargaming in which the combatants are represented by metal or plastic figures in 28 mm scale. The game is set in [[Aarklash]], a world of medieval fantasy where knights, wizards, priests and barbarians fight each other as well as fantastic creatures such as wolfen, elves, orcs, goblins, and the undead. The entire world is at war and all are fighting for the supremacy of the continent. &lt;br /&gt;
&lt;br /&gt;
==[[:Category:Armies|Armies]]==&lt;br /&gt;
Confrontation's army list consists of [[:Category:Ways of Light|Ways of Light]], [[:Category:Meanders of Darkness|Meanders of Darkness]], [[:Category:Paths of Destiny|Paths of Destiny]], as well as [[Immortals, Elementals &amp;amp; Familiars|Familiars]], [[Independents, Mercenaries &amp;amp; Stateless|Mercenaries]], and various other types of units with a wide range of [[spells]], [[:Category:Miracles|miracles]], and [[:Category:Abilities|abilities]].&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align: center;&lt;br /&gt;
!colspan=&amp;quot;5&amp;quot;|Factions List&lt;br /&gt;
|-&lt;br /&gt;
|[[File:Army_art_square_AkkyshanElves.png|frameless|center|100px|link=Akkyshan Elves]][[Akkyshan Elves]]&lt;br /&gt;
|[[File:Army_art_square_AlchemistsofDirz2.png|frameless|center|100px|link=Alchemists of Dirz]][[Alchemists of Dirz]]&lt;br /&gt;
|[[File:army_art_square_ConcordoftheEagle.png|frameless|center|100px|link=Concord of the Eagle]][[Concord of the Eagle]]&lt;br /&gt;
|[[File:army_art_square_CynwallElves.png|frameless|center|100px|link=Cynwall Elves]][[Cynwäll Elves]]&lt;br /&gt;
|[[File:army_art_square_DaikineeElves.png|frameless|center|100px|link=Daikinee Elves]][[Daïkinee Elves]]&lt;br /&gt;
|-&lt;br /&gt;
|[[File:army_art_square_DevourersofVile-Tis.png|frameless|center|100px|link=Devourers of Vile-Tis]][[Devourers of Vile-Tis]]&lt;br /&gt;
|[[File:army_art_square_DwarvesofMid-Nor.png|frameless|center|100px|link=Dwarves of Mid-Nor]][[Dwarves of Mid-Nor]]&lt;br /&gt;
|[[File:army_art_square_DwarvesofTir-Na-Bor.png|frameless|center|100px|link=Dwarves of Tir-Na-Bor]][[Dwarves of Tir-Nâ-Bor]]&lt;br /&gt;
|[[File:army_art_square_Elementals&amp;amp;Familiars.png|frameless|center|100px|link=Immortals, Elementals &amp;amp; Familiars]][[Immortals, Elementals &amp;amp; Familiars]]&lt;br /&gt;
|[[File:army_art_square_GoblinsofNo-Dan-Kar.png|frameless|center|100px|link=Goblins of No-Dan-Kar]][[Goblins of No-Dan-Kar]]&lt;br /&gt;
|-&lt;br /&gt;
|[[File:Army_art_square_AkkylannieGriffins.png|frameless|center|100px|link=Griffins of Akkylannie]][[Griffins of Akkylannie|Griffins of Akkylannie]]&lt;br /&gt;
|[[File:army_art_square_ImmobilisofCadwallon.png|frameless|center|100px|link=Immobilis of Cadwallon]][[Immobilis of Cadwallon]]&lt;br /&gt;
|[[File:army_art_square_KeltsoftheDruneClan.png|frameless|center|100px|link=Kelts of the Drune Clan]][[Kelts of the Drune Clan]]&lt;br /&gt;
|[[File:army_art_square_KeltsoftheSessairClan.png|frameless|center|100px|link=Kelts of the Sessair Clan]][[Kelts of the Sessair Clan]]&lt;br /&gt;
|[[File:army_art_square_LimboofAcheron.png|frameless|center|100px|link=Limbo of Acheron]][[Limbo of Acheron]]&lt;br /&gt;
|-&lt;br /&gt;
|[[File:army_art_square_LionsofAlahan.png|frameless|center|100px|link=Lions of Alahan]][[Lions of Alahan]]&lt;br /&gt;
|[[File:army_art_square_Mercenaries&amp;amp;Stateless.png|frameless|center|100px|link=Independents, Mercenaries &amp;amp; Stateless]][[Independents, Mercenaries &amp;amp; Stateless]]&lt;br /&gt;
|[[File:army_art_square_OphidianAlliance.png|frameless|center|100px|link=Ophidian Alliance]][[Ophidian Alliance]]&lt;br /&gt;
|[[File:army_art_square_OrcsofBehemoth.png|frameless|center|100px|link=Orcs of Behemoth]][[Orcs of Behemoth]]&lt;br /&gt;
|[[File:army_art_square_OrcsofBran-O-Kor.png|frameless|center|100px|link=Orcs of Bran-O-Kor]][[Orcs of Bran-Ô-Kor]]&lt;br /&gt;
|-&lt;br /&gt;
|[[File:army_art_square_UrakenGoblins.png|frameless|center|100px|link=Uraken Goblins]][https://confrontation.wiki/index.php/Goblins_of_No-Dan-Kar_%26_%C3%9Braken#.C3.9Braken_and_Yak.C3.BBsa_Units Ûraken Goblins]&lt;br /&gt;
|[[File:army_art_square_UtopiaofSphinx.png|frameless|center|100px|link=Utopia of Sphinx]][[Utopia of Sphinx]]&lt;br /&gt;
|[[File:army_art_square_WolfenofYllia.png|frameless|center|100px|link=Wolfen of Yllia]][[Wolfen of Yllia]]&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Rules &amp;amp; Supplements==&lt;br /&gt;
[[Rules]]&lt;br /&gt;
&lt;br /&gt;
[[Cry Havoc]]&lt;br /&gt;
&lt;br /&gt;
[[Dogs of War]]&lt;br /&gt;
&lt;br /&gt;
[[Hybrid Board Game|Hybrid &amp;amp; Nemesis]]&lt;br /&gt;
&lt;br /&gt;
[[:File:Published Catalog.xlsx.zip|Card &amp;amp; Language DB]]&lt;br /&gt;
&lt;br /&gt;
==Users==&lt;br /&gt;
[https://confrontation.wiki/index.php/User Wiki Users]&lt;br /&gt;
&lt;br /&gt;
==Communities==&lt;br /&gt;
[https://discord.gg/H5EUFkR Confrontation Discord (EN)]&lt;br /&gt;
&lt;br /&gt;
[https://discord.gg/t6tg2ThpuQ Confrontation Discord (FR)]&lt;br /&gt;
&lt;br /&gt;
[http://reddit.com/r/confrontation Confrontation Subreddit]&lt;/div&gt;</summary>
		<author><name>Colt</name></author>
	</entry>
	<entry>
		<id>https://confrontation.wiki/index.php?title=Concord_of_the_Eagle&amp;diff=14357</id>
		<title>Concord of the Eagle</title>
		<link rel="alternate" type="text/html" href="https://confrontation.wiki/index.php?title=Concord_of_the_Eagle&amp;diff=14357"/>
		<updated>2022-09-17T17:37:51Z</updated>

		<summary type="html">&lt;p&gt;Colt: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Armies]]&lt;br /&gt;
[[Category:Paths of Destiny]]&lt;br /&gt;
[[File:emblem_eagle.png|thumb|Concord of the Eagle|right]]&lt;br /&gt;
Introduction&lt;br /&gt;
&lt;br /&gt;
== Lore ==&lt;br /&gt;
The story of the Concord of the Eagle begins on the western shores of Aarklash, when the men from Kel came ashore near Kel-An-Tiraidh. The ogmanan giants and the centaurs, worshippers of the earth goddess Danu and the solar god Lahn, greeted these strangers and offered them shelter, on one unique condition: that they worship Danu. The people of&lt;br /&gt;
Kel, forced to exile by the manipulations of the gods of its homeland, categorically refused. A terrible war began, which ended only when the goddess Danu herself, unfaithful to her celestial husband, united with Cernunnos, then prince of Kel, and gave him three daughters. Centaurs, ogmanans and humans then formed one peaceful nation.&lt;br /&gt;
Lahn gave in to jealousy and became the sinister Scatach, the Shadowy, and in turned charmed the impetuous prince. The fruit of their union was Agoth, the first formor, an extremely evil being. Cernunnos, caught off guard, fled to never be seen again. A handful of his followers left to find him, cursing the gods and their manipulations again.&lt;br /&gt;
From that schism were born two cultures, still enemies to this day: the Sessairs, worshippers of Danu and Light, and the Drunes, worshippers of Cernunnos and Darkness.&lt;br /&gt;
Soon, the races present on Aarklash before the coming of men witnessed the expansion of the Sessairs throughout the Avagddu plains and the first massacres committed by the dark Drunes.&lt;br /&gt;
&lt;br /&gt;
THE WARRIORS OF FHE BLACK MOUNTAIN&lt;br /&gt;
&lt;br /&gt;
Only one race dared stand against the growing menace: the minotaurs. The minotaurs had, in immemorial times, been given a prophecy which announced the coming of the humans and the age of steel which was to follow. This prediction had been given to them by Thunder-eagle, the messenger from the Faathi which composed the trinity of Destiny.&lt;br /&gt;
Alas, the struggle of the minotaurs was in vain. The bloody battles fought in the name of Destiny were not enough to contain the expansion of the humans. The minotaur archons, guardians of balance, then called upon the other races of Aarklash to join them in their hopeless mission... in vain. No one wanted to believe that the humans, split between Darkness and Light and so quick in destroying themselves, could prosper to the point of putting Destiny in danger.&lt;br /&gt;
The minotaurs, decimated by years of fighting, admitted their defeat and spread across Aarklash. Most mingled with the Kelts, whose emblem they soon became. Others, under the cover of being mercenaries, gave themselves up to the whims of Destiny.&lt;br /&gt;
The minotaur archons followed Thunder-eagle to the Black mountain, cradle of their race. There they invoked Abhardin, Asura and Nyris, oracles of the Faathi, and left for the Realm of Shenroth in a gigantic fortress floating through the air.&lt;br /&gt;
&lt;br /&gt;
THE RETURN OF THE FAATHI&lt;br /&gt;
&lt;br /&gt;
The centuries passed, witness to the unstoppable human expansion. The kelt tribes conquered Avagddu and gave birth to new nations bound to Light and Darkness: the Lions of Alahan, the Griffons of Akkylania, the Limbo of Acheron and the Alchemists of Dirz. The Paths of Destiny could do nothing against the humans and left their land on which empires and kingdoms were built. Everywhere, Light and Darkness imposed their rule.&lt;br /&gt;
Many warlords of Destiny, inspired by the faithful, now remember the prophecy of the Eagle and agree that the wars of humanity have sown discord and started the Rag’narok.&lt;br /&gt;
Elves, dwarves, ogres, orcs, trolls and Wolfen, along with centaurs and giants from the Horde of Murgan and a handful of goblins who have rebelled against the authority of their emperor, have gathered around the minotaurs. They have led them, in turn, to the Black mountain, north of Bran-O-Kor. There, on the Eagle’s plateau, they have fulfilled the ritual of Destiny and opened Shenroth’s portal, freeing the Thunder-eagle and the immortal army of the Faathi.&lt;br /&gt;
&lt;br /&gt;
THE CONCORD OF THE EAGLE&lt;br /&gt;
&lt;br /&gt;
The Concord of the Eagle regroups warriors of Destiny who intend to keep humanity from consuming Aarklash. These warriors are willing to do anything to restore the elemental balance. Their army comes from both Aarklash and Shenroth.&lt;br /&gt;
Relations between these two communities are handled by the minotaurs, who have prospered on both sides of the portal of the Black mountain. The archons have good relations with their descendants born on Aarklash.&lt;br /&gt;
&lt;br /&gt;
THE EAGLE OF AARKLASH&lt;br /&gt;
&lt;br /&gt;
The warriors native to Aarklash have decided to put aside their differences in the name of a common cause. Some, like the dwarves or the Wolfen, come from races who were there before the coming of man. Others, like the orcs, have appeared as the ages went by. Yet others, like the centaurs and the ogmanan giants, have seen their culture absorbed or destroyed by human civilization and see in the Concord of the Eagle a way to avenge their ancestors.&lt;br /&gt;
Under the tutoring of the archons and the oracles of the Faathi, the warriors of the Eagle have learned shen, the language of Shenroth, to communicate efficiently before and during the battle.&lt;br /&gt;
The Concord is led by a war staff composed of Asthenas, a centaur knight raised following Dracynran traditions, Norrstrom, a mountain giant from Naél-Tarn, Khulrtin, rebel raik from the Sarkai tribe, and Gurath, the minotaur, Hurricane of the Black mountain. These warlords regularly meet with Velkanos, leader of the Horde of Murgan, but are never able to convince him to join them for good.&lt;br /&gt;
&lt;br /&gt;
THE EAGLE OF SHENROTH&lt;br /&gt;
&lt;br /&gt;
The army from Shenroth is much smaller, but just as varied as the one from Aarklash. It is composed of Immortals united under the authority of three beings of great power: the Thunder-eagle and his two oracles, Abhartin and Nyris. The minotaur archons form the personal guard of these princes from Shenroth and loyally serve the cause of the Faathi.&lt;br /&gt;
Since the beginning of the Rag’narok, the balance of natural forces is in peril. As time went by, the army of Shenroth has rallied many elemental beings from ; conquered or devastated Realms. These past few years, their number has kept increasing.&lt;br /&gt;
Shenroth is a suspended world made up of many small “isles” of various sizes floating in a sky of everchanging colors. The flying lands of Shenroth are linked to one another by elemental portals which look like vortexes. The army of the Faathi has always moved about Shenroth by use of Abharin ‘s flying fortress.&lt;br /&gt;
&lt;br /&gt;
FIRST BATTLES&lt;br /&gt;
&lt;br /&gt;
The flight of the Thunder-eagle has announced the Concord’s entrance into the war. The armies of the Faathi are already engaged in a great battle against the Possessed of the Abyss who infest the areas near Fom-Nur and the Red oak forest. Abhartin’s legion, flying over Bran-O-Kor, has annihilated many Akkylannian outposts and is heading to the south to give a hand to the Thunder riders against the Syharhalnian army.&lt;br /&gt;
&lt;br /&gt;
THE FALLEN ORACLE&lt;br /&gt;
&lt;br /&gt;
Centuries of fighting have not spared the army of Shenroth. It has lost one of its oracles, Asura, during a war in the dark Realm of Phobos. Left for dead on the battlefield, Asura lost his reason and the temptations of the power of Darkness submerged him. He returned to Aarklash when the archimage Kaïan Draghost opened the portal to Phobos. Asura then became Asura of Sarlath, Father of one of the dark houses of Acheron.&lt;br /&gt;
The fallen oracle has sensed the presence of his brothers (and vice-versa) during the ritual of Destiny. The flying fortress of the house of Sarlath, recently torn from the ground of Acheron (see Cry Havok 06) will eventually cross paths with Abharûn’s. The resulting battle will be terrible !&lt;br /&gt;
&lt;br /&gt;
== Faction Overview ==&lt;br /&gt;
Overview of Concord of the Eagle&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;Advantages&amp;lt;/u&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Blah&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;Weaknesses&amp;lt;/u&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Blah&lt;br /&gt;
&lt;br /&gt;
== Units ==&lt;br /&gt;
This army has some units. General overview of units. Yada yada.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Cry Havoc|Cry Havoc 10]] additional units.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Playing the Concord of the Eagle]]&lt;br /&gt;
&lt;br /&gt;
=== Characters ===&lt;br /&gt;
Something something.&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
!Unit&lt;br /&gt;
!Base Points&lt;br /&gt;
!Type&lt;br /&gt;
![[Rank]]&lt;br /&gt;
!Abilities&lt;br /&gt;
!Capacities&lt;br /&gt;
!Notes&lt;br /&gt;
|-&lt;br /&gt;
|[[Asthenas, Centaur Knight]]&lt;br /&gt;
|135&lt;br /&gt;
|Warrior&lt;br /&gt;
|Eagle Elite Champion&lt;br /&gt;
|Resolution / 2&lt;br /&gt;
Brutish Charge&lt;br /&gt;
&lt;br /&gt;
Leadership / 15&lt;br /&gt;
&lt;br /&gt;
Charging Strength / 15&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;7&amp;quot; |Units from Cry Havoc 10&lt;br /&gt;
|-&lt;br /&gt;
|[[Centaur Elite Champion of the Eagle]]&lt;br /&gt;
|148&lt;br /&gt;
|Warrior&lt;br /&gt;
|Eagle Elite Champion&lt;br /&gt;
|Resolution / 1&lt;br /&gt;
&lt;br /&gt;
War Fury&lt;br /&gt;
&lt;br /&gt;
Authority&lt;br /&gt;
&lt;br /&gt;
Brutish Charge&lt;br /&gt;
|&lt;br /&gt;
|[[Baal the Conqueror#2nd Inc|Baal the Conqueror 2nd Inc]] Stats Only&lt;br /&gt;
|-&lt;br /&gt;
|[[Dwarf Initiate Champion of the Eagle]]&lt;br /&gt;
|40&lt;br /&gt;
|Mage&lt;br /&gt;
|Eagle Initiate Champion&lt;br /&gt;
|Resolution / 1&lt;br /&gt;
&lt;br /&gt;
Hard-Boiled&lt;br /&gt;
&lt;br /&gt;
Special Initiate / [[:Category:Shamanism|Shamanism]] &lt;br /&gt;
|[[Incantation of the Eagle]]&lt;br /&gt;
|[[Bâl-Torg the Elder|Bâl-Torg the Elder 1st Inc]] Stats Only&lt;br /&gt;
|-&lt;br /&gt;
|[[Giant Elite Champion of the Eagle]]&lt;br /&gt;
|95&lt;br /&gt;
|Warrior&lt;br /&gt;
|Eagle Elite Champion&lt;br /&gt;
|Resolution / 1&lt;br /&gt;
&lt;br /&gt;
Hard-Boiled&lt;br /&gt;
&lt;br /&gt;
Bravery&lt;br /&gt;
&lt;br /&gt;
Brutal&lt;br /&gt;
&lt;br /&gt;
War Fury&lt;br /&gt;
&lt;br /&gt;
Implacable / 1&lt;br /&gt;
|&lt;br /&gt;
|[[Bragh An Scâthar]] Stats Only&lt;br /&gt;
|-&lt;br /&gt;
|[[Dwarf Regular Champion of the Eagle]]&lt;br /&gt;
|48&lt;br /&gt;
|Warrior&lt;br /&gt;
|Eagle Regular Champion&lt;br /&gt;
|Resolution / 1&lt;br /&gt;
&lt;br /&gt;
Leadership / 10&lt;br /&gt;
&lt;br /&gt;
Hard-Boiled&lt;br /&gt;
|&lt;br /&gt;
|[[Brognir, Defender of the Plains]] Stats Only&lt;br /&gt;
|-&lt;br /&gt;
|[[Dwarf Devout Champion of the Eagle]]&lt;br /&gt;
|31&lt;br /&gt;
|Faithful&lt;br /&gt;
|Eagle Devout Champion&lt;br /&gt;
|Resolution / 1&lt;br /&gt;
&lt;br /&gt;
Hard-Boiled&lt;br /&gt;
&lt;br /&gt;
Faithful of the [[:Category:Faathi|Faathi]] / 10&lt;br /&gt;
|[[Divination of the Eagle]]&lt;br /&gt;
|[[Elghir the Resolute]] Stats Only&lt;br /&gt;
|-&lt;br /&gt;
|[[Goblin Initiate Champion of the Eagle]]&lt;br /&gt;
|25&lt;br /&gt;
|Mage&lt;br /&gt;
|Eagle Initiate Champion&lt;br /&gt;
|Resolution / 1&lt;br /&gt;
&lt;br /&gt;
Survival Instinct&lt;br /&gt;
&lt;br /&gt;
Special Initiate / [[:Category:Shamanism|Shamanism]]&lt;br /&gt;
|[[Incantation of the Eagle]]&lt;br /&gt;
|[[Gidzzit the Bell-Ringer|Gidzzit the Bell-Ringer 1st Inc]] Stats Only&lt;br /&gt;
|-&lt;br /&gt;
|[[Dwarf Regular Champion of the Eagle]]&lt;br /&gt;
|48&lt;br /&gt;
|Warrior&lt;br /&gt;
|Eagle Regular Champion&lt;br /&gt;
|Resolution / 1&lt;br /&gt;
&lt;br /&gt;
Bravery&lt;br /&gt;
&lt;br /&gt;
Pariah&lt;br /&gt;
&lt;br /&gt;
Master strike / 5&lt;br /&gt;
&lt;br /&gt;
Hard-Boiled&lt;br /&gt;
|&lt;br /&gt;
|[[Kahinir|Kahinir the Savage]] Stats Only&lt;br /&gt;
|-&lt;br /&gt;
|[[Dwarf Adept Champion of the Eagle]]&lt;br /&gt;
|70&lt;br /&gt;
|Mage&lt;br /&gt;
|Eagle Adept Champion&lt;br /&gt;
|Resolution / 1&lt;br /&gt;
&lt;br /&gt;
Hard-Boiled&lt;br /&gt;
&lt;br /&gt;
Fanaticism&lt;br /&gt;
&lt;br /&gt;
Special Adept / [[:Category:Shamanism|Shamanism]]&lt;br /&gt;
|[[Incantation of the Eagle]]&lt;br /&gt;
|[[Magnus the Mystical]] Stats Only&lt;br /&gt;
|-&lt;br /&gt;
|[[Dwarf Elite Champion of the Eagle]]&lt;br /&gt;
|113&lt;br /&gt;
|Warrior&lt;br /&gt;
|Eagle Elite Champion&lt;br /&gt;
|Resolution / 1&lt;br /&gt;
&lt;br /&gt;
Hard-Boiled&lt;br /&gt;
&lt;br /&gt;
Bravery&lt;br /&gt;
&lt;br /&gt;
Brutal&lt;br /&gt;
&lt;br /&gt;
Ambidextrous &lt;br /&gt;
|&lt;br /&gt;
|[[Pilzenbhir, Defender of the Plains|Pilzenbhir, Defender of the Plains 2nd Inc]] Stats Only&lt;br /&gt;
|-&lt;br /&gt;
|[[Orc Regular Champion of the Eagle]]&lt;br /&gt;
|66&lt;br /&gt;
|Warrior&lt;br /&gt;
|Eagle Regular Champion&lt;br /&gt;
|Resolution / 1&lt;br /&gt;
&lt;br /&gt;
Brutal&lt;br /&gt;
&lt;br /&gt;
Leadership / 10&lt;br /&gt;
|&lt;br /&gt;
|[[Rantakh]] Stats Only&lt;br /&gt;
|-&lt;br /&gt;
|[[Goblin Devout Champion of the Eagle]]&lt;br /&gt;
|22&lt;br /&gt;
|Faithful&lt;br /&gt;
|Eagle Devout Champion&lt;br /&gt;
|Resolution / 1&lt;br /&gt;
Survival Instinct&lt;br /&gt;
&lt;br /&gt;
Faithful of the [[:Category:Faathi|Faathi]] / 10&lt;br /&gt;
|[[Divination of the Eagle]]&lt;br /&gt;
|[[Xherus the Visionary]] Stats Only&lt;br /&gt;
|}&lt;br /&gt;
=== Troops ===&lt;br /&gt;
Words about the troops.&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
!Unit&lt;br /&gt;
!Base Points&lt;br /&gt;
!Models per Blister or Box&lt;br /&gt;
!Abilities&lt;br /&gt;
!Capacities / Explanatory&lt;br /&gt;
!Notes&lt;br /&gt;
|-&lt;br /&gt;
|[[Archon of the Faathi]]&lt;br /&gt;
|90&lt;br /&gt;
|1&lt;br /&gt;
|Faithful of the [[:Category:Faathi|Faathi]] / 10&lt;br /&gt;
Resolution / 1&lt;br /&gt;
&lt;br /&gt;
Being of Destiny / 2&lt;br /&gt;
&lt;br /&gt;
Brutish Charge&lt;br /&gt;
&lt;br /&gt;
Implacable / 1&lt;br /&gt;
&lt;br /&gt;
War Fury&lt;br /&gt;
&lt;br /&gt;
Warrior-Monk&lt;br /&gt;
| rowspan=&amp;quot;2&amp;quot; |[[The Archons of the Faathi]]&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|[[Archon of the Faathi#Cry Havoc|Archon of the Faathi]]&lt;br /&gt;
|91&lt;br /&gt;
|&lt;br /&gt;
|Resolution / 1&lt;br /&gt;
Brutish Charge&lt;br /&gt;
&lt;br /&gt;
War Fury&lt;br /&gt;
&lt;br /&gt;
Faithful of the [[:Category:Faathi|Faathi]]&lt;br /&gt;
&lt;br /&gt;
Warrior-Monk&lt;br /&gt;
&lt;br /&gt;
Implacable&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|[[Warriors of the Faathi]]&lt;br /&gt;
|15&lt;br /&gt;
|&lt;br /&gt;
|Resolution / 1&lt;br /&gt;
Being of Destiny / 2&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;6&amp;quot; |Units from CH10&lt;br /&gt;
|-&lt;br /&gt;
|[[Air Elemental of the Eagle]]&lt;br /&gt;
|80&lt;br /&gt;
|1&lt;br /&gt;
|Resolution / 1&lt;br /&gt;
Flight&lt;br /&gt;
|[[Celestial Lord]]&lt;br /&gt;
&lt;br /&gt;
[[The Air Elementals]]&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|[[Black Troll of the Eagle]]&lt;br /&gt;
|84&lt;br /&gt;
|1 (box)&lt;br /&gt;
|Resolution / 1&lt;br /&gt;
Regeneration / 5&lt;br /&gt;
|[[The Arm Ripper]]&lt;br /&gt;
|Black Troll box&lt;br /&gt;
|-&lt;br /&gt;
|[[Boor of the Eagle on Razorback]]&lt;br /&gt;
|17&lt;br /&gt;
|1&lt;br /&gt;
|Resolution / 1&lt;br /&gt;
Hard-Boiled&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|[[Brute Musician of the Eagle]]&lt;br /&gt;
|22&lt;br /&gt;
|1 (box)&lt;br /&gt;
|Resolution / 1&lt;br /&gt;
Brutal&lt;br /&gt;
&lt;br /&gt;
Leadership / 10&lt;br /&gt;
|&lt;br /&gt;
|Orc War-Staff box&lt;br /&gt;
|-&lt;br /&gt;
|[[Brute Standard-Bearer of the Eagle]]&lt;br /&gt;
|22&lt;br /&gt;
|1 (box)&lt;br /&gt;
|Resolution / 1&lt;br /&gt;
Brutal&lt;br /&gt;
&lt;br /&gt;
Leadership / 10&lt;br /&gt;
|&lt;br /&gt;
|Orc War-Staff box&lt;br /&gt;
|-&lt;br /&gt;
|[[Centaur Archer of the Eagle]]&lt;br /&gt;
|40&lt;br /&gt;
|3 (box)&lt;br /&gt;
|Resolution / 1&lt;br /&gt;
War Fury&lt;br /&gt;
&lt;br /&gt;
Assault Fire&lt;br /&gt;
|&lt;br /&gt;
|Sessairs Centaurs box&lt;br /&gt;
|-&lt;br /&gt;
|[[Centaur of the Eagle]]&lt;br /&gt;
|38&lt;br /&gt;
|1&lt;br /&gt;
|Resolution / 1&lt;br /&gt;
War Fury&lt;br /&gt;
&lt;br /&gt;
Brutish Charge&lt;br /&gt;
|&lt;br /&gt;
|Does not include Murgan profile&lt;br /&gt;
|-&lt;br /&gt;
|[[Dwarf of the Eagle with Crossbow]]&lt;br /&gt;
|15&lt;br /&gt;
|3&lt;br /&gt;
|Resolution / 1&lt;br /&gt;
Hard-Boiled&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|[[Earth Elemental of the Eagle]]&lt;br /&gt;
|80&lt;br /&gt;
|1&lt;br /&gt;
|Resolution / 1&lt;br /&gt;
Hard-Boiled&lt;br /&gt;
|[[The Force of the Earth]]&lt;br /&gt;
&lt;br /&gt;
[[The Earth Elementals]]&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|[[Fang Warrior of the Eagle]]&lt;br /&gt;
|32&lt;br /&gt;
|5 (box)&lt;br /&gt;
|Resolution / 1&lt;br /&gt;
Born Killer&lt;br /&gt;
|&lt;br /&gt;
|The Fangs of the Moon-Goddess box&lt;br /&gt;
|-&lt;br /&gt;
|[[Firebrand Ogre of the Eagle]]&lt;br /&gt;
|93&lt;br /&gt;
|1&lt;br /&gt;
|Resolution / 1&lt;br /&gt;
Hard-Boiled&lt;br /&gt;
&lt;br /&gt;
Brutal&lt;br /&gt;
&lt;br /&gt;
Sequence&lt;br /&gt;
&lt;br /&gt;
Fanaticism&lt;br /&gt;
|[[Without Fear Nor Brain]]&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|[[Fire Elemental of the Eagle]]&lt;br /&gt;
|80&lt;br /&gt;
|1&lt;br /&gt;
|Resolution / 1&lt;br /&gt;
War Fury&lt;br /&gt;
|[[Flaming Eruption]]&lt;br /&gt;
&lt;br /&gt;
[[The Fire Elementals]]&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|[[Giant Barbarian of the Eagle|Giant Barbarian of the Eagle 1]]&lt;br /&gt;
|35&lt;br /&gt;
|1&lt;br /&gt;
|Resolution / 1&lt;br /&gt;
War Fury&lt;br /&gt;
&lt;br /&gt;
Bravery&lt;br /&gt;
&lt;br /&gt;
Fierce&lt;br /&gt;
&lt;br /&gt;
Hard-Boiled&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|[[Giant Barbarian of the Eagle|Giant Barbarian of the Eagle 2]]&lt;br /&gt;
|35&lt;br /&gt;
|1&lt;br /&gt;
|Resolution / 1&lt;br /&gt;
War Fury&lt;br /&gt;
&lt;br /&gt;
Bravery&lt;br /&gt;
&lt;br /&gt;
Master Strike / 0&lt;br /&gt;
&lt;br /&gt;
Hard-Boiled&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|[[Giant Barbarian of the Eagle|Giant Barbarian of the Eagle 3]]&lt;br /&gt;
|35&lt;br /&gt;
|1&lt;br /&gt;
|Resolution / 1&lt;br /&gt;
War Fury&lt;br /&gt;
&lt;br /&gt;
Bravery&lt;br /&gt;
&lt;br /&gt;
Brutal&lt;br /&gt;
&lt;br /&gt;
Hard-Boiled&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|[[Giant Barbarian of the Eagle|Giant Barbarian of the Eagle 4]]&lt;br /&gt;
|35&lt;br /&gt;
|1&lt;br /&gt;
|Resolution / 1&lt;br /&gt;
War Fury&lt;br /&gt;
&lt;br /&gt;
Bravery&lt;br /&gt;
&lt;br /&gt;
Fierce&lt;br /&gt;
&lt;br /&gt;
Hard-Boiled&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|[[Giant Barbarian of the Eagle|Giant Barbarian of the Eagle 5]]&lt;br /&gt;
|35&lt;br /&gt;
|1&lt;br /&gt;
|Resolution / 1&lt;br /&gt;
War Fury&lt;br /&gt;
&lt;br /&gt;
Bravery&lt;br /&gt;
&lt;br /&gt;
Master Strike / 0&lt;br /&gt;
&lt;br /&gt;
Hard-Boiled&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|[[Giant Barbarian of the Eagle|Giant Barbarian of the Eagle 6]]&lt;br /&gt;
|35&lt;br /&gt;
|1&lt;br /&gt;
|Resolution / 1&lt;br /&gt;
War Fury&lt;br /&gt;
&lt;br /&gt;
Bravery&lt;br /&gt;
&lt;br /&gt;
Implacable / 1&lt;br /&gt;
&lt;br /&gt;
Hard-Boiled&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|[[Goblin Prophet of the Eagle]]&lt;br /&gt;
|20&lt;br /&gt;
|1&lt;br /&gt;
|Resolution / 1&lt;br /&gt;
Bravery&lt;br /&gt;
&lt;br /&gt;
Survival Instinct&lt;br /&gt;
&lt;br /&gt;
Faithful of the [[:Category:Faathi|Faathi]] / 10&lt;br /&gt;
&lt;br /&gt;
Warrior-Monk&lt;br /&gt;
|[[Divination of the Eagle]]&lt;br /&gt;
|Replaces Reinforcement with Survival Instinct&lt;br /&gt;
|-&lt;br /&gt;
|[[Great Fang of the Eagle]]&lt;br /&gt;
|40&lt;br /&gt;
|5 (box)&lt;br /&gt;
|Resolution / 1&lt;br /&gt;
Born Killer&lt;br /&gt;
|&lt;br /&gt;
|The Fangs of the Moon-Goddess box&lt;br /&gt;
|-&lt;br /&gt;
|[[Lithomancer of the Eagle]]&lt;br /&gt;
|30&lt;br /&gt;
|1&lt;br /&gt;
|Resolution / 1&lt;br /&gt;
Hard-Boiled&lt;br /&gt;
&lt;br /&gt;
Warrior-Mage&lt;br /&gt;
&lt;br /&gt;
Special Initiate / [[:Category:Shamanism|Shamanism]]&lt;br /&gt;
|[[Incantation of the Eagle]]&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|[[Lonewolf of the Eagle|Lonewolf of the Eagle 1]]&lt;br /&gt;
|53&lt;br /&gt;
|1&lt;br /&gt;
|Resolution / 1&lt;br /&gt;
Born Killer&lt;br /&gt;
&lt;br /&gt;
Warrior-Mage&lt;br /&gt;
&lt;br /&gt;
Hard-Boiled&lt;br /&gt;
&lt;br /&gt;
Special Initiate / [[:Category:Shamanism|Shamanism]]&lt;br /&gt;
|[[Incantation of the Eagle]]&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|[[Lonewolf of the Eagle|Lonewolf of the Eagle 2]]&lt;br /&gt;
|42&lt;br /&gt;
|1&lt;br /&gt;
|Resolution / 1&lt;br /&gt;
Pariah&lt;br /&gt;
&lt;br /&gt;
Born Killer&lt;br /&gt;
&lt;br /&gt;
Warrior-Mage&lt;br /&gt;
&lt;br /&gt;
Hard-Boiled&lt;br /&gt;
&lt;br /&gt;
Special Initiate / [[:Category:Shamanism|Shamanism]]&lt;br /&gt;
|[[Incantation of the Eagle]]&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|[[Mercenary Ogre of the Eagle]]&lt;br /&gt;
|56&lt;br /&gt;
|1&lt;br /&gt;
|Resolution / 1&lt;br /&gt;
Brutal&lt;br /&gt;
&lt;br /&gt;
Hard-Boiled&lt;br /&gt;
&lt;br /&gt;
Sequence&lt;br /&gt;
&lt;br /&gt;
Fanaticism&lt;br /&gt;
&lt;br /&gt;
Bane / Creature&lt;br /&gt;
&lt;br /&gt;
Mercenary&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|[[Minotaur of the Eagle#Drune|Minotaur of the Eagle (Drune)]]&lt;br /&gt;
|64&lt;br /&gt;
|1&lt;br /&gt;
|Resolution / 1&lt;br /&gt;
Fierce&lt;br /&gt;
&lt;br /&gt;
Brutish Charge&lt;br /&gt;
&lt;br /&gt;
War Fury&lt;br /&gt;
&lt;br /&gt;
''Large size''&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|[[Minotaur of the Eagle#Sessairs|Minotaur of the Eagle (Sessairs)]]&lt;br /&gt;
|62&lt;br /&gt;
|1&lt;br /&gt;
|Resolution / 1&lt;br /&gt;
War Fury&lt;br /&gt;
&lt;br /&gt;
Brutish Charge&lt;br /&gt;
&lt;br /&gt;
Implacable / 1&lt;br /&gt;
&lt;br /&gt;
''Large size''&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|[[Mountain Warrior of the Eagle]]&lt;br /&gt;
|159&lt;br /&gt;
|1 (box)&lt;br /&gt;
|Resolution / 1&lt;br /&gt;
Master Strike / 2&lt;br /&gt;
&lt;br /&gt;
Enormous&lt;br /&gt;
&lt;br /&gt;
Being of Destiny / 2&lt;br /&gt;
&lt;br /&gt;
Implacable / 2&lt;br /&gt;
&lt;br /&gt;
Born Killer&lt;br /&gt;
|[[Mountain Warriors]]&lt;br /&gt;
[[Mountain Shield]]&lt;br /&gt;
&lt;br /&gt;
[[The Giant's Heart]]&lt;br /&gt;
&lt;br /&gt;
[[The Giant's Vow]]&lt;br /&gt;
|Mountain Warrior box&lt;br /&gt;
Immortal of Destiny&lt;br /&gt;
|-&lt;br /&gt;
|[[Musician of the Eagle]]&lt;br /&gt;
|16&lt;br /&gt;
|1 (box)&lt;br /&gt;
|Resolution / 1&lt;br /&gt;
Hard-Boiled&lt;br /&gt;
&lt;br /&gt;
Leadership / 10&lt;br /&gt;
|&lt;br /&gt;
|War-Staff of the Plains box&lt;br /&gt;
|-&lt;br /&gt;
|[[Orc Brute of the Eagle]]&lt;br /&gt;
|22&lt;br /&gt;
|3&lt;br /&gt;
7 (box)&lt;br /&gt;
|Resolution / 1&lt;br /&gt;
Brutal&lt;br /&gt;
|&lt;br /&gt;
|Orc Brute box&lt;br /&gt;
|-&lt;br /&gt;
|[[Orc of the Eagle with Crossbow]]&lt;br /&gt;
|19&lt;br /&gt;
|3&lt;br /&gt;
|Resolution / 1&lt;br /&gt;
Brutal&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|[[Provost of the Eagle]]&lt;br /&gt;
|29&lt;br /&gt;
|1&lt;br /&gt;
|Resolution / 1&lt;br /&gt;
Hard-Boiled&lt;br /&gt;
&lt;br /&gt;
Possessed&lt;br /&gt;
&lt;br /&gt;
Faithful of the [[:Category:Faathi|Faathi]] / 10&lt;br /&gt;
&lt;br /&gt;
Warrior-Monk&lt;br /&gt;
|[[Divination of the Eagle]]&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|[[Soldier of the Eagle]]&lt;br /&gt;
|12&lt;br /&gt;
|3&lt;br /&gt;
8 (box)&lt;br /&gt;
|Resolution / 1&lt;br /&gt;
Hard-Boiled&lt;br /&gt;
|&lt;br /&gt;
|War-Staff of the Plains box&lt;br /&gt;
|-&lt;br /&gt;
|[[Son of Ogmios of the Eagle]]&lt;br /&gt;
|61&lt;br /&gt;
|1&lt;br /&gt;
|Resolution / 1&lt;br /&gt;
War Fury&lt;br /&gt;
&lt;br /&gt;
Bravery&lt;br /&gt;
&lt;br /&gt;
Hard-Boiled&lt;br /&gt;
&lt;br /&gt;
Implacable / 1&lt;br /&gt;
&lt;br /&gt;
''Large size''&lt;br /&gt;
&lt;br /&gt;
''Considered to be a giant barbarian''&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|[[Standard-Bearer of the Eagle]]&lt;br /&gt;
|16&lt;br /&gt;
|1 (box)&lt;br /&gt;
|Resolution / 1&lt;br /&gt;
Hard-Boiled&lt;br /&gt;
&lt;br /&gt;
Leadership / 10&lt;br /&gt;
|&lt;br /&gt;
|War-Staff of the Plains box&lt;br /&gt;
|-&lt;br /&gt;
|[[Sylvan Animae of the Eagle]]&lt;br /&gt;
|17&lt;br /&gt;
|3&lt;br /&gt;
|Resolution / 1&lt;br /&gt;
Being of Destiny / 3&lt;br /&gt;
&lt;br /&gt;
Scout&lt;br /&gt;
&lt;br /&gt;
Flight&lt;br /&gt;
&lt;br /&gt;
''Small size''&lt;br /&gt;
|&lt;br /&gt;
|Immortal of Destiny&lt;br /&gt;
|-&lt;br /&gt;
|[[War Troll of the Eagle]]&lt;br /&gt;
|73&lt;br /&gt;
|1&lt;br /&gt;
|Resolution / 1&lt;br /&gt;
Regeneration / 5&lt;br /&gt;
&lt;br /&gt;
Survival Instinct&lt;br /&gt;
|&lt;br /&gt;
|Cannot equip Watchgoblin Jar&lt;br /&gt;
|-&lt;br /&gt;
|[[Water Elemental of the Eagle]]&lt;br /&gt;
|80&lt;br /&gt;
|1&lt;br /&gt;
|Resolution / 1&lt;br /&gt;
Concentration / 2&lt;br /&gt;
|[[The Water Elementals]]&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==[[:Category:Miracles|Miracles]]==&lt;br /&gt;
Miracles that came with blisters that are not reserved&lt;br /&gt;
&lt;br /&gt;
[[Talon of Thunder]]&lt;br /&gt;
&lt;br /&gt;
[[Prophecy of the Eagle]]&lt;/div&gt;</summary>
		<author><name>Colt</name></author>
	</entry>
	<entry>
		<id>https://confrontation.wiki/index.php?title=User:Colt/Discord&amp;diff=8552</id>
		<title>User:Colt/Discord</title>
		<link rel="alternate" type="text/html" href="https://confrontation.wiki/index.php?title=User:Colt/Discord&amp;diff=8552"/>
		<updated>2022-05-19T23:16:41Z</updated>

		<summary type="html">&lt;p&gt;Colt: Created page with &amp;quot;colt#0001&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;colt#0001&lt;/div&gt;</summary>
		<author><name>Colt</name></author>
	</entry>
	<entry>
		<id>https://confrontation.wiki/index.php?title=Pilzenbhir,_Defender_of_the_Plains&amp;diff=8252</id>
		<title>Pilzenbhir, Defender of the Plains</title>
		<link rel="alternate" type="text/html" href="https://confrontation.wiki/index.php?title=Pilzenbhir,_Defender_of_the_Plains&amp;diff=8252"/>
		<updated>2022-05-18T21:32:13Z</updated>

		<summary type="html">&lt;p&gt;Colt: stats&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Dwarves of Tir-Nâ-Bor]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;float: right&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;tabs name=&amp;quot;Pilzenbhir, Defender of the Plains&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;tab name=&amp;quot;Original&amp;quot;&amp;gt;[[File:card_tirnabor_pilzenbhirdefenderoftheplains.jpg|thumb|Pilzenbhir, Defender of the Plains]]&amp;lt;/tab&amp;gt;&lt;br /&gt;
&amp;lt;tab name=&amp;quot;2nd Inc&amp;quot;&amp;gt;[[File:card_tirnabor_pilzenbhirdefenderoftheplains2.jpg|thumb|Pilzenbhir, Defender of the Plains 2nd Inc]]&amp;lt;/tab&amp;gt;&lt;br /&gt;
&amp;lt;tab name=&amp;quot;2nd Inc Art&amp;quot;&amp;gt;[[File:card_tirnabor_pilzenbhirdefenderoftheplains3.jpg|thumb|Pilzenbhir, Defender of the Plains 2nd Inc (Art)]]&amp;lt;/tab&amp;gt;&lt;br /&gt;
&amp;lt;/tabs&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
MOV: 7.5 &lt;br /&gt;
&lt;br /&gt;
INI:2 &lt;br /&gt;
&lt;br /&gt;
ATT/STR: 6 / 10 &lt;br /&gt;
&lt;br /&gt;
DEF/RES: 7 / 7 &lt;br /&gt;
&lt;br /&gt;
AIM: - &lt;br /&gt;
&lt;br /&gt;
COU: 8 &lt;br /&gt;
&lt;br /&gt;
DIS: 9 &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
''&amp;quot;The choice of arms is yours!&amp;quot;''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
''Equipment'': Pick-hammer, Light Armor, Khor Sword &lt;br /&gt;
&lt;br /&gt;
''Abilities'': [[Ambidextrous]], [[Brutal]], [[Hard-boiled]] &lt;br /&gt;
&lt;br /&gt;
''Rank'': Dwarf Elite Champion &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Cost:  90 AP&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;/div&gt;</summary>
		<author><name>Colt</name></author>
	</entry>
	<entry>
		<id>https://confrontation.wiki/index.php?title=Main_Page&amp;diff=4902</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://confrontation.wiki/index.php?title=Main_Page&amp;diff=4902"/>
		<updated>2021-09-14T22:19:40Z</updated>

		<summary type="html">&lt;p&gt;Colt: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Confrontation is a skirmish level tactical fantasy miniature wargaming in which the combatants are represented by metal or plastic figures in 28 mm scale. The game is set in [[Aarklash]], a world of medieval fantasy where knights, wizards, priests and barbarians fight each other as well as fantastic creatures such as wolfen, elves, orcs, goblins, and the undead. The entire world is at war and all are fighting for the supremacy of the continent. &lt;br /&gt;
&lt;br /&gt;
==[[:Category:Armies|Armies]]==&lt;br /&gt;
Confrontation's army list consists of [[Ways of Light]], [[Armies of Darkness|Meanders of Darkness]], [[Armies of Destiny|Paths of Destiny]], as well as [[Immortals, Elementals &amp;amp; Familiars|Familiars]], [[Independents, Mercenaries &amp;amp; Stateless|Mercenaries]], and various other types of units with a wide range of [[spells]], [[miracles]], and [[abilities]].&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align: center;&lt;br /&gt;
!colspan=&amp;quot;5&amp;quot;|Factions List&lt;br /&gt;
|-&lt;br /&gt;
|[[File:Army_art_square_AkkyshanElves.png|frameless|center|100px|link=Akkyshan Elves]][[Akkyshan Elves]]&lt;br /&gt;
|[[File:Army_art_square_AlchemistsofDirz2.png|frameless|center|100px|link=Alchemists of Dirz]][[Alchemists of Dirz]]&lt;br /&gt;
|[[File:army_art_square_ConcordoftheEagle.png|frameless|center|100px|link=Concord of the Eagle]][[Concord of the Eagle]]&lt;br /&gt;
|[[File:army_art_square_CynwallElves.png|frameless|center|100px|link=Cynwall Elves]][[Cynwäll Elves]]&lt;br /&gt;
|[[File:army_art_square_DaikineeElves.png|frameless|center|100px|link=Daikinee Elves]][[Daïkinee Elves]]&lt;br /&gt;
|-&lt;br /&gt;
|[[File:army_art_square_DevourersofVile-Tis.png|frameless|center|100px|link=Devourers of Vile-Tis]][[Devourers of Vile-Tis]]&lt;br /&gt;
|[[File:army_art_square_DwarvesofMid-Nor.png|frameless|center|100px|link=Dwarves of Mid-Nor]][[Dwarves of Mid-Nor]]&lt;br /&gt;
|[[File:army_art_square_DwarvesofTir-Na-Bor.png|frameless|center|100px|link=Dwarves of Tir-Na-Bor]][[Dwarves of Tir-Nâ-Bor]]&lt;br /&gt;
|[[File:army_art_square_Elementals&amp;amp;Familiars.png|frameless|center|100px|link=Immortals, Elementals &amp;amp; Familiars]][[Immortals, Elementals &amp;amp; Familiars]]&lt;br /&gt;
|[[File:army_art_square_GoblinsofNo-Dan-Kar.png|frameless|center|100px|link=Goblins of No-Dan-Kar]][[Goblins of No-Dan-Kar]]&lt;br /&gt;
|-&lt;br /&gt;
|[[File:Army_art_square_AkkylannieGriffins.png|frameless|center|100px|link=Akkylannie Griffins]][[Akkylannie Griffins|Griffins of Akkylannie]]&lt;br /&gt;
|[[File:army_art_square_ImmobilisofCadwallon.png|frameless|center|100px|link=Immobilis of Cadwallon]][[Immobilis of Cadwallon]]&lt;br /&gt;
|[[File:army_art_square_KeltsoftheDruneClan.png|frameless|center|100px|link=Kelts of the Drune Clan]][[Kelts of the Drune Clan]]&lt;br /&gt;
|[[File:army_art_square_KeltsoftheSessairClan.png|frameless|center|100px|link=Kelts of the Sessair Clan]][[Kelts of the Sessair Clan]]&lt;br /&gt;
|[[File:army_art_square_LimboofAcheron.png|frameless|center|100px|link=Limbo of Acheron]][[Limbo of Acheron]]&lt;br /&gt;
|-&lt;br /&gt;
|[[File:army_art_square_LionsofAlahan.png|frameless|center|100px|link=Lions of Alahan]][[Lions of Alahan]]&lt;br /&gt;
|[[File:army_art_square_Mercenaries&amp;amp;Stateless.png|frameless|center|100px|link=Independents, Mercenaries &amp;amp; Stateless]][[Independents, Mercenaries &amp;amp; Stateless]]&lt;br /&gt;
|[[File:army_art_square_OphidianAlliance.png|frameless|center|100px|link=Ophidian Alliance]][[Ophidian Alliance]]&lt;br /&gt;
|[[File:army_art_square_OrcsofBehemoth.png|frameless|center|100px|link=Orcs of Behemoth]][[Orcs of Behemoth]]&lt;br /&gt;
|[[File:army_art_square_OrcsofBran-O-Kor.png|frameless|center|100px|link=Orcs of Bran-O-Kor]][[Orcs of Bran-Ô-Kor]]&lt;br /&gt;
|-&lt;br /&gt;
|[[File:army_art_square_UrakenGoblins.png|frameless|center|100px|link=Uraken Goblins]][https://confrontation.wiki/index.php/Goblins_of_No-Dan-Kar_%26_%C3%9Braken#.C3.9Braken_and_Yak.C3.BBsa_Units Ûraken Goblins]&lt;br /&gt;
|[[File:army_art_square_UtopiaofSphinx.png|frameless|center|100px|link=Utopia of Sphinx]][[Utopia of Sphinx]]&lt;br /&gt;
|[[File:army_art_square_WolfenofYllia.png|frameless|center|100px|link=Wolfen of Yllia]][[Wolfen of Yllia]]&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Rules &amp;amp; Supplements==&lt;br /&gt;
[[Rules]]&lt;br /&gt;
&lt;br /&gt;
[[Cry Havoc]]&lt;br /&gt;
&lt;br /&gt;
[[Dogs of War]]&lt;br /&gt;
&lt;br /&gt;
[[Hybrid Board Game|Hybrid &amp;amp; Nemesis]]&lt;br /&gt;
&lt;br /&gt;
==Communities==&lt;br /&gt;
[https://discord.gg/H5EUFkR Confrontation Discord (EN)]&lt;br /&gt;
&lt;br /&gt;
[https://discord.gg/t6tg2ThpuQ Confrontation Discord (FR)]&lt;br /&gt;
&lt;br /&gt;
[http://reddit.com/r/confrontation Confrontation Subreddit]&lt;/div&gt;</summary>
		<author><name>Colt</name></author>
	</entry>
	<entry>
		<id>https://confrontation.wiki/index.php?title=Main_Page&amp;diff=4901</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://confrontation.wiki/index.php?title=Main_Page&amp;diff=4901"/>
		<updated>2021-09-14T22:19:33Z</updated>

		<summary type="html">&lt;p&gt;Colt: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Confrontation is a skirmish level tactical fantasy miniature wargaming in which the combatants are represented by metal or plastic figures in 28 mm scale. The game is set in [[Aarklash]], a world of medieval fantasy where knights, wizards, priests and barbarians fight each other as well as fantastic creatures such as wolfen, elves, orcs, goblins, and the undead. The entire world is at war and all are fighting for the supremacy of the continent. test&lt;br /&gt;
&lt;br /&gt;
==[[:Category:Armies|Armies]]==&lt;br /&gt;
Confrontation's army list consists of [[Ways of Light]], [[Armies of Darkness|Meanders of Darkness]], [[Armies of Destiny|Paths of Destiny]], as well as [[Immortals, Elementals &amp;amp; Familiars|Familiars]], [[Independents, Mercenaries &amp;amp; Stateless|Mercenaries]], and various other types of units with a wide range of [[spells]], [[miracles]], and [[abilities]].&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align: center;&lt;br /&gt;
!colspan=&amp;quot;5&amp;quot;|Factions List&lt;br /&gt;
|-&lt;br /&gt;
|[[File:Army_art_square_AkkyshanElves.png|frameless|center|100px|link=Akkyshan Elves]][[Akkyshan Elves]]&lt;br /&gt;
|[[File:Army_art_square_AlchemistsofDirz2.png|frameless|center|100px|link=Alchemists of Dirz]][[Alchemists of Dirz]]&lt;br /&gt;
|[[File:army_art_square_ConcordoftheEagle.png|frameless|center|100px|link=Concord of the Eagle]][[Concord of the Eagle]]&lt;br /&gt;
|[[File:army_art_square_CynwallElves.png|frameless|center|100px|link=Cynwall Elves]][[Cynwäll Elves]]&lt;br /&gt;
|[[File:army_art_square_DaikineeElves.png|frameless|center|100px|link=Daikinee Elves]][[Daïkinee Elves]]&lt;br /&gt;
|-&lt;br /&gt;
|[[File:army_art_square_DevourersofVile-Tis.png|frameless|center|100px|link=Devourers of Vile-Tis]][[Devourers of Vile-Tis]]&lt;br /&gt;
|[[File:army_art_square_DwarvesofMid-Nor.png|frameless|center|100px|link=Dwarves of Mid-Nor]][[Dwarves of Mid-Nor]]&lt;br /&gt;
|[[File:army_art_square_DwarvesofTir-Na-Bor.png|frameless|center|100px|link=Dwarves of Tir-Na-Bor]][[Dwarves of Tir-Nâ-Bor]]&lt;br /&gt;
|[[File:army_art_square_Elementals&amp;amp;Familiars.png|frameless|center|100px|link=Immortals, Elementals &amp;amp; Familiars]][[Immortals, Elementals &amp;amp; Familiars]]&lt;br /&gt;
|[[File:army_art_square_GoblinsofNo-Dan-Kar.png|frameless|center|100px|link=Goblins of No-Dan-Kar]][[Goblins of No-Dan-Kar]]&lt;br /&gt;
|-&lt;br /&gt;
|[[File:Army_art_square_AkkylannieGriffins.png|frameless|center|100px|link=Akkylannie Griffins]][[Akkylannie Griffins|Griffins of Akkylannie]]&lt;br /&gt;
|[[File:army_art_square_ImmobilisofCadwallon.png|frameless|center|100px|link=Immobilis of Cadwallon]][[Immobilis of Cadwallon]]&lt;br /&gt;
|[[File:army_art_square_KeltsoftheDruneClan.png|frameless|center|100px|link=Kelts of the Drune Clan]][[Kelts of the Drune Clan]]&lt;br /&gt;
|[[File:army_art_square_KeltsoftheSessairClan.png|frameless|center|100px|link=Kelts of the Sessair Clan]][[Kelts of the Sessair Clan]]&lt;br /&gt;
|[[File:army_art_square_LimboofAcheron.png|frameless|center|100px|link=Limbo of Acheron]][[Limbo of Acheron]]&lt;br /&gt;
|-&lt;br /&gt;
|[[File:army_art_square_LionsofAlahan.png|frameless|center|100px|link=Lions of Alahan]][[Lions of Alahan]]&lt;br /&gt;
|[[File:army_art_square_Mercenaries&amp;amp;Stateless.png|frameless|center|100px|link=Independents, Mercenaries &amp;amp; Stateless]][[Independents, Mercenaries &amp;amp; Stateless]]&lt;br /&gt;
|[[File:army_art_square_OphidianAlliance.png|frameless|center|100px|link=Ophidian Alliance]][[Ophidian Alliance]]&lt;br /&gt;
|[[File:army_art_square_OrcsofBehemoth.png|frameless|center|100px|link=Orcs of Behemoth]][[Orcs of Behemoth]]&lt;br /&gt;
|[[File:army_art_square_OrcsofBran-O-Kor.png|frameless|center|100px|link=Orcs of Bran-O-Kor]][[Orcs of Bran-Ô-Kor]]&lt;br /&gt;
|-&lt;br /&gt;
|[[File:army_art_square_UrakenGoblins.png|frameless|center|100px|link=Uraken Goblins]][https://confrontation.wiki/index.php/Goblins_of_No-Dan-Kar_%26_%C3%9Braken#.C3.9Braken_and_Yak.C3.BBsa_Units Ûraken Goblins]&lt;br /&gt;
|[[File:army_art_square_UtopiaofSphinx.png|frameless|center|100px|link=Utopia of Sphinx]][[Utopia of Sphinx]]&lt;br /&gt;
|[[File:army_art_square_WolfenofYllia.png|frameless|center|100px|link=Wolfen of Yllia]][[Wolfen of Yllia]]&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Rules &amp;amp; Supplements==&lt;br /&gt;
[[Rules]]&lt;br /&gt;
&lt;br /&gt;
[[Cry Havoc]]&lt;br /&gt;
&lt;br /&gt;
[[Dogs of War]]&lt;br /&gt;
&lt;br /&gt;
[[Hybrid Board Game|Hybrid &amp;amp; Nemesis]]&lt;br /&gt;
&lt;br /&gt;
==Communities==&lt;br /&gt;
[https://discord.gg/H5EUFkR Confrontation Discord (EN)]&lt;br /&gt;
&lt;br /&gt;
[https://discord.gg/t6tg2ThpuQ Confrontation Discord (FR)]&lt;br /&gt;
&lt;br /&gt;
[http://reddit.com/r/confrontation Confrontation Subreddit]&lt;/div&gt;</summary>
		<author><name>Colt</name></author>
	</entry>
	<entry>
		<id>https://confrontation.wiki/index.php?title=User:Colt&amp;diff=2279</id>
		<title>User:Colt</title>
		<link rel="alternate" type="text/html" href="https://confrontation.wiki/index.php?title=User:Colt&amp;diff=2279"/>
		<updated>2021-07-19T19:29:30Z</updated>

		<summary type="html">&lt;p&gt;Colt: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[http://Wtfcolt.com wtfcolt.com] &lt;br /&gt;
&lt;br /&gt;
Colt#0001 on Discord&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I do a lot of testing here on this page. If you happen see weird stuff, that's why. Or maybe you're just drunk. I don't judge.&lt;/div&gt;</summary>
		<author><name>Colt</name></author>
	</entry>
	<entry>
		<id>https://confrontation.wiki/index.php?title=User:Colt&amp;diff=2278</id>
		<title>User:Colt</title>
		<link rel="alternate" type="text/html" href="https://confrontation.wiki/index.php?title=User:Colt&amp;diff=2278"/>
		<updated>2021-07-19T19:29:00Z</updated>

		<summary type="html">&lt;p&gt;Colt: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[http://Wtfcolt.com wtfcolt.com] &lt;br /&gt;
&lt;br /&gt;
Colt#0001 on Discord&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I do a lot of testing here on this page. If you happen see weird stuff, that's why.&lt;/div&gt;</summary>
		<author><name>Colt</name></author>
	</entry>
	<entry>
		<id>https://confrontation.wiki/index.php?title=Confrontation_Wiki:About&amp;diff=2277</id>
		<title>Confrontation Wiki:About</title>
		<link rel="alternate" type="text/html" href="https://confrontation.wiki/index.php?title=Confrontation_Wiki:About&amp;diff=2277"/>
		<updated>2021-07-19T19:28:17Z</updated>

		<summary type="html">&lt;p&gt;Colt: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Hosted by [[User:Colt]]&lt;br /&gt;
&lt;br /&gt;
Thanks to the wonderful [http://discord.gg/H5EUFkR Confrontation Discord] moderators for their hard work on the content.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
todo: more/better credits&lt;/div&gt;</summary>
		<author><name>Colt</name></author>
	</entry>
	<entry>
		<id>https://confrontation.wiki/index.php?title=Confrontation_Wiki:About&amp;diff=2276</id>
		<title>Confrontation Wiki:About</title>
		<link rel="alternate" type="text/html" href="https://confrontation.wiki/index.php?title=Confrontation_Wiki:About&amp;diff=2276"/>
		<updated>2021-07-19T19:27:57Z</updated>

		<summary type="html">&lt;p&gt;Colt: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Hosted by [[User:Colt]]&lt;br /&gt;
&lt;br /&gt;
Thanks to the wonderful [http://discord.gg/H5EUFkR Confrontation Discord] moderators for their hard work on the content.&lt;/div&gt;</summary>
		<author><name>Colt</name></author>
	</entry>
	<entry>
		<id>https://confrontation.wiki/index.php?title=Confrontation_Wiki:About&amp;diff=2275</id>
		<title>Confrontation Wiki:About</title>
		<link rel="alternate" type="text/html" href="https://confrontation.wiki/index.php?title=Confrontation_Wiki:About&amp;diff=2275"/>
		<updated>2021-07-19T19:27:19Z</updated>

		<summary type="html">&lt;p&gt;Colt: Created page with &amp;quot;Hosted by User:Colt  Thanks to the wonderful Confrontation Discord moderators for their hard work on the content.&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Hosted by [[User:Colt]]&lt;br /&gt;
&lt;br /&gt;
Thanks to the wonderful Confrontation Discord moderators for their hard work on the content.&lt;/div&gt;</summary>
		<author><name>Colt</name></author>
	</entry>
	<entry>
		<id>https://confrontation.wiki/index.php?title=User:Colt&amp;diff=2274</id>
		<title>User:Colt</title>
		<link rel="alternate" type="text/html" href="https://confrontation.wiki/index.php?title=User:Colt&amp;diff=2274"/>
		<updated>2021-07-19T08:46:35Z</updated>

		<summary type="html">&lt;p&gt;Colt: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[http://Wtfcolt.com wtfcolt.com] &lt;br /&gt;
&lt;br /&gt;
Colt#0001 on Discord&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
this is mostly a test page for stuff&lt;br /&gt;
&lt;br /&gt;
{{Colored box|title=TITLEasdf|content=CONTENTasdf}}&lt;br /&gt;
&lt;br /&gt;
[[File:Confrontation V3 Booklet - Core.pdf|page=1|600px]]&lt;/div&gt;</summary>
		<author><name>Colt</name></author>
	</entry>
	<entry>
		<id>https://confrontation.wiki/index.php?title=User:Colt&amp;diff=2273</id>
		<title>User:Colt</title>
		<link rel="alternate" type="text/html" href="https://confrontation.wiki/index.php?title=User:Colt&amp;diff=2273"/>
		<updated>2021-07-19T08:45:27Z</updated>

		<summary type="html">&lt;p&gt;Colt: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[http://Wtfcolt.com wtfcolt.com] &lt;br /&gt;
&lt;br /&gt;
Colt#0001 on Discord&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
this is mostly a test page for stuff&lt;br /&gt;
&lt;br /&gt;
{{Colored box|title=TITLEasdf|content=CONTENTasdf}}&lt;br /&gt;
&lt;br /&gt;
.&lt;/div&gt;</summary>
		<author><name>Colt</name></author>
	</entry>
	<entry>
		<id>https://confrontation.wiki/index.php?title=Template:Documentation&amp;diff=2272</id>
		<title>Template:Documentation</title>
		<link rel="alternate" type="text/html" href="https://confrontation.wiki/index.php?title=Template:Documentation&amp;diff=2272"/>
		<updated>2021-07-19T08:28:08Z</updated>

		<summary type="html">&lt;p&gt;Colt: 2 revisions imported&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;noinclude&amp;gt;&lt;br /&gt;
&amp;lt;languages/&amp;gt;&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&amp;lt;includeonly&amp;gt;{{#invoke:documentation|main|_content={{ {{#invoke:documentation|contentTitle}}}}}}&amp;lt;/includeonly&amp;gt;&amp;lt;noinclude&amp;gt;&lt;br /&gt;
{{documentation|content=&lt;br /&gt;
&lt;br /&gt;
{{Lua|Module:Documentation}}&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:12--&amp;gt; This template automatically displays a documentation box like the one you are seeing now, of which the content is sometimes transcluded from another page.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:13--&amp;gt; It is intended for pages which are [[&amp;lt;tvar name=1&amp;gt;Special:MyLanguage/Help:Transclusion&amp;lt;/tvar&amp;gt;|transcluded]] in other pages, i.e. templates, whether in the template namespace or not.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;&lt;br /&gt;
==Usage== &amp;lt;!--T:2--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Customizing display=== &amp;lt;!--T:3--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:4--&amp;gt;&lt;br /&gt;
Overrides exist to customize the output in special cases:&lt;br /&gt;
&amp;lt;/translate&amp;gt;&lt;br /&gt;
* &amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;documentation{{!}}'''heading'''=&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt; - &amp;lt;translate&amp;gt;&amp;lt;!--T:5--&amp;gt; change the text of the &amp;quot;documentation&amp;quot; heading.&amp;lt;/translate&amp;gt; &amp;lt;translate&amp;gt;&amp;lt;!--T:10--&amp;gt; If this is set to blank, the entire heading line (including the first [edit] link) will also disappear.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;&lt;br /&gt;
==Rationale== &amp;lt;!--T:6--&amp;gt;&lt;br /&gt;
&amp;lt;/translate&amp;gt;&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:7--&amp;gt; This template allows any page to use any documentation page, and makes it possible to protect templates while allowing anyone to edit the template's documentation, categories, and interwiki links.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:8--&amp;gt; It also reduces server resources by circumventing a [[w:Wikipedia:Template limits|technical limitation of templates]] (see a [[&amp;lt;tvar name=1&amp;gt;:en:Special:Diff/69888944&amp;lt;/tvar&amp;gt;|developer's explanation]]).&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;&lt;br /&gt;
==See also== &amp;lt;!--T:9--&amp;gt;&lt;br /&gt;
&amp;lt;/translate&amp;gt;&lt;br /&gt;
* &amp;lt;translate&amp;gt;&amp;lt;!--T:14--&amp;gt; [[w:Template:Documentation subpage]]&amp;lt;/translate&amp;gt;&lt;br /&gt;
* {{tim|Documentation}}&lt;br /&gt;
* &amp;lt;translate&amp;gt;&amp;lt;!--T:11--&amp;gt; [[w:Wikipedia:Template documentation]]&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
}}&lt;br /&gt;
[[Category:Formatting templates{{#translation:}}|Template documentation]]&lt;br /&gt;
[[Category:Template documentation{{#translation:}}| ]]&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&amp;lt;includeonly&amp;gt;{{#if:{{{content|}}}|&lt;br /&gt;
[[Category:Template documentation pages{{#translation:}}]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>Colt</name></author>
	</entry>
	<entry>
		<id>https://confrontation.wiki/index.php?title=User:Colt&amp;diff=2269</id>
		<title>User:Colt</title>
		<link rel="alternate" type="text/html" href="https://confrontation.wiki/index.php?title=User:Colt&amp;diff=2269"/>
		<updated>2021-07-19T08:01:51Z</updated>

		<summary type="html">&lt;p&gt;Colt: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Owner/Administrator: [http://Confrontation.wiki Confrontation.wiki] - You're lookin at it.&lt;br /&gt;
&lt;br /&gt;
Community Manager: [http://ArcaneWaters.com ArcaneWaters.com] - Pixel-Pirate MMORPG on Steam.&lt;br /&gt;
&lt;br /&gt;
Owner/Administrator: [http://TheReckless.net TheReckless.net] - Gaming community with community-run and owned server machines for gaming. Servers online for ARK, 7 Days, and almost anything else you can put a gaming server up for. If you need a nice place to play, come join us. If you'd like to run one of our gaming servers, just ask!&lt;br /&gt;
&lt;br /&gt;
Personal: [http://Wtfcolt.com wtfcolt.com] - Gimme all your fancy internet coin or the tamagotchi gets it.&lt;br /&gt;
&lt;br /&gt;
Colt#0001 on Discord&lt;br /&gt;
&lt;br /&gt;
{{Colored box|title=TITLEasdf|content=CONTENTasdf}}&lt;br /&gt;
&lt;br /&gt;
.&lt;/div&gt;</summary>
		<author><name>Colt</name></author>
	</entry>
	<entry>
		<id>https://confrontation.wiki/index.php?title=Template:Documentation&amp;diff=2267</id>
		<title>Template:Documentation</title>
		<link rel="alternate" type="text/html" href="https://confrontation.wiki/index.php?title=Template:Documentation&amp;diff=2267"/>
		<updated>2021-07-19T06:04:37Z</updated>

		<summary type="html">&lt;p&gt;Colt: 2 revisions imported&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;noinclude&amp;gt;&lt;br /&gt;
&amp;lt;languages/&amp;gt;&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&amp;lt;includeonly&amp;gt;{{#invoke:documentation|main|_content={{ {{#invoke:documentation|contentTitle}}}}}}&amp;lt;/includeonly&amp;gt;&amp;lt;noinclude&amp;gt;&lt;br /&gt;
{{documentation|content=&lt;br /&gt;
&lt;br /&gt;
{{Lua|Module:Documentation}}&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:12--&amp;gt; This template automatically displays a documentation box like the one you are seeing now, of which the content is sometimes transcluded from another page.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:13--&amp;gt; It is intended for pages which are [[&amp;lt;tvar name=1&amp;gt;Special:MyLanguage/Help:Transclusion&amp;lt;/tvar&amp;gt;|transcluded]] in other pages, i.e. templates, whether in the template namespace or not.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;&lt;br /&gt;
==Usage== &amp;lt;!--T:2--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Customizing display=== &amp;lt;!--T:3--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:4--&amp;gt;&lt;br /&gt;
Overrides exist to customize the output in special cases:&lt;br /&gt;
&amp;lt;/translate&amp;gt;&lt;br /&gt;
* &amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;documentation{{!}}'''heading'''=&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt; - &amp;lt;translate&amp;gt;&amp;lt;!--T:5--&amp;gt; change the text of the &amp;quot;documentation&amp;quot; heading.&amp;lt;/translate&amp;gt; &amp;lt;translate&amp;gt;&amp;lt;!--T:10--&amp;gt; If this is set to blank, the entire heading line (including the first [edit] link) will also disappear.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;&lt;br /&gt;
==Rationale== &amp;lt;!--T:6--&amp;gt;&lt;br /&gt;
&amp;lt;/translate&amp;gt;&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:7--&amp;gt; This template allows any page to use any documentation page, and makes it possible to protect templates while allowing anyone to edit the template's documentation, categories, and interwiki links.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:8--&amp;gt; It also reduces server resources by circumventing a [[w:Wikipedia:Template limits|technical limitation of templates]] (see a [[&amp;lt;tvar name=1&amp;gt;:en:Special:Diff/69888944&amp;lt;/tvar&amp;gt;|developer's explanation]]).&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;&lt;br /&gt;
==See also== &amp;lt;!--T:9--&amp;gt;&lt;br /&gt;
&amp;lt;/translate&amp;gt;&lt;br /&gt;
* &amp;lt;translate&amp;gt;&amp;lt;!--T:14--&amp;gt; [[w:Template:Documentation subpage]]&amp;lt;/translate&amp;gt;&lt;br /&gt;
* {{tim|Documentation}}&lt;br /&gt;
* &amp;lt;translate&amp;gt;&amp;lt;!--T:11--&amp;gt; [[w:Wikipedia:Template documentation]]&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
}}&lt;br /&gt;
[[Category:Formatting templates{{#translation:}}|Template documentation]]&lt;br /&gt;
[[Category:Template documentation{{#translation:}}| ]]&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&amp;lt;includeonly&amp;gt;{{#if:{{{content|}}}|&lt;br /&gt;
[[Category:Template documentation pages{{#translation:}}]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>Colt</name></author>
	</entry>
	<entry>
		<id>https://confrontation.wiki/index.php?title=User:Colt&amp;diff=2264</id>
		<title>User:Colt</title>
		<link rel="alternate" type="text/html" href="https://confrontation.wiki/index.php?title=User:Colt&amp;diff=2264"/>
		<updated>2021-07-19T05:58:55Z</updated>

		<summary type="html">&lt;p&gt;Colt: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Owner/Administrator: [http://Confrontation.wiki Confrontation.wiki] - You're lookin at it.&lt;br /&gt;
&lt;br /&gt;
Community Manager: [http://ArcaneWaters.com ArcaneWaters.com] - Pixel-Pirate MMORPG on Steam.&lt;br /&gt;
&lt;br /&gt;
Owner/Administrator: [http://TheReckless.net TheReckless.net] - Gaming community with community-run and owned server machines for gaming. Servers online for ARK, 7 Days, and almost anything else you can put a gaming server up for. If you need a nice place to play, come join us. If you'd like to run one of our gaming servers, just ask!&lt;br /&gt;
&lt;br /&gt;
Personal: [http://Wtfcolt.com wtfcolt.com] - Gimme all your fancy internet coin or the tamagotchi gets it.&lt;br /&gt;
&lt;br /&gt;
Colt#0001 on Discord&lt;br /&gt;
&lt;br /&gt;
{{Colored box|title=TITLEasdf|content=CONTENTasdf}}&lt;/div&gt;</summary>
		<author><name>Colt</name></author>
	</entry>
	<entry>
		<id>https://confrontation.wiki/index.php?title=Template:Mbox&amp;diff=2263</id>
		<title>Template:Mbox</title>
		<link rel="alternate" type="text/html" href="https://confrontation.wiki/index.php?title=Template:Mbox&amp;diff=2263"/>
		<updated>2021-07-19T05:56:08Z</updated>

		<summary type="html">&lt;p&gt;Colt: Created page with &amp;quot;{{#invoke:Message box|mbox}}&amp;lt;noinclude&amp;gt; {{documentation}} &amp;lt;!-- Categories go on the /doc subpage, and interwikis go on Wikidata. --&amp;gt; &amp;lt;/noinclude&amp;gt;&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{#invoke:Message box|mbox}}&amp;lt;noinclude&amp;gt;&lt;br /&gt;
{{documentation}}&lt;br /&gt;
&amp;lt;!-- Categories go on the /doc subpage, and interwikis go on Wikidata. --&amp;gt;&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Colt</name></author>
	</entry>
	<entry>
		<id>https://confrontation.wiki/index.php?title=Module:Yesno&amp;diff=2262</id>
		<title>Module:Yesno</title>
		<link rel="alternate" type="text/html" href="https://confrontation.wiki/index.php?title=Module:Yesno&amp;diff=2262"/>
		<updated>2021-07-19T05:37:06Z</updated>

		<summary type="html">&lt;p&gt;Colt: 44 revisions imported&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;-- Function allowing for consistent treatment of boolean-like wikitext input.&lt;br /&gt;
-- It works similarly to the template {{yesno}}.&lt;br /&gt;
&lt;br /&gt;
return function (val, default)&lt;br /&gt;
	-- If your wiki uses non-ascii characters for any of &amp;quot;yes&amp;quot;, &amp;quot;no&amp;quot;, etc., you&lt;br /&gt;
	-- should replace &amp;quot;val:lower()&amp;quot; with &amp;quot;mw.ustring.lower(val)&amp;quot; in the&lt;br /&gt;
	-- following line.&lt;br /&gt;
	val = type(val) == 'string' and val:lower() or val&lt;br /&gt;
	if val == nil then&lt;br /&gt;
		return nil&lt;br /&gt;
	elseif val == true &lt;br /&gt;
		or val == 'yes'&lt;br /&gt;
		or val == 'y'&lt;br /&gt;
		or val == 'true'&lt;br /&gt;
		or val == 't'&lt;br /&gt;
		or val == 'on'&lt;br /&gt;
		or tonumber(val) == 1&lt;br /&gt;
	then&lt;br /&gt;
		return true&lt;br /&gt;
	elseif val == false&lt;br /&gt;
		or val == 'no'&lt;br /&gt;
		or val == 'n'&lt;br /&gt;
		or val == 'false'&lt;br /&gt;
		or val == 'f'&lt;br /&gt;
		or val == 'off'&lt;br /&gt;
		or tonumber(val) == 0&lt;br /&gt;
	then&lt;br /&gt;
		return false&lt;br /&gt;
	else&lt;br /&gt;
		return default&lt;br /&gt;
	end&lt;br /&gt;
end&lt;/div&gt;</summary>
		<author><name>Colt</name></author>
	</entry>
	<entry>
		<id>https://confrontation.wiki/index.php?title=Module:Uses_TemplateStyles/config&amp;diff=2217</id>
		<title>Module:Uses TemplateStyles/config</title>
		<link rel="alternate" type="text/html" href="https://confrontation.wiki/index.php?title=Module:Uses_TemplateStyles/config&amp;diff=2217"/>
		<updated>2021-07-19T05:37:04Z</updated>

		<summary type="html">&lt;p&gt;Colt: 4 revisions imported&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;local cfg = {} -- Don’t touch this line.&lt;br /&gt;
&lt;br /&gt;
-- Subpage blacklist: these subpages will not be categorized (except for the&lt;br /&gt;
-- error category, which is always added if there is an error).&lt;br /&gt;
-- For example “Template:Foo/doc” matches the `doc = true` rule, so it will have&lt;br /&gt;
-- no categories. “Template:Foo” and “Template:Foo/documentation” match no rules,&lt;br /&gt;
-- so they *will* have categories. All rules should be in the&lt;br /&gt;
--   ['&amp;lt;subpage name&amp;gt;'] = true,&lt;br /&gt;
-- format.&lt;br /&gt;
cfg['subpage_blacklist'] = {&lt;br /&gt;
	['doc'] = true,&lt;br /&gt;
	['sandbox'] = true,&lt;br /&gt;
	['sandbox2'] = true,&lt;br /&gt;
	['testcases'] = true,&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
-- Sandbox title: if the stylesheet’s title is &amp;lt;template&amp;gt;/&amp;lt;stylesheet&amp;gt;.css, the&lt;br /&gt;
-- stylesheet’s sandbox is expected to be at &amp;lt;template&amp;gt;/&amp;lt;sandbox_title&amp;gt;/&amp;lt;stylesheet&amp;gt;.css&lt;br /&gt;
-- Set to nil to disable sandbox links.&lt;br /&gt;
cfg['sandbox_title'] = 'sandbox'&lt;br /&gt;
&lt;br /&gt;
-- Error category: this category is added if the module call contains errors&lt;br /&gt;
-- (e.g. no stylesheet listed). A category name without namespace, or nil&lt;br /&gt;
-- to disable categorization (not recommended).&lt;br /&gt;
cfg['error_category'] = nil&lt;br /&gt;
&lt;br /&gt;
-- Default category: this category is added if no custom category is specified&lt;br /&gt;
-- in module/template call. A category name without namespace, or nil&lt;br /&gt;
-- to disable categorization.&lt;br /&gt;
cfg['default_category'] = 'Templates using TemplateStyles'&lt;br /&gt;
	.. mw.getCurrentFrame():callParserFunction(&amp;quot;#translation:&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
-- Protection conflict category: this category is added if the protection level&lt;br /&gt;
-- of any stylesheet differs from the one of the template. A category name&lt;br /&gt;
-- without namespace, or nil to disable categorization (not recommended).&lt;br /&gt;
cfg['protection_conflict_category'] = nil&lt;br /&gt;
&lt;br /&gt;
-- Padlock pattern: Lua pattern to search on protected stylesheets for, or nil&lt;br /&gt;
-- to disable padlock check.&lt;br /&gt;
cfg['padlock_pattern'] = nil&lt;br /&gt;
&lt;br /&gt;
-- Missing padlock category: this category is added if a protected stylesheet&lt;br /&gt;
-- doesn’t contain any padlock template (specified by the above Lua pattern).&lt;br /&gt;
-- A category name without namespace (no nil allowed) if the pattern is not nil,&lt;br /&gt;
-- unused (and thus may be nil) otherwise.&lt;br /&gt;
cfg['missing_padlock_category'] = nil&lt;br /&gt;
&lt;br /&gt;
return cfg -- Don’t touch this line.&lt;/div&gt;</summary>
		<author><name>Colt</name></author>
	</entry>
	<entry>
		<id>https://confrontation.wiki/index.php?title=Module:Uses_TemplateStyles&amp;diff=2212</id>
		<title>Module:Uses TemplateStyles</title>
		<link rel="alternate" type="text/html" href="https://confrontation.wiki/index.php?title=Module:Uses_TemplateStyles&amp;diff=2212"/>
		<updated>2021-07-19T05:37:04Z</updated>

		<summary type="html">&lt;p&gt;Colt: 4 revisions imported&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;-- This module implements the {{Uses TemplateStyles}} template.&lt;br /&gt;
local yesno = require('Module:Yesno')&lt;br /&gt;
local mList = require('Module:List')&lt;br /&gt;
local mTableTools = require('Module:TableTools')&lt;br /&gt;
local mMessageBox = require('Module:Message box')&lt;br /&gt;
local TNT = require('Module:TNT')&lt;br /&gt;
&lt;br /&gt;
local p = {}&lt;br /&gt;
&lt;br /&gt;
local function format(msg, ...)&lt;br /&gt;
	return TNT.format('I18n/Uses TemplateStyles', msg, ...)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
local function getConfig()&lt;br /&gt;
	return mw.loadData('Module:Uses TemplateStyles/config')&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.main(frame)&lt;br /&gt;
	local origArgs = frame:getParent().args&lt;br /&gt;
	local args = {}&lt;br /&gt;
	for k, v in pairs(origArgs) do&lt;br /&gt;
		v = v:match('^%s*(.-)%s*$')&lt;br /&gt;
		if v ~= '' then&lt;br /&gt;
			args[k] = v&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	return p._main(args)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p._main(args, cfg)&lt;br /&gt;
	local tStyles = mTableTools.compressSparseArray(args)&lt;br /&gt;
	local box = p.renderBox(tStyles)&lt;br /&gt;
	local trackingCategories = p.renderTrackingCategories(args, tStyles)&lt;br /&gt;
	return box .. trackingCategories&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.renderBox(tStyles)&lt;br /&gt;
	local boxArgs = {}&lt;br /&gt;
	if #tStyles &amp;lt; 1 then&lt;br /&gt;
		boxArgs.text = string.format('&amp;lt;strong class=&amp;quot;error&amp;quot;&amp;gt;%s&amp;lt;/strong&amp;gt;', format('error-emptylist'))&lt;br /&gt;
	else&lt;br /&gt;
		local cfg = getConfig()&lt;br /&gt;
		local tStylesLinks = {}&lt;br /&gt;
		for i, ts in ipairs(tStyles) do&lt;br /&gt;
			local link = string.format('[[:%s]]', ts)&lt;br /&gt;
			local sandboxLink = nil&lt;br /&gt;
			local tsTitle = mw.title.new(ts)&lt;br /&gt;
			if tsTitle and cfg['sandbox_title'] then&lt;br /&gt;
				local tsSandboxTitle = mw.title.new(string.format(&lt;br /&gt;
					'%s:%s/%s/%s', tsTitle.nsText, tsTitle.baseText, cfg['sandbox_title'], tsTitle.subpageText))&lt;br /&gt;
				if tsSandboxTitle and tsSandboxTitle.exists then&lt;br /&gt;
					sandboxLink = format('sandboxlink', link, ':' .. tsSandboxTitle.prefixedText)&lt;br /&gt;
				end&lt;br /&gt;
			end&lt;br /&gt;
			tStylesLinks[i] = sandboxLink or link&lt;br /&gt;
		end&lt;br /&gt;
		local tStylesList = mList.makeList('bulleted', tStylesLinks)&lt;br /&gt;
		boxArgs.text = format(&lt;br /&gt;
			mw.title.getCurrentTitle():inNamespaces(828,829) and 'header-module' or 'header-template') ..&lt;br /&gt;
			'\n' .. tStylesList&lt;br /&gt;
	end&lt;br /&gt;
	boxArgs.type = 'notice'&lt;br /&gt;
	boxArgs.small = true&lt;br /&gt;
	boxArgs.image = string.format('[[File:Farm-Fresh css add.svg|32px|alt=%s]]', format('logo-alt'))&lt;br /&gt;
	return mMessageBox.main('mbox', boxArgs)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.renderTrackingCategories(args, tStyles, titleObj)&lt;br /&gt;
	if yesno(args.nocat) then&lt;br /&gt;
		return ''&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	local cfg = getConfig()&lt;br /&gt;
	&lt;br /&gt;
	local cats = {}&lt;br /&gt;
	&lt;br /&gt;
	-- Error category&lt;br /&gt;
	if #tStyles &amp;lt; 1 and cfg['error_category'] then&lt;br /&gt;
		cats[#cats + 1] = cfg['error_category']&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	-- TemplateStyles category&lt;br /&gt;
	titleObj = titleObj or mw.title.getCurrentTitle()&lt;br /&gt;
	if (titleObj.namespace == 10 or titleObj.namespace == 828)&lt;br /&gt;
		and not cfg['subpage_blacklist'][titleObj.subpageText]&lt;br /&gt;
	then&lt;br /&gt;
		local category = args.category or cfg['default_category']&lt;br /&gt;
		if category then&lt;br /&gt;
			cats[#cats + 1] = category&lt;br /&gt;
		end&lt;br /&gt;
		if not yesno(args.noprotcat) and (cfg['protection_conflict_category'] or cfg['padlock_pattern']) then&lt;br /&gt;
			local currentProt = titleObj.protectionLevels[&amp;quot;edit&amp;quot;] and titleObj.protectionLevels[&amp;quot;edit&amp;quot;][1] or nil&lt;br /&gt;
			local addedLevelCat = false&lt;br /&gt;
			local addedPadlockCat = false&lt;br /&gt;
			for i, ts in ipairs(tStyles) do&lt;br /&gt;
				local tsTitleObj = mw.title.new(ts)&lt;br /&gt;
				local tsProt = tsTitleObj.protectionLevels[&amp;quot;edit&amp;quot;] and tsTitleObj.protectionLevels[&amp;quot;edit&amp;quot;][1] or nil&lt;br /&gt;
				if cfg['protection_conflict_category'] and tsProt ~= currentProt and not addedLevelCat then&lt;br /&gt;
					addedLevelCat = true&lt;br /&gt;
					cats[#cats + 1] = cfg['protection_conflict_category']&lt;br /&gt;
				end&lt;br /&gt;
				if cfg['padlock_pattern'] and tsProt and not addedPadlockCat then&lt;br /&gt;
					local content = tsTitleObj:getContent()&lt;br /&gt;
					if not content:find(cfg['padlock_pattern']) then&lt;br /&gt;
						cats[#cats + 1] = cfg['missing_padlock_category']&lt;br /&gt;
						addedPadlockCat = true&lt;br /&gt;
					end&lt;br /&gt;
				end&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	for i, cat in ipairs(cats) do&lt;br /&gt;
		cats[i] = string.format('[[Category:%s]]', cat)&lt;br /&gt;
	end&lt;br /&gt;
	return table.concat(cats)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>Colt</name></author>
	</entry>
	<entry>
		<id>https://confrontation.wiki/index.php?title=Module:Template_translation&amp;diff=2207</id>
		<title>Module:Template translation</title>
		<link rel="alternate" type="text/html" href="https://confrontation.wiki/index.php?title=Module:Template_translation&amp;diff=2207"/>
		<updated>2021-07-19T05:37:03Z</updated>

		<summary type="html">&lt;p&gt;Colt: 92 revisions imported&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;local this = {}&lt;br /&gt;
&lt;br /&gt;
function this.checkLanguage(subpage, default)&lt;br /&gt;
    --[[Check first if there's an any invalid character that would cause the&lt;br /&gt;
        mw.language.isKnownLanguageTag function() to throw an exception:&lt;br /&gt;
        - all ASCII controls in [\000-\031\127],&lt;br /&gt;
        - double quote (&amp;quot;), sharp sign (#), ampersand (&amp;amp;), apostrophe ('),&lt;br /&gt;
        - slash (/), colon (:), semicolon (;), lower than (&amp;lt;), greater than (&amp;gt;),&lt;br /&gt;
        - brackets and braces ([, ], {, }), pipe (|), backslash (\\)&lt;br /&gt;
        All other characters are accepted, including space and all non-ASCII&lt;br /&gt;
        characters (including \192, which is invalid in UTF-8).&lt;br /&gt;
    --]]&lt;br /&gt;
    if mw.language.isValidCode(subpage) and mw.language.isKnownLanguageTag(subpage)&lt;br /&gt;
    --[[However &amp;quot;SupportedLanguages&amp;quot; are too restrictive, as they discard many&lt;br /&gt;
        valid BCP47 script variants (only because MediaWiki still does not&lt;br /&gt;
        define automatic transliterators for them, e.g. &amp;quot;en-dsrt&amp;quot; or&lt;br /&gt;
        &amp;quot;fr-brai&amp;quot; for French transliteration in Braille), and country variants,&lt;br /&gt;
        (useful in localized data, even if they are no longer used for&lt;br /&gt;
        translations, such as zh-cn, also useful for legacy codes).&lt;br /&gt;
        We want to avoid matching subpagenames containing any uppercase letter,&lt;br /&gt;
        (even if they are considered valid in BCP 47, in which they are&lt;br /&gt;
        case-insensitive; they are not &amp;quot;SupportedLanguages&amp;quot; for MediaWiki, so&lt;br /&gt;
        they are not &amp;quot;KnownLanguageTags&amp;quot; for MediaWiki).&lt;br /&gt;
        To be more restrictive, we exclude any character&lt;br /&gt;
        * that is not ASCII and not a lowercase letter, minus-hyphen, or digit,&lt;br /&gt;
          or does not start by a letter or does not finish by a letter or digit;&lt;br /&gt;
        * or that has more than 8 characters between hyphens;&lt;br /&gt;
        * or that has two hyphens;&lt;br /&gt;
        * or with specific uses in template subpages and unusable as languages.&lt;br /&gt;
    --]]&lt;br /&gt;
    or  string.find(subpage, &amp;quot;^[%l][%-%d%l]*[%d%l]$&amp;quot;) ~= nil&lt;br /&gt;
    and string.find(subpage, &amp;quot;[%d%l][%d%l][%d%l][%d%l][%d%l][%d%l][%d%l][%d%l][%d%l]&amp;quot;) == nil&lt;br /&gt;
    and string.find(subpage, &amp;quot;%-%-&amp;quot;) == nil&lt;br /&gt;
    and subpage ~= &amp;quot;doc&amp;quot;&lt;br /&gt;
    and subpage ~= &amp;quot;layout&amp;quot;&lt;br /&gt;
    and subpage ~= &amp;quot;sandbox&amp;quot;&lt;br /&gt;
    and subpage ~= &amp;quot;testcases&amp;quot;&lt;br /&gt;
    and subpage ~= &amp;quot;init&amp;quot;&lt;br /&gt;
    and subpage ~= &amp;quot;preload&amp;quot;&lt;br /&gt;
    and subpage ~= &amp;quot;subpage&amp;quot;&lt;br /&gt;
    and subpage ~= &amp;quot;subpage2&amp;quot;&lt;br /&gt;
    and subpage ~= &amp;quot;sub-subpage&amp;quot;&lt;br /&gt;
    and subpage ~= &amp;quot;sub-sub-subpage&amp;quot;&lt;br /&gt;
    and subpage ~= &amp;quot;sub-sub-sub-subpage&amp;quot;&lt;br /&gt;
    then&lt;br /&gt;
        return subpage&lt;br /&gt;
    end&lt;br /&gt;
    -- Otherwise there's currently no known language subpage&lt;br /&gt;
    return default&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
--[[Get the last subpage of an arbitrary page if it is a translation.&lt;br /&gt;
    To be used from templates.&lt;br /&gt;
    ]]&lt;br /&gt;
function this.getLanguageSubpage(frame)&lt;br /&gt;
	local title = frame and frame.args[1]&lt;br /&gt;
	if not title or title == '' then&lt;br /&gt;
		title = mw.title.getCurrentTitle()&lt;br /&gt;
	end&lt;br /&gt;
	return this._getLanguageSubpage(title)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
--[[Get the last subpage of an arbitrary page if it is a translation.&lt;br /&gt;
    To be used from Lua.&lt;br /&gt;
    ]]&lt;br /&gt;
function this._getLanguageSubpage(title)&lt;br /&gt;
	if type(title) == 'string' then&lt;br /&gt;
		title = mw.title.new(title)&lt;br /&gt;
	end&lt;br /&gt;
	if not title then&lt;br /&gt;
		-- invalid title&lt;br /&gt;
		return mw.language.getContentLanguage():getCode()&lt;br /&gt;
	end&lt;br /&gt;
	--[[This code does not work in all namespaces where the Translate tool works.&lt;br /&gt;
	--  It works in the main namespace on Meta because it allows subpages there&lt;br /&gt;
	--  It would not work in the main namespace of English Wikipedia (but the&lt;br /&gt;
	--  articles are monolignual on that wiki).&lt;br /&gt;
	--  On Meta-Wiki the main space uses subpages and its pages are translated.&lt;br /&gt;
	--  The Translate tool allows translatng pages in all namespaces, even if&lt;br /&gt;
	--  the namespace officially does not have subpages.&lt;br /&gt;
	--  On Meta-Wiki the Category namespace still does not have subpages enabled,&lt;br /&gt;
	--  even if they would be very useful for categorizing templates, that DO have&lt;br /&gt;
	--  subpages (for documentatio and tstboxes pages). This is a misconfiguration&lt;br /&gt;
	--  bug of Meta-Wiki. The work-around is to split the full title and then&lt;br /&gt;
	--  get the last titlepart.&lt;br /&gt;
	local subpage = title.subpageText&lt;br /&gt;
	--]]&lt;br /&gt;
	local titleparts = mw.text.split(title.fullText, '/')&lt;br /&gt;
	local subpage = titleparts[#titleparts]&lt;br /&gt;
	return this.checkLanguage(subpage, mw.language.getContentLanguage():getCode())&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
--[[Get the last subpage of the current page if it is a translation.&lt;br /&gt;
    ]]&lt;br /&gt;
function this.getCurrentLanguageSubpage()&lt;br /&gt;
	return this._getLanguageSubpage(mw.title.getCurrentTitle())&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
--[[Get the first part of the language code of the subpage, before the '-'.&lt;br /&gt;
    ]]&lt;br /&gt;
function this.getMainLanguageSubpage()&lt;br /&gt;
	parts = mw.text.split( this.getCurrentLanguageSubpage(), '-' )&lt;br /&gt;
	return parts[1]&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
--[[Get the last subpage of the current frame if it is a translation.&lt;br /&gt;
    Not used locally.&lt;br /&gt;
    ]]&lt;br /&gt;
function this.getFrameLanguageSubpage(frame)&lt;br /&gt;
	return this._getLanguageSubpage(frame:getParent():getTitle())&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
--[[Get the language of the current page.&lt;br /&gt;
    Not used locally.&lt;br /&gt;
    ]]&lt;br /&gt;
function this.getLanguage()&lt;br /&gt;
    local subpage = mw.title.getCurrentTitle().subpageText&lt;br /&gt;
    return this.checkLanguage(subpage, mw.language.getContentLanguage():getCode())&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
--[[Get the language of the current frame.&lt;br /&gt;
    Not used locally.&lt;br /&gt;
    ]]&lt;br /&gt;
function this.getFrameLanguage(frame)&lt;br /&gt;
    local titleparts = mw.text.split(frame:getParent():getTitle(), '/')&lt;br /&gt;
    local subpage = titleparts[#titleparts]&lt;br /&gt;
    return this.checkLanguage(subpage, mw.language.getContentLanguage():getCode())&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function this.title(namespace, basepagename, subpage)&lt;br /&gt;
    local message, title&lt;br /&gt;
    local pagename = basepagename&lt;br /&gt;
    if (subpage or '') ~= ''&lt;br /&gt;
    then&lt;br /&gt;
        pagename = pagename .. '/' .. subpage&lt;br /&gt;
    end&lt;br /&gt;
    local valid, title = xpcall(function()&lt;br /&gt;
            return mw.title.new(pagename, namespace) -- costly&lt;br /&gt;
        end, function(msg) -- catch undocumented exception (!?)&lt;br /&gt;
            -- thrown when namespace does not exist. The doc still&lt;br /&gt;
            -- says it should return a title, even in that case...&lt;br /&gt;
            message = msg&lt;br /&gt;
        end)&lt;br /&gt;
    if valid and title ~= nil and (title.id or 0) ~= 0&lt;br /&gt;
    then&lt;br /&gt;
        return title&lt;br /&gt;
    end&lt;br /&gt;
    return { -- &amp;quot;pseudo&amp;quot; mw.title object with id = nil in case of error&lt;br /&gt;
        prefixedText = pagename, -- the only property we need below&lt;br /&gt;
        message = message -- only for debugging&lt;br /&gt;
    }&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
--[[If on a translation subpage (like Foobar/de), this function returns&lt;br /&gt;
    a given template in the same language, if the translation is available.&lt;br /&gt;
    Otherwise, the template is returned in its default language, without&lt;br /&gt;
    modification.&lt;br /&gt;
    This is aimed at replacing the current implementation of Template:TNTN.&lt;br /&gt;
&lt;br /&gt;
    This version does not expand the returned template name: this solves the&lt;br /&gt;
    problem of self-recursion in TNT when translatable templates need themselves&lt;br /&gt;
    to transclude other translable templates (such as Tnavbar).&lt;br /&gt;
    ]]&lt;br /&gt;
function this.getTranslatedTemplate(frame, withStatus)&lt;br /&gt;
    local args = frame.args&lt;br /&gt;
    local pagename = args['template']&lt;br /&gt;
    &lt;br /&gt;
    --[[Check whether the pagename is actually in the Template namespace, or&lt;br /&gt;
        if we're transcluding a main-namespace page.&lt;br /&gt;
        (added for backward compatibility of Template:TNT)&lt;br /&gt;
        ]]&lt;br /&gt;
    local title&lt;br /&gt;
    local namespace = args['tntns'] or ''&lt;br /&gt;
    if (namespace ~= '') -- Checks for tntns parameter for custom ns.&lt;br /&gt;
    then&lt;br /&gt;
        title = this.title(namespace, pagename) -- Costly&lt;br /&gt;
    else -- Supposes that set page is in ns10.&lt;br /&gt;
    	namespace = 'Template'&lt;br /&gt;
        title = this.title(namespace, pagename) -- Costly&lt;br /&gt;
        if title.id == nil&lt;br /&gt;
        then -- not found in the Template namespace, assume the main namespace (for backward compatibility)&lt;br /&gt;
    	    namespace = ''&lt;br /&gt;
            title = this.title(namespace, pagename) -- Costly&lt;br /&gt;
        end&lt;br /&gt;
    end&lt;br /&gt;
    &lt;br /&gt;
    -- Get the last subpage and check if it matches a known language code.&lt;br /&gt;
    local subpage = args['uselang'] or ''&lt;br /&gt;
    if (subpage == '')&lt;br /&gt;
    then&lt;br /&gt;
        subpage = this.getCurrentLanguageSubpage()&lt;br /&gt;
    end&lt;br /&gt;
    if (subpage == '')&lt;br /&gt;
    then&lt;br /&gt;
        -- Check if a translation of the pagename exists in English&lt;br /&gt;
        local newtitle = this.title(namespace, pagename, 'en') -- Costly&lt;br /&gt;
        -- Use the translation when it exists&lt;br /&gt;
        if newtitle.id ~= nil&lt;br /&gt;
        then&lt;br /&gt;
            title = newtitle&lt;br /&gt;
        end&lt;br /&gt;
    else&lt;br /&gt;
        -- Check if a translation of the pagename exists in that language&lt;br /&gt;
        local newtitle = this.title(namespace, pagename, subpage) -- Costly&lt;br /&gt;
        if newtitle.id == nil&lt;br /&gt;
        then&lt;br /&gt;
            -- Check if a translation of the pagename exists in English&lt;br /&gt;
            newtitle = this.title(namespace, pagename, 'en') -- Costly&lt;br /&gt;
        end&lt;br /&gt;
        -- Use the translation when it exists&lt;br /&gt;
        if newtitle.id ~= nil&lt;br /&gt;
        then&lt;br /&gt;
            title = newtitle&lt;br /&gt;
        end&lt;br /&gt;
    end&lt;br /&gt;
    -- At this point the title should exist&lt;br /&gt;
    if withStatus then&lt;br /&gt;
    	-- status returned to Lua function below&lt;br /&gt;
        return title.prefixedText, title.id ~= nil&lt;br /&gt;
    else&lt;br /&gt;
    	-- returned directly to MediaWiki&lt;br /&gt;
        return title.prefixedText&lt;br /&gt;
    end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
--[[If on a translation subpage (like Foobar/de), this function renders&lt;br /&gt;
    a given template in the same language, if the translation is available.&lt;br /&gt;
    Otherwise, the template is rendered in its default language, without&lt;br /&gt;
    modification.&lt;br /&gt;
    This is aimed at replacing the current implementation of Template:TNT.&lt;br /&gt;
    &lt;br /&gt;
    Note that translatable templates cannot transclude themselves other&lt;br /&gt;
    translatable templates, as it will recurse on TNT. Use TNTN instead&lt;br /&gt;
    to return only the effective template name to expand externally, with&lt;br /&gt;
    template parameters also provided externally.&lt;br /&gt;
    ]]&lt;br /&gt;
function this.renderTranslatedTemplate(frame)&lt;br /&gt;
	local title, found = this.getTranslatedTemplate(frame, true)&lt;br /&gt;
    -- At this point the title should exist prior to performing the expansion&lt;br /&gt;
    -- of the template, otherwise render a red link to the missing page&lt;br /&gt;
    -- (resolved in its assumed namespace). If we don't tet this here, a&lt;br /&gt;
    -- script error would be thrown. Returning a red link is consistant with&lt;br /&gt;
    -- MediaWiki behavior when attempting to transclude inexistant templates.&lt;br /&gt;
	if not found then&lt;br /&gt;
		return '[[' .. title .. ']]'&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
    -- Copy args pseudo-table to a proper table so we can feed it to expandTemplate.&lt;br /&gt;
    -- Then render the pagename.&lt;br /&gt;
    local args = frame.args&lt;br /&gt;
    local pargs = (frame:getParent() or {}).args&lt;br /&gt;
    local arguments = {}&lt;br /&gt;
    if (args['noshift'] or '') == ''&lt;br /&gt;
    then&lt;br /&gt;
        for k, v in pairs(pargs) do&lt;br /&gt;
            -- numbered args &amp;gt;= 1 need to be shifted&lt;br /&gt;
            local n = tonumber(k) or 0&lt;br /&gt;
            if (n &amp;gt; 0)&lt;br /&gt;
            then&lt;br /&gt;
                if (n &amp;gt;= 2)&lt;br /&gt;
                then&lt;br /&gt;
                    arguments[n - 1] = v&lt;br /&gt;
                end&lt;br /&gt;
            else&lt;br /&gt;
                arguments[k] = v&lt;br /&gt;
            end&lt;br /&gt;
        end&lt;br /&gt;
    else -- special case where TNT is used as autotranslate&lt;br /&gt;
    	-- (don't shift again what is shifted in the invokation)&lt;br /&gt;
        for k, v in pairs(pargs) do&lt;br /&gt;
            arguments[k] = v&lt;br /&gt;
        end&lt;br /&gt;
    end&lt;br /&gt;
    arguments['template'] = title -- override the existing parameter of the base template name supplied with the full name of the actual template expanded&lt;br /&gt;
    arguments['tntns'] = nil -- discard the specified namespace override&lt;br /&gt;
    arguments['uselang'] = args['uselang'] -- argument forwarded into parent frame&lt;br /&gt;
    arguments['noshift'] = args['noshift'] -- argument forwarded into parent frame&lt;br /&gt;
    &lt;br /&gt;
    return frame:expandTemplate{title = ':' .. title, args = arguments}&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
--[[A helper for mocking TNT in Special:TemplateSandbox. TNT breaks&lt;br /&gt;
    TemplateSandbox; mocking it with this method means templates won't be&lt;br /&gt;
    localized but at least TemplateSandbox substitutions will work properly.&lt;br /&gt;
    Won't work with complex uses.&lt;br /&gt;
    ]]&lt;br /&gt;
function this.mockTNT(frame)&lt;br /&gt;
    local pargs = (frame:getParent() or {}).args&lt;br /&gt;
    local arguments = {}&lt;br /&gt;
    for k, v in pairs(pargs) do&lt;br /&gt;
        -- numbered args &amp;gt;= 1 need to be shifted&lt;br /&gt;
        local n = tonumber(k) or 0&lt;br /&gt;
        if (n &amp;gt; 0)&lt;br /&gt;
        then&lt;br /&gt;
            if (n &amp;gt;= 2)&lt;br /&gt;
            then&lt;br /&gt;
                arguments[n - 1] = v&lt;br /&gt;
            end&lt;br /&gt;
        else&lt;br /&gt;
            arguments[k] = v&lt;br /&gt;
        end&lt;br /&gt;
    end&lt;br /&gt;
    if not pargs[1]&lt;br /&gt;
    then&lt;br /&gt;
    	return ''&lt;br /&gt;
	end&lt;br /&gt;
    return frame:expandTemplate{title = 'Template:' .. pargs[1], args = arguments}&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return this&lt;/div&gt;</summary>
		<author><name>Colt</name></author>
	</entry>
	<entry>
		<id>https://confrontation.wiki/index.php?title=Module:TableTools&amp;diff=2114</id>
		<title>Module:TableTools</title>
		<link rel="alternate" type="text/html" href="https://confrontation.wiki/index.php?title=Module:TableTools&amp;diff=2114"/>
		<updated>2021-07-19T05:36:58Z</updated>

		<summary type="html">&lt;p&gt;Colt: 54 revisions imported&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;--[[&lt;br /&gt;
------------------------------------------------------------------------------------&lt;br /&gt;
--                               TableTools                                       --&lt;br /&gt;
--                                                                                --&lt;br /&gt;
-- This module includes a number of functions for dealing with Lua tables.        --&lt;br /&gt;
-- It is a meta-module, meant to be called from other Lua modules, and should     --&lt;br /&gt;
-- not be called directly from #invoke.                                           --&lt;br /&gt;
------------------------------------------------------------------------------------&lt;br /&gt;
--]]&lt;br /&gt;
&lt;br /&gt;
local libraryUtil = require('libraryUtil')&lt;br /&gt;
&lt;br /&gt;
local p = {}&lt;br /&gt;
&lt;br /&gt;
-- Define often-used variables and functions.&lt;br /&gt;
local floor = math.floor&lt;br /&gt;
local infinity = math.huge&lt;br /&gt;
local checkType = libraryUtil.checkType&lt;br /&gt;
local checkTypeMulti = libraryUtil.checkTypeMulti&lt;br /&gt;
&lt;br /&gt;
--[[&lt;br /&gt;
------------------------------------------------------------------------------------&lt;br /&gt;
-- isPositiveInteger&lt;br /&gt;
--&lt;br /&gt;
-- This function returns true if the given value is a positive integer, and false&lt;br /&gt;
-- if not. Although it doesn't operate on tables, it is included here as it is&lt;br /&gt;
-- useful for determining whether a given table key is in the array part or the&lt;br /&gt;
-- hash part of a table.&lt;br /&gt;
------------------------------------------------------------------------------------&lt;br /&gt;
--]]&lt;br /&gt;
function p.isPositiveInteger(v)&lt;br /&gt;
	if type(v) == 'number' and v &amp;gt;= 1 and floor(v) == v and v &amp;lt; infinity then&lt;br /&gt;
		return true&lt;br /&gt;
	else&lt;br /&gt;
		return false&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
--[[&lt;br /&gt;
------------------------------------------------------------------------------------&lt;br /&gt;
-- isNan&lt;br /&gt;
--&lt;br /&gt;
-- This function returns true if the given number is a NaN value, and false&lt;br /&gt;
-- if not. Although it doesn't operate on tables, it is included here as it is&lt;br /&gt;
-- useful for determining whether a value can be a valid table key. Lua will&lt;br /&gt;
-- generate an error if a NaN is used as a table key.&lt;br /&gt;
------------------------------------------------------------------------------------&lt;br /&gt;
--]]&lt;br /&gt;
function p.isNan(v)&lt;br /&gt;
	if type(v) == 'number' and tostring(v) == '-nan' then&lt;br /&gt;
		return true&lt;br /&gt;
	else&lt;br /&gt;
		return false&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
--[[&lt;br /&gt;
------------------------------------------------------------------------------------&lt;br /&gt;
-- shallowClone&lt;br /&gt;
--&lt;br /&gt;
-- This returns a clone of a table. The value returned is a new table, but all&lt;br /&gt;
-- subtables and functions are shared. Metamethods are respected, but the returned&lt;br /&gt;
-- table will have no metatable of its own.&lt;br /&gt;
------------------------------------------------------------------------------------&lt;br /&gt;
--]]&lt;br /&gt;
function p.shallowClone(t)&lt;br /&gt;
	local ret = {}&lt;br /&gt;
	for k, v in pairs(t) do&lt;br /&gt;
		ret[k] = v&lt;br /&gt;
	end&lt;br /&gt;
	return ret&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
--[[&lt;br /&gt;
------------------------------------------------------------------------------------&lt;br /&gt;
-- removeDuplicates&lt;br /&gt;
--&lt;br /&gt;
-- This removes duplicate values from an array. Non-positive-integer keys are&lt;br /&gt;
-- ignored. The earliest value is kept, and all subsequent duplicate values are&lt;br /&gt;
-- removed, but otherwise the array order is unchanged.&lt;br /&gt;
------------------------------------------------------------------------------------&lt;br /&gt;
--]]&lt;br /&gt;
function p.removeDuplicates(t)&lt;br /&gt;
	checkType('removeDuplicates', 1, t, 'table')&lt;br /&gt;
	local isNan = p.isNan&lt;br /&gt;
	local ret, exists = {}, {}&lt;br /&gt;
	for i, v in ipairs(t) do&lt;br /&gt;
		if isNan(v) then&lt;br /&gt;
			-- NaNs can't be table keys, and they are also unique, so we don't need to check existence.&lt;br /&gt;
			ret[#ret + 1] = v&lt;br /&gt;
		else&lt;br /&gt;
			if not exists[v] then&lt;br /&gt;
				ret[#ret + 1] = v&lt;br /&gt;
				exists[v] = true&lt;br /&gt;
			end&lt;br /&gt;
		end	&lt;br /&gt;
	end&lt;br /&gt;
	return ret&lt;br /&gt;
end			&lt;br /&gt;
&lt;br /&gt;
--[[&lt;br /&gt;
------------------------------------------------------------------------------------&lt;br /&gt;
-- numKeys&lt;br /&gt;
--&lt;br /&gt;
-- This takes a table and returns an array containing the numbers of any numerical&lt;br /&gt;
-- keys that have non-nil values, sorted in numerical order.&lt;br /&gt;
------------------------------------------------------------------------------------&lt;br /&gt;
--]]&lt;br /&gt;
function p.numKeys(t)&lt;br /&gt;
	checkType('numKeys', 1, t, 'table')&lt;br /&gt;
	local isPositiveInteger = p.isPositiveInteger&lt;br /&gt;
	local nums = {}&lt;br /&gt;
	for k, v in pairs(t) do&lt;br /&gt;
		if isPositiveInteger(k) then&lt;br /&gt;
			nums[#nums + 1] = k&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	table.sort(nums)&lt;br /&gt;
	return nums&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
--[[&lt;br /&gt;
------------------------------------------------------------------------------------&lt;br /&gt;
-- affixNums&lt;br /&gt;
--&lt;br /&gt;
-- This takes a table and returns an array containing the numbers of keys with the&lt;br /&gt;
-- specified prefix and suffix. For example, for the table&lt;br /&gt;
-- {a1 = 'foo', a3 = 'bar', a6 = 'baz'} and the prefix &amp;quot;a&amp;quot;, affixNums will&lt;br /&gt;
-- return {1, 3, 6}.&lt;br /&gt;
------------------------------------------------------------------------------------&lt;br /&gt;
--]]&lt;br /&gt;
function p.affixNums(t, prefix, suffix)&lt;br /&gt;
	checkType('affixNums', 1, t, 'table')&lt;br /&gt;
	checkType('affixNums', 2, prefix, 'string', true)&lt;br /&gt;
	checkType('affixNums', 3, suffix, 'string', true)&lt;br /&gt;
&lt;br /&gt;
	local function cleanPattern(s)&lt;br /&gt;
		-- Cleans a pattern so that the magic characters ()%.[]*+-?^$ are interpreted literally.&lt;br /&gt;
		s = s:gsub('([%(%)%%%.%[%]%*%+%-%?%^%$])', '%%%1')&lt;br /&gt;
		return s&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	prefix = prefix or ''&lt;br /&gt;
	suffix = suffix or ''&lt;br /&gt;
	prefix = cleanPattern(prefix)&lt;br /&gt;
	suffix = cleanPattern(suffix)&lt;br /&gt;
	local pattern = '^' .. prefix .. '([1-9]%d*)' .. suffix .. '$'&lt;br /&gt;
&lt;br /&gt;
	local nums = {}&lt;br /&gt;
	for k, v in pairs(t) do&lt;br /&gt;
		if type(k) == 'string' then			&lt;br /&gt;
			local num = mw.ustring.match(k, pattern)&lt;br /&gt;
			if num then&lt;br /&gt;
				nums[#nums + 1] = tonumber(num)&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	table.sort(nums)&lt;br /&gt;
	return nums&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
--[[&lt;br /&gt;
------------------------------------------------------------------------------------&lt;br /&gt;
-- numData&lt;br /&gt;
--&lt;br /&gt;
-- Given a table with keys like (&amp;quot;foo1&amp;quot;, &amp;quot;bar1&amp;quot;, &amp;quot;foo2&amp;quot;, &amp;quot;baz2&amp;quot;), returns a table&lt;br /&gt;
-- of subtables in the format &lt;br /&gt;
-- { [1] = {foo = 'text', bar = 'text'}, [2] = {foo = 'text', baz = 'text'} }&lt;br /&gt;
-- Keys that don't end with an integer are stored in a subtable named &amp;quot;other&amp;quot;.&lt;br /&gt;
-- The compress option compresses the table so that it can be iterated over with&lt;br /&gt;
-- ipairs.&lt;br /&gt;
------------------------------------------------------------------------------------&lt;br /&gt;
--]]&lt;br /&gt;
function p.numData(t, compress)&lt;br /&gt;
	checkType('numData', 1, t, 'table')&lt;br /&gt;
	checkType('numData', 2, compress, 'boolean', true)&lt;br /&gt;
	local ret = {}&lt;br /&gt;
	for k, v in pairs(t) do&lt;br /&gt;
		local prefix, num = mw.ustring.match(tostring(k), '^([^0-9]*)([1-9][0-9]*)$')&lt;br /&gt;
		if num then&lt;br /&gt;
			num = tonumber(num)&lt;br /&gt;
			local subtable = ret[num] or {}&lt;br /&gt;
			if prefix == '' then&lt;br /&gt;
				-- Positional parameters match the blank string; put them at the start of the subtable instead.&lt;br /&gt;
				prefix = 1&lt;br /&gt;
			end&lt;br /&gt;
			subtable[prefix] = v&lt;br /&gt;
			ret[num] = subtable&lt;br /&gt;
		else&lt;br /&gt;
			local subtable = ret.other or {}&lt;br /&gt;
			subtable[k] = v&lt;br /&gt;
			ret.other = subtable&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	if compress then&lt;br /&gt;
		local other = ret.other&lt;br /&gt;
		ret = p.compressSparseArray(ret)&lt;br /&gt;
		ret.other = other&lt;br /&gt;
	end&lt;br /&gt;
	return ret&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
--[[&lt;br /&gt;
------------------------------------------------------------------------------------&lt;br /&gt;
-- compressSparseArray&lt;br /&gt;
--&lt;br /&gt;
-- This takes an array with one or more nil values, and removes the nil values&lt;br /&gt;
-- while preserving the order, so that the array can be safely traversed with&lt;br /&gt;
-- ipairs.&lt;br /&gt;
------------------------------------------------------------------------------------&lt;br /&gt;
--]]&lt;br /&gt;
function p.compressSparseArray(t)&lt;br /&gt;
	checkType('compressSparseArray', 1, t, 'table')&lt;br /&gt;
	local ret = {}&lt;br /&gt;
	local nums = p.numKeys(t)&lt;br /&gt;
	for _, num in ipairs(nums) do&lt;br /&gt;
		ret[#ret + 1] = t[num]&lt;br /&gt;
	end&lt;br /&gt;
	return ret&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
--[[&lt;br /&gt;
------------------------------------------------------------------------------------&lt;br /&gt;
-- sparseIpairs&lt;br /&gt;
--&lt;br /&gt;
-- This is an iterator for sparse arrays. It can be used like ipairs, but can&lt;br /&gt;
-- handle nil values.&lt;br /&gt;
------------------------------------------------------------------------------------&lt;br /&gt;
--]]&lt;br /&gt;
function p.sparseIpairs(t)&lt;br /&gt;
	checkType('sparseIpairs', 1, t, 'table')&lt;br /&gt;
	local nums = p.numKeys(t)&lt;br /&gt;
	local i = 0&lt;br /&gt;
	local lim = #nums&lt;br /&gt;
	return function ()&lt;br /&gt;
		i = i + 1&lt;br /&gt;
		if i &amp;lt;= lim then&lt;br /&gt;
			local key = nums[i]&lt;br /&gt;
			return key, t[key]&lt;br /&gt;
		else&lt;br /&gt;
			return nil, nil&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
--[[&lt;br /&gt;
------------------------------------------------------------------------------------&lt;br /&gt;
-- size&lt;br /&gt;
--&lt;br /&gt;
-- This returns the size of a key/value pair table. It will also work on arrays,&lt;br /&gt;
-- but for arrays it is more efficient to use the # operator.&lt;br /&gt;
------------------------------------------------------------------------------------&lt;br /&gt;
--]]&lt;br /&gt;
&lt;br /&gt;
function p.size(t)&lt;br /&gt;
	checkType('size', 1, t, 'table')&lt;br /&gt;
	local i = 0&lt;br /&gt;
	for k in pairs(t) do&lt;br /&gt;
		i = i + 1&lt;br /&gt;
	end&lt;br /&gt;
	return i&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
local function defaultKeySort(item1, item2)&lt;br /&gt;
	-- &amp;quot;number&amp;quot; &amp;lt; &amp;quot;string&amp;quot;, so numbers will be sorted before strings.&lt;br /&gt;
	local type1, type2 = type(item1), type(item2)&lt;br /&gt;
	if type1 ~= type2 then&lt;br /&gt;
		return type1 &amp;lt; type2&lt;br /&gt;
	else -- This will fail with table, boolean, function.&lt;br /&gt;
		return item1 &amp;lt; item2&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
--[[&lt;br /&gt;
	Returns a list of the keys in a table, sorted using either a default&lt;br /&gt;
	comparison function or a custom keySort function.&lt;br /&gt;
]]&lt;br /&gt;
function p.keysToList(t, keySort, checked)&lt;br /&gt;
	if not checked then&lt;br /&gt;
		checkType('keysToList', 1, t, 'table')&lt;br /&gt;
		checkTypeMulti('keysToList', 2, keySort, { 'function', 'boolean', 'nil' })&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	local list = {}&lt;br /&gt;
	local index = 1&lt;br /&gt;
	for key, value in pairs(t) do&lt;br /&gt;
		list[index] = key&lt;br /&gt;
		index = index + 1&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	if keySort ~= false then&lt;br /&gt;
		keySort = type(keySort) == 'function' and keySort or defaultKeySort&lt;br /&gt;
		&lt;br /&gt;
		table.sort(list, keySort)&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	return list&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
--[[&lt;br /&gt;
	Iterates through a table, with the keys sorted using the keysToList function.&lt;br /&gt;
	If there are only numerical keys, sparseIpairs is probably more efficient.&lt;br /&gt;
]]&lt;br /&gt;
function p.sortedPairs(t, keySort)&lt;br /&gt;
	checkType('sortedPairs', 1, t, 'table')&lt;br /&gt;
	checkType('sortedPairs', 2, keySort, 'function', true)&lt;br /&gt;
	&lt;br /&gt;
	local list = p.keysToList(t, keySort, true)&lt;br /&gt;
	&lt;br /&gt;
	local i = 0&lt;br /&gt;
	return function()&lt;br /&gt;
		i = i + 1&lt;br /&gt;
		local key = list[i]&lt;br /&gt;
		if key ~= nil then&lt;br /&gt;
			return key, t[key]&lt;br /&gt;
		else&lt;br /&gt;
			return nil, nil&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
--[[&lt;br /&gt;
	Returns true if all keys in the table are consecutive integers starting at 1.&lt;br /&gt;
--]]&lt;br /&gt;
function p.isArray(t)&lt;br /&gt;
	checkType(&amp;quot;isArray&amp;quot;, 1, t, &amp;quot;table&amp;quot;)&lt;br /&gt;
	&lt;br /&gt;
	local i = 0&lt;br /&gt;
	for k, v in pairs(t) do&lt;br /&gt;
		i = i + 1&lt;br /&gt;
		if t[i] == nil then&lt;br /&gt;
			return false&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	return true&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
-- { &amp;quot;a&amp;quot;, &amp;quot;b&amp;quot;, &amp;quot;c&amp;quot; } -&amp;gt; { a = 1, b = 2, c = 3 }&lt;br /&gt;
function p.invert(array)&lt;br /&gt;
	checkType(&amp;quot;invert&amp;quot;, 1, array, &amp;quot;table&amp;quot;)&lt;br /&gt;
	&lt;br /&gt;
	local map = {}&lt;br /&gt;
	for i, v in ipairs(array) do&lt;br /&gt;
		map[v] = i&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	return map&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
--[[&lt;br /&gt;
	{ &amp;quot;a&amp;quot;, &amp;quot;b&amp;quot;, &amp;quot;c&amp;quot; } -&amp;gt; { [&amp;quot;a&amp;quot;] = true, [&amp;quot;b&amp;quot;] = true, [&amp;quot;c&amp;quot;] = true }&lt;br /&gt;
--]]&lt;br /&gt;
function p.listToSet(t)&lt;br /&gt;
	checkType(&amp;quot;listToSet&amp;quot;, 1, t, &amp;quot;table&amp;quot;)&lt;br /&gt;
	&lt;br /&gt;
	local set = {}&lt;br /&gt;
	for _, item in ipairs(t) do&lt;br /&gt;
		set[item] = true&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	return set&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
--[[&lt;br /&gt;
	Recursive deep copy function.&lt;br /&gt;
	Preserves identities of subtables.&lt;br /&gt;
	&lt;br /&gt;
]]&lt;br /&gt;
local function _deepCopy(orig, includeMetatable, already_seen)&lt;br /&gt;
	-- Stores copies of tables indexed by the original table.&lt;br /&gt;
	already_seen = already_seen or {}&lt;br /&gt;
	&lt;br /&gt;
	local copy = already_seen[orig]&lt;br /&gt;
	if copy ~= nil then&lt;br /&gt;
		return copy&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	if type(orig) == 'table' then&lt;br /&gt;
		copy = {}&lt;br /&gt;
		for orig_key, orig_value in pairs(orig) do&lt;br /&gt;
			copy[deepcopy(orig_key, includeMetatable, already_seen)] = deepcopy(orig_value, includeMetatable, already_seen)&lt;br /&gt;
		end&lt;br /&gt;
		already_seen[orig] = copy&lt;br /&gt;
		&lt;br /&gt;
		if includeMetatable then&lt;br /&gt;
			local mt = getmetatable(orig)&lt;br /&gt;
			if mt ~= nil then&lt;br /&gt;
				local mt_copy = deepcopy(mt, includeMetatable, already_seen)&lt;br /&gt;
				setmetatable(copy, mt_copy)&lt;br /&gt;
				already_seen[mt] = mt_copy&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
	else -- number, string, boolean, etc&lt;br /&gt;
		copy = orig&lt;br /&gt;
	end&lt;br /&gt;
	return copy&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.deepCopy(orig, noMetatable, already_seen)&lt;br /&gt;
	checkType(&amp;quot;deepCopy&amp;quot;, 3, already_seen, &amp;quot;table&amp;quot;, true)&lt;br /&gt;
	&lt;br /&gt;
	return _deepCopy(orig, not noMetatable, already_seen)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
--[[&lt;br /&gt;
	Concatenates all values in the table that are indexed by a number, in order.&lt;br /&gt;
	sparseConcat{ a, nil, c, d }  =&amp;gt;  &amp;quot;acd&amp;quot;&lt;br /&gt;
	sparseConcat{ nil, b, c, d }  =&amp;gt;  &amp;quot;bcd&amp;quot;&lt;br /&gt;
]]&lt;br /&gt;
function p.sparseConcat(t, sep, i, j)&lt;br /&gt;
	local list = {}&lt;br /&gt;
	&lt;br /&gt;
	local list_i = 0&lt;br /&gt;
	for _, v in p.sparseIpairs(t) do&lt;br /&gt;
		list_i = list_i + 1&lt;br /&gt;
		list[list_i] = v&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	return table.concat(list, sep, i, j)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
--[[&lt;br /&gt;
-- This returns the length of a table, or the first integer key n counting from&lt;br /&gt;
-- 1 such that t[n + 1] is nil. It is similar to the operator #, but may return&lt;br /&gt;
-- a different value when there are gaps in the array portion of the table.&lt;br /&gt;
-- Intended to be used on data loaded with mw.loadData. For other tables, use #.&lt;br /&gt;
-- Note: #frame.args in frame object always be set to 0, regardless of &lt;br /&gt;
-- the number of unnamed template parameters, so use this function for&lt;br /&gt;
-- frame.args.&lt;br /&gt;
--]]&lt;br /&gt;
function p.length(t)&lt;br /&gt;
	local i = 1&lt;br /&gt;
	while t[i] ~= nil do&lt;br /&gt;
		i = i + 1&lt;br /&gt;
	end&lt;br /&gt;
	return i - 1&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.inArray(arr, valueToFind)&lt;br /&gt;
	checkType(&amp;quot;inArray&amp;quot;, 1, arr, &amp;quot;table&amp;quot;)&lt;br /&gt;
	&lt;br /&gt;
	-- if valueToFind is nil, error?&lt;br /&gt;
	&lt;br /&gt;
	for _, v in ipairs(arr) do&lt;br /&gt;
		if v == valueToFind then&lt;br /&gt;
			return true&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	return false&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>Colt</name></author>
	</entry>
	<entry>
		<id>https://confrontation.wiki/index.php?title=Module:TNT&amp;diff=2059</id>
		<title>Module:TNT</title>
		<link rel="alternate" type="text/html" href="https://confrontation.wiki/index.php?title=Module:TNT&amp;diff=2059"/>
		<updated>2021-07-19T05:36:55Z</updated>

		<summary type="html">&lt;p&gt;Colt: 31 revisions imported&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;--&lt;br /&gt;
-- INTRO:   (!!! DO NOT RENAME THIS PAGE !!!)&lt;br /&gt;
--    This module allows any template or module to be copy/pasted between&lt;br /&gt;
--    wikis without any translation changes. All translation text is stored&lt;br /&gt;
--    in the global  Data:*.tab  pages on Commons, and used everywhere.&lt;br /&gt;
--&lt;br /&gt;
-- SEE:   https://www.mediawiki.org/wiki/Multilingual_Templates_and_Modules&lt;br /&gt;
--&lt;br /&gt;
-- ATTENTION:&lt;br /&gt;
--    Please do NOT rename this module - it has to be identical on all wikis.&lt;br /&gt;
--    This code is maintained at https://www.mediawiki.org/wiki/Module:TNT&lt;br /&gt;
--    Please do not modify it anywhere else, as it may get copied and override your changes.&lt;br /&gt;
--    Suggestions can be made at https://www.mediawiki.org/wiki/Module_talk:TNT&lt;br /&gt;
--&lt;br /&gt;
-- DESCRIPTION:&lt;br /&gt;
--    The &amp;quot;msg&amp;quot; function uses a Commons dataset to translate a message&lt;br /&gt;
--    with a given key (e.g. source-table), plus optional arguments&lt;br /&gt;
--    to the wiki markup in the current content language.&lt;br /&gt;
--    Use lang=xx to set language.  Example:&lt;br /&gt;
--&lt;br /&gt;
--    {{#invoke:TNT | msg&lt;br /&gt;
--     | I18n/Template:Graphs.tab  &amp;lt;!-- https://commons.wikimedia.org/wiki/Data:I18n/Template:Graphs.tab --&amp;gt;&lt;br /&gt;
--     | source-table              &amp;lt;!-- uses a translation message with id = &amp;quot;source-table&amp;quot; --&amp;gt;&lt;br /&gt;
--     | param1 }}                 &amp;lt;!-- optional parameter --&amp;gt;&lt;br /&gt;
--&lt;br /&gt;
--&lt;br /&gt;
--    The &amp;quot;doc&amp;quot; function will generate the &amp;lt;templatedata&amp;gt; parameter documentation for templates.&lt;br /&gt;
--    This way all template parameters can be stored and localized in a single Commons dataset.&lt;br /&gt;
--    NOTE: &amp;quot;doc&amp;quot; assumes that all documentation is located in Data:Templatedata/* on Commons.&lt;br /&gt;
--&lt;br /&gt;
--    {{#invoke:TNT | doc | Graph:Lines }}&lt;br /&gt;
--        uses https://commons.wikimedia.org/wiki/Data:Templatedata/Graph:Lines.tab&lt;br /&gt;
--        if the current page is Template:Graph:Lines/doc&lt;br /&gt;
--&lt;br /&gt;
&lt;br /&gt;
local p = {}&lt;br /&gt;
local i18nDataset = 'I18n/Module:TNT.tab'&lt;br /&gt;
&lt;br /&gt;
-- Forward declaration of the local functions&lt;br /&gt;
local sanitizeDataset, loadData, link, formatMessage&lt;br /&gt;
&lt;br /&gt;
function p.msg(frame)&lt;br /&gt;
	local dataset, id&lt;br /&gt;
	local params = {}&lt;br /&gt;
	local lang = nil&lt;br /&gt;
	for k, v in pairs(frame.args) do&lt;br /&gt;
		if k == 1 then&lt;br /&gt;
			dataset = mw.text.trim(v)&lt;br /&gt;
		elseif k == 2 then&lt;br /&gt;
			id = mw.text.trim(v)&lt;br /&gt;
		elseif type(k) == 'number' then&lt;br /&gt;
			params[k - 2] = mw.text.trim(v)&lt;br /&gt;
		elseif k == 'lang' and v ~= '_' then&lt;br /&gt;
			lang = mw.text.trim(v)&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	return formatMessage(dataset, id, params, lang)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
-- Identical to p.msg() above, but used from other lua modules&lt;br /&gt;
-- Parameters:  name of dataset, message key, optional arguments&lt;br /&gt;
-- Example with 2 params:  format('I18n/Module:TNT', 'error_bad_msgkey', 'my-key', 'my-dataset')&lt;br /&gt;
function p.format(dataset, key, ...)&lt;br /&gt;
	local checkType = require('libraryUtil').checkType&lt;br /&gt;
	checkType('format', 1, dataset, 'string')&lt;br /&gt;
	checkType('format', 2, key, 'string')&lt;br /&gt;
	return formatMessage(dataset, key, {...})&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
-- Identical to p.msg() above, but used from other lua modules with the language param&lt;br /&gt;
-- Parameters:  language code, name of dataset, message key, optional arguments&lt;br /&gt;
-- Example with 2 params:  formatInLanguage('es', I18n/Module:TNT', 'error_bad_msgkey', 'my-key', 'my-dataset')&lt;br /&gt;
function p.formatInLanguage(lang, dataset, key, ...)&lt;br /&gt;
	local checkType = require('libraryUtil').checkType&lt;br /&gt;
	checkType('formatInLanguage', 1, lang, 'string')&lt;br /&gt;
	checkType('formatInLanguage', 2, dataset, 'string')&lt;br /&gt;
	checkType('formatInLanguage', 3, key, 'string')&lt;br /&gt;
	return formatMessage(dataset, key, {...}, lang)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
-- Obsolete function that adds a 'c:' prefix to the first param.&lt;br /&gt;
-- &amp;quot;Sandbox/Sample.tab&amp;quot; -&amp;gt; 'c:Data:Sandbox/Sample.tab'&lt;br /&gt;
function p.link(frame)&lt;br /&gt;
	return link(frame.args[1])&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.doc(frame)&lt;br /&gt;
	local dataset = 'Templatedata/' .. sanitizeDataset(frame.args[1])&lt;br /&gt;
	return frame:extensionTag('templatedata', p.getTemplateData(dataset)) ..&lt;br /&gt;
		   formatMessage(i18nDataset, 'edit_doc', {link(dataset)})&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.getTemplateData(dataset)&lt;br /&gt;
	-- TODO: add '_' parameter once lua starts reindexing properly for &amp;quot;all&amp;quot; languages&lt;br /&gt;
	local data = loadData(dataset)&lt;br /&gt;
	local names = {}&lt;br /&gt;
	for _, field in ipairs(data.schema.fields) do&lt;br /&gt;
		table.insert(names, field.name)&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	local params = {}&lt;br /&gt;
	local paramOrder = {}&lt;br /&gt;
	for _, row in ipairs(data.data) do&lt;br /&gt;
		local newVal = {}&lt;br /&gt;
		local name = nil&lt;br /&gt;
		for pos, columnName in ipairs(names) do&lt;br /&gt;
			if columnName == 'name' then&lt;br /&gt;
				name = row[pos]&lt;br /&gt;
			else&lt;br /&gt;
				newVal[columnName] = row[pos]&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
		if name then&lt;br /&gt;
			params[name] = newVal&lt;br /&gt;
			table.insert(paramOrder, name)&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	-- Work around json encoding treating {&amp;quot;1&amp;quot;:{...}} as an [{...}]&lt;br /&gt;
	params['zzz123']=''&lt;br /&gt;
&lt;br /&gt;
	local json = mw.text.jsonEncode({&lt;br /&gt;
		params=params,&lt;br /&gt;
		paramOrder=paramOrder,&lt;br /&gt;
		description=data.description&lt;br /&gt;
	})&lt;br /&gt;
&lt;br /&gt;
	json = string.gsub(json,'&amp;quot;zzz123&amp;quot;:&amp;quot;&amp;quot;,?', &amp;quot;&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
	return json&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
-- Local functions&lt;br /&gt;
&lt;br /&gt;
sanitizeDataset = function(dataset)&lt;br /&gt;
	if not dataset then&lt;br /&gt;
		return nil&lt;br /&gt;
	end&lt;br /&gt;
	dataset = mw.text.trim(dataset)&lt;br /&gt;
	if dataset == '' then&lt;br /&gt;
		return nil&lt;br /&gt;
	elseif string.sub(dataset,-4) ~= '.tab' then&lt;br /&gt;
		return dataset .. '.tab'&lt;br /&gt;
	else&lt;br /&gt;
		return dataset&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
loadData = function(dataset, lang)&lt;br /&gt;
	dataset = sanitizeDataset(dataset)&lt;br /&gt;
	if not dataset then&lt;br /&gt;
		error(formatMessage(i18nDataset, 'error_no_dataset', {}))&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	-- Give helpful error to thirdparties who try and copy this module.&lt;br /&gt;
	if not mw.ext or not mw.ext.data or not mw.ext.data.get then&lt;br /&gt;
		error('Missing JsonConfig extension; Cannot load https://commons.wikimedia.org/wiki/Data:' .. dataset)&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	local data = mw.ext.data.get(dataset, lang)&lt;br /&gt;
&lt;br /&gt;
	if data == false then&lt;br /&gt;
		if dataset == i18nDataset then&lt;br /&gt;
			-- Prevent cyclical calls&lt;br /&gt;
			error('Missing Commons dataset ' .. i18nDataset)&lt;br /&gt;
		else&lt;br /&gt;
			error(formatMessage(i18nDataset, 'error_bad_dataset', {link(dataset)}))&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	return data&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
-- Given a dataset name, convert it to a title with the 'commons:data:' prefix&lt;br /&gt;
link = function(dataset)&lt;br /&gt;
	return 'c:Data:' .. mw.text.trim(dataset or '')&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
formatMessage = function(dataset, key, params, lang)&lt;br /&gt;
	for _, row in pairs(loadData(dataset, lang).data) do&lt;br /&gt;
		local id, msg = unpack(row)&lt;br /&gt;
		if id == key then&lt;br /&gt;
			local result = mw.message.newRawMessage(msg, unpack(params or {}))&lt;br /&gt;
			return result:plain()&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	if dataset == i18nDataset then&lt;br /&gt;
		-- Prevent cyclical calls&lt;br /&gt;
		error('Invalid message key &amp;quot;' .. key .. '&amp;quot;')&lt;br /&gt;
	else&lt;br /&gt;
		error(formatMessage(i18nDataset, 'error_bad_msgkey', {key, link(dataset)}))&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>Colt</name></author>
	</entry>
	<entry>
		<id>https://confrontation.wiki/index.php?title=Module:No_globals&amp;diff=2027</id>
		<title>Module:No globals</title>
		<link rel="alternate" type="text/html" href="https://confrontation.wiki/index.php?title=Module:No_globals&amp;diff=2027"/>
		<updated>2021-07-19T05:36:53Z</updated>

		<summary type="html">&lt;p&gt;Colt: 22 revisions imported&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;local mt = getmetatable(_G) or {}&lt;br /&gt;
function mt.__index (t, k)&lt;br /&gt;
	if k ~= 'arg' then&lt;br /&gt;
		-- perf optimization here and below: do not load Module:TNT unless there is an error&lt;br /&gt;
		error(require('Module:TNT').format('I18n/No globals', 'err-read', tostring(k)), 2)&lt;br /&gt;
	end&lt;br /&gt;
	return nil&lt;br /&gt;
end&lt;br /&gt;
function mt.__newindex(t, k, v)&lt;br /&gt;
	if k ~= 'arg' then&lt;br /&gt;
		error(require('Module:TNT').format('I18n/No globals', 'err-write', tostring(k)), 2)&lt;br /&gt;
	end&lt;br /&gt;
	rawset(t, k, v)&lt;br /&gt;
end&lt;br /&gt;
setmetatable(_G, mt)&lt;/div&gt;</summary>
		<author><name>Colt</name></author>
	</entry>
	<entry>
		<id>https://confrontation.wiki/index.php?title=Module:Message_box/configuration&amp;diff=2004</id>
		<title>Module:Message box/configuration</title>
		<link rel="alternate" type="text/html" href="https://confrontation.wiki/index.php?title=Module:Message_box/configuration&amp;diff=2004"/>
		<updated>2021-07-19T05:36:52Z</updated>

		<summary type="html">&lt;p&gt;Colt: 53 revisions imported&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;--------------------------------------------------------------------------------&lt;br /&gt;
--                          Message box configuration                         --&lt;br /&gt;
--                                                                            --&lt;br /&gt;
-- This module contains configuration data for [[Module:Message box]].        --&lt;br /&gt;
--------------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
return {&lt;br /&gt;
	ambox = {&lt;br /&gt;
		types = {&lt;br /&gt;
			speedy = {&lt;br /&gt;
				class = 'ambox-speedy',&lt;br /&gt;
				image = 'OOjs UI icon clock-destructive.svg'&lt;br /&gt;
			},&lt;br /&gt;
			delete = {&lt;br /&gt;
				class = 'ambox-delete',&lt;br /&gt;
				image = 'OOjs UI icon alert-destructive.svg'&lt;br /&gt;
			},&lt;br /&gt;
			warning = { -- alias for content&lt;br /&gt;
				class = 'ambox-content',&lt;br /&gt;
				image = 'OOjs UI icon notice-warning.svg'&lt;br /&gt;
			},&lt;br /&gt;
			content = {&lt;br /&gt;
				class = 'ambox-content',&lt;br /&gt;
				image = 'OOjs UI icon notice-warning.svg'&lt;br /&gt;
			},&lt;br /&gt;
			style = {&lt;br /&gt;
				class = 'ambox-style',&lt;br /&gt;
				image = 'Edit-clear.svg'&lt;br /&gt;
			},&lt;br /&gt;
			move = {&lt;br /&gt;
				class = 'ambox-move',&lt;br /&gt;
				image = 'Merge-split-transwiki default.svg'&lt;br /&gt;
			},&lt;br /&gt;
			protection = {&lt;br /&gt;
				class = 'ambox-protection',&lt;br /&gt;
				image = 'Semi-protection-shackle-keyhole.svg'&lt;br /&gt;
			},&lt;br /&gt;
			notice = {&lt;br /&gt;
				class = 'ambox-notice',&lt;br /&gt;
				image = 'OOjs UI icon information-progressive.svg'&lt;br /&gt;
			}&lt;br /&gt;
		},&lt;br /&gt;
		default                     = 'notice',&lt;br /&gt;
		allowBlankParams            = {'talk', 'sect', 'date', 'issue', 'fix', 'subst', 'hidden'},&lt;br /&gt;
		allowSmall                  = true,&lt;br /&gt;
		smallParam                  = 'left',&lt;br /&gt;
		smallClass                  = 'mbox-small-left',&lt;br /&gt;
		substCheck                  = true,&lt;br /&gt;
		classes                     = {'metadata', 'plainlinks', 'ambox'},&lt;br /&gt;
		imageEmptyCell              = true,&lt;br /&gt;
		imageCheckBlank             = true,&lt;br /&gt;
		imageSmallSize              = '20x20px',&lt;br /&gt;
		imageCellDiv                = true,&lt;br /&gt;
		useCollapsibleTextFields    = true,&lt;br /&gt;
		imageRightNone              = true,&lt;br /&gt;
		sectionDefault              = 'article',&lt;br /&gt;
		allowMainspaceCategories    = true,&lt;br /&gt;
		templateCategory            = 'Article message templates',&lt;br /&gt;
	        templateCategoryRequireName = true,&lt;br /&gt;
		templateErrorCategory       = 'Article message templates with missing parameters',&lt;br /&gt;
		templateErrorParamsToCheck  = {'issue', 'fix', 'subst'}&lt;br /&gt;
	},&lt;br /&gt;
	&lt;br /&gt;
	cmbox = {&lt;br /&gt;
		types = {&lt;br /&gt;
			speedy = {&lt;br /&gt;
				class = 'cmbox-speedy',&lt;br /&gt;
				image = 'OOjs UI icon clock-destructive.svg'&lt;br /&gt;
			},&lt;br /&gt;
			delete = {&lt;br /&gt;
				class = 'cmbox-delete',&lt;br /&gt;
				image = 'OOjs UI icon alert-destructive.svg'&lt;br /&gt;
			},&lt;br /&gt;
			content = {&lt;br /&gt;
				class = 'cmbox-content',&lt;br /&gt;
				image = 'OOjs UI icon notice-warning.svg'&lt;br /&gt;
			},&lt;br /&gt;
			style = {&lt;br /&gt;
				class = 'cmbox-style',&lt;br /&gt;
				image = 'Edit-clear.svg'&lt;br /&gt;
			},&lt;br /&gt;
			move = {&lt;br /&gt;
				class = 'cmbox-move',&lt;br /&gt;
				image = 'Merge-split-transwiki default.svg'&lt;br /&gt;
			},&lt;br /&gt;
			protection = {&lt;br /&gt;
				class = 'cmbox-protection',&lt;br /&gt;
				image = 'Semi-protection-shackle-keyhole.svg'&lt;br /&gt;
			},&lt;br /&gt;
			notice = {&lt;br /&gt;
				class = 'cmbox-notice',&lt;br /&gt;
				image = 'OOjs UI icon information-progressive.svg'&lt;br /&gt;
			},&lt;br /&gt;
			caution = {&lt;br /&gt;
				class = 'cmbox-style',&lt;br /&gt;
				image = 'Ambox warning yellow.svg'&lt;br /&gt;
			}&lt;br /&gt;
		},&lt;br /&gt;
		default              = 'notice',&lt;br /&gt;
		showInvalidTypeError = true,&lt;br /&gt;
		classes              = {'plainlinks', 'cmbox'},&lt;br /&gt;
		imageEmptyCell       = true&lt;br /&gt;
	},&lt;br /&gt;
	&lt;br /&gt;
	fmbox = {&lt;br /&gt;
		types = {&lt;br /&gt;
			warning = {&lt;br /&gt;
				class = 'fmbox-warning',&lt;br /&gt;
				image = 'OOjs UI icon clock-destructive.svg'&lt;br /&gt;
			},&lt;br /&gt;
			editnotice = {&lt;br /&gt;
				class = 'fmbox-editnotice',&lt;br /&gt;
				image = 'OOjs UI icon information-progressive.svg'&lt;br /&gt;
			},&lt;br /&gt;
			system = {&lt;br /&gt;
				class = 'fmbox-system',&lt;br /&gt;
				image = 'OOjs UI icon information-progressive.svg'&lt;br /&gt;
			}&lt;br /&gt;
		},&lt;br /&gt;
		default              = 'system',&lt;br /&gt;
		showInvalidTypeError = true,&lt;br /&gt;
		classes              = {'plainlinks', 'fmbox'},&lt;br /&gt;
		imageEmptyCell       = false,&lt;br /&gt;
		imageRightNone       = false&lt;br /&gt;
	},&lt;br /&gt;
	&lt;br /&gt;
	imbox = {&lt;br /&gt;
		types = {&lt;br /&gt;
			speedy = {&lt;br /&gt;
				class = 'imbox-speedy',&lt;br /&gt;
				image = 'OOjs UI icon clock-destructive.svg'&lt;br /&gt;
			},&lt;br /&gt;
			delete = {&lt;br /&gt;
				class = 'imbox-delete',&lt;br /&gt;
				image = 'OOjs UI icon alert-destructive.svg'&lt;br /&gt;
			},&lt;br /&gt;
			content = {&lt;br /&gt;
				class = 'imbox-content',&lt;br /&gt;
				image = 'OOjs UI icon notice-warning.svg'&lt;br /&gt;
			},&lt;br /&gt;
			style = {&lt;br /&gt;
				class = 'imbox-style',&lt;br /&gt;
				image = 'Edit-clear.svg'&lt;br /&gt;
			},&lt;br /&gt;
			move = {&lt;br /&gt;
				class = 'imbox-move',&lt;br /&gt;
				image = 'Merge-split-transwiki default.svg'&lt;br /&gt;
			},&lt;br /&gt;
			protection = {&lt;br /&gt;
				class = 'imbox-protection',&lt;br /&gt;
				image = 'Semi-protection-shackle-keyhole.svg'&lt;br /&gt;
			},&lt;br /&gt;
			license = {&lt;br /&gt;
				class = 'imbox-license licensetpl',&lt;br /&gt;
				image = 'Imbox license.png' -- @todo We need an SVG version of this&lt;br /&gt;
			},&lt;br /&gt;
			featured = {&lt;br /&gt;
				class = 'imbox-featured',&lt;br /&gt;
				image = 'Cscr-featured.svg'&lt;br /&gt;
			},&lt;br /&gt;
			notice = {&lt;br /&gt;
				class = 'imbox-notice',&lt;br /&gt;
				image = 'OOjs UI icon information-progressive.svg'&lt;br /&gt;
			}&lt;br /&gt;
		},&lt;br /&gt;
		default              = 'notice',&lt;br /&gt;
		showInvalidTypeError = true,&lt;br /&gt;
		classes              = {'imbox'},&lt;br /&gt;
		usePlainlinksParam   = true,&lt;br /&gt;
		imageEmptyCell       = true,&lt;br /&gt;
		below                = true,&lt;br /&gt;
		templateCategory     = 'File message boxes'&lt;br /&gt;
	},&lt;br /&gt;
	&lt;br /&gt;
	ombox = {&lt;br /&gt;
		types = {&lt;br /&gt;
			speedy = {&lt;br /&gt;
				class = 'ombox-speedy',&lt;br /&gt;
				image = 'OOjs UI icon clock-destructive.svg'&lt;br /&gt;
			},&lt;br /&gt;
			delete = {&lt;br /&gt;
				class = 'ombox-delete',&lt;br /&gt;
				image = 'OOjs UI icon alert-destructive.svg'&lt;br /&gt;
			},&lt;br /&gt;
			warning = { -- alias for content&lt;br /&gt;
				class = 'ombox-content',&lt;br /&gt;
				image = 'OOjs UI icon notice-warning.svg'&lt;br /&gt;
			},&lt;br /&gt;
			content = {&lt;br /&gt;
				class = 'ombox-content',&lt;br /&gt;
				image = 'OOjs UI icon notice-warning.svg'&lt;br /&gt;
			},&lt;br /&gt;
			style = {&lt;br /&gt;
				class = 'ombox-style',&lt;br /&gt;
				image = 'Edit-clear.svg'&lt;br /&gt;
			},&lt;br /&gt;
			move = {&lt;br /&gt;
				class = 'ombox-move',&lt;br /&gt;
				image = 'Merge-split-transwiki default.svg'&lt;br /&gt;
			},&lt;br /&gt;
			protection = {&lt;br /&gt;
				class = 'ombox-protection',&lt;br /&gt;
				image = 'Semi-protection-shackle-keyhole.svg'&lt;br /&gt;
			},&lt;br /&gt;
			notice = {&lt;br /&gt;
				class = 'ombox-notice',&lt;br /&gt;
				image = 'OOjs UI icon information-progressive.svg'&lt;br /&gt;
			},&lt;br /&gt;
			critical = {&lt;br /&gt;
				class = 'mbox-critical',&lt;br /&gt;
				image = 'OOjs UI icon clock-destructive.svg'&lt;br /&gt;
			}&lt;br /&gt;
		},&lt;br /&gt;
		default              = 'notice',&lt;br /&gt;
		showInvalidTypeError = true,&lt;br /&gt;
		classes              = {'plainlinks', 'ombox'},&lt;br /&gt;
		allowSmall           = true,&lt;br /&gt;
		imageEmptyCell       = true,&lt;br /&gt;
		imageRightNone       = true&lt;br /&gt;
	},&lt;br /&gt;
	&lt;br /&gt;
	tmbox = {&lt;br /&gt;
		types = {&lt;br /&gt;
			speedy = {&lt;br /&gt;
				class = 'tmbox-speedy',&lt;br /&gt;
				image = 'OOjs UI icon clock-destructive.svg'&lt;br /&gt;
			},&lt;br /&gt;
			delete = {&lt;br /&gt;
				class = 'tmbox-delete',&lt;br /&gt;
				image = 'OOjs UI icon alert-destructive.svg'&lt;br /&gt;
			},&lt;br /&gt;
			content = {&lt;br /&gt;
				class = 'tmbox-content',&lt;br /&gt;
				image = 'OOjs UI icon notice-warning.svg'&lt;br /&gt;
			},&lt;br /&gt;
			style = {&lt;br /&gt;
				class = 'tmbox-style',&lt;br /&gt;
				image = 'Edit-clear.svg'&lt;br /&gt;
			},&lt;br /&gt;
			move = {&lt;br /&gt;
				class = 'tmbox-move',&lt;br /&gt;
				image = 'Merge-split-transwiki default.svg'&lt;br /&gt;
			},&lt;br /&gt;
			protection = {&lt;br /&gt;
				class = 'tmbox-protection',&lt;br /&gt;
				image = 'Semi-protection-shackle-keyhole.svg'&lt;br /&gt;
			},&lt;br /&gt;
			notice = {&lt;br /&gt;
				class = 'tmbox-notice',&lt;br /&gt;
				image = 'OOjs UI icon information-progressive.svg'&lt;br /&gt;
			}&lt;br /&gt;
		},&lt;br /&gt;
		default              = 'notice',&lt;br /&gt;
		showInvalidTypeError = true,&lt;br /&gt;
		classes              = {'plainlinks', 'tmbox'},&lt;br /&gt;
		allowSmall           = true,&lt;br /&gt;
		imageRightNone       = true,&lt;br /&gt;
		imageEmptyCell       = true,&lt;br /&gt;
		imageEmptyCellStyle  = true,&lt;br /&gt;
		templateCategory     = 'Talk message boxes'&lt;br /&gt;
	}&lt;br /&gt;
}&lt;/div&gt;</summary>
		<author><name>Colt</name></author>
	</entry>
	<entry>
		<id>https://confrontation.wiki/index.php?title=Module:Message_box&amp;diff=1950</id>
		<title>Module:Message box</title>
		<link rel="alternate" type="text/html" href="https://confrontation.wiki/index.php?title=Module:Message_box&amp;diff=1950"/>
		<updated>2021-07-19T05:36:49Z</updated>

		<summary type="html">&lt;p&gt;Colt: 84 revisions imported&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;-- This is a meta-module for producing message box templates, including&lt;br /&gt;
-- {{mbox}}, {{ambox}}, {{imbox}}, {{tmbox}}, {{ombox}}, {{cmbox}} and {{fmbox}}.&lt;br /&gt;
&lt;br /&gt;
-- Load necessary modules.&lt;br /&gt;
require('Module:No globals')&lt;br /&gt;
local getArgs&lt;br /&gt;
local yesno = require('Module:Yesno')&lt;br /&gt;
&lt;br /&gt;
-- Get a language object for formatDate and ucfirst.&lt;br /&gt;
local lang = mw.language.getContentLanguage()&lt;br /&gt;
&lt;br /&gt;
-- Define constants&lt;br /&gt;
local CONFIG_MODULE = 'Module:Message box/configuration'&lt;br /&gt;
local DEMOSPACES = {talk = 'tmbox', image = 'imbox', file = 'imbox', category = 'cmbox', article = 'ambox', main = 'ambox'}&lt;br /&gt;
&lt;br /&gt;
--------------------------------------------------------------------------------&lt;br /&gt;
-- Helper functions&lt;br /&gt;
--------------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
local function getTitleObject(...)&lt;br /&gt;
	-- Get the title object, passing the function through pcall&lt;br /&gt;
	-- in case we are over the expensive function count limit.&lt;br /&gt;
	local success, title = pcall(mw.title.new, ...)&lt;br /&gt;
	if success then&lt;br /&gt;
		return title&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
local function union(t1, t2)&lt;br /&gt;
	-- Returns the union of two arrays.&lt;br /&gt;
	local vals = {}&lt;br /&gt;
	for i, v in ipairs(t1) do&lt;br /&gt;
		vals[v] = true&lt;br /&gt;
	end&lt;br /&gt;
	for i, v in ipairs(t2) do&lt;br /&gt;
		vals[v] = true&lt;br /&gt;
	end&lt;br /&gt;
	local ret = {}&lt;br /&gt;
	for k in pairs(vals) do&lt;br /&gt;
		table.insert(ret, k)&lt;br /&gt;
	end&lt;br /&gt;
	table.sort(ret)&lt;br /&gt;
	return ret&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
local function getArgNums(args, prefix)&lt;br /&gt;
	local nums = {}&lt;br /&gt;
	for k, v in pairs(args) do&lt;br /&gt;
		local num = mw.ustring.match(tostring(k), '^' .. prefix .. '([1-9]%d*)$')&lt;br /&gt;
		if num then&lt;br /&gt;
			table.insert(nums, tonumber(num))&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	table.sort(nums)&lt;br /&gt;
	return nums&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
--------------------------------------------------------------------------------&lt;br /&gt;
-- Box class definition&lt;br /&gt;
--------------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
local MessageBox = {}&lt;br /&gt;
MessageBox.__index = MessageBox&lt;br /&gt;
&lt;br /&gt;
function MessageBox.new(boxType, args, cfg)&lt;br /&gt;
	args = args or {}&lt;br /&gt;
	local obj = {}&lt;br /&gt;
&lt;br /&gt;
	-- Set the title object and the namespace.&lt;br /&gt;
	obj.title = getTitleObject(args.page) or mw.title.getCurrentTitle()&lt;br /&gt;
&lt;br /&gt;
	-- Set the config for our box type.&lt;br /&gt;
	obj.cfg = cfg[boxType]&lt;br /&gt;
	if not obj.cfg then&lt;br /&gt;
		local ns = obj.title.namespace&lt;br /&gt;
		-- boxType is &amp;quot;mbox&amp;quot; or invalid input&lt;br /&gt;
		if args.demospace and args.demospace ~= '' then&lt;br /&gt;
			-- implement demospace parameter of mbox&lt;br /&gt;
			local demospace = string.lower(args.demospace)&lt;br /&gt;
			if DEMOSPACES[demospace] then&lt;br /&gt;
				-- use template from DEMOSPACES&lt;br /&gt;
				obj.cfg = cfg[DEMOSPACES[demospace]]&lt;br /&gt;
			elseif string.find( demospace, 'talk' ) then&lt;br /&gt;
				-- demo as a talk page&lt;br /&gt;
				obj.cfg = cfg.tmbox&lt;br /&gt;
			else&lt;br /&gt;
				-- default to ombox&lt;br /&gt;
				obj.cfg = cfg.ombox&lt;br /&gt;
			end&lt;br /&gt;
		elseif ns == 0 then&lt;br /&gt;
			obj.cfg = cfg.ambox -- main namespace&lt;br /&gt;
		elseif ns == 6 then&lt;br /&gt;
			obj.cfg = cfg.imbox -- file namespace&lt;br /&gt;
		elseif ns == 14 then&lt;br /&gt;
			obj.cfg = cfg.cmbox -- category namespace&lt;br /&gt;
		else&lt;br /&gt;
			local nsTable = mw.site.namespaces[ns]&lt;br /&gt;
			if nsTable and nsTable.isTalk then&lt;br /&gt;
				obj.cfg = cfg.tmbox -- any talk namespace&lt;br /&gt;
			else&lt;br /&gt;
				obj.cfg = cfg.ombox -- other namespaces or invalid input&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	-- Set the arguments, and remove all blank arguments except for the ones&lt;br /&gt;
	-- listed in cfg.allowBlankParams.&lt;br /&gt;
	do&lt;br /&gt;
		local newArgs = {}&lt;br /&gt;
		for k, v in pairs(args) do&lt;br /&gt;
			if v ~= '' then&lt;br /&gt;
				newArgs[k] = v&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
		for i, param in ipairs(obj.cfg.allowBlankParams or {}) do&lt;br /&gt;
			newArgs[param] = args[param]&lt;br /&gt;
		end&lt;br /&gt;
		obj.args = newArgs&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	-- Define internal data structure.&lt;br /&gt;
	obj.categories = {}&lt;br /&gt;
	obj.classes = {}&lt;br /&gt;
	-- For lazy loading of [[Module:Category handler]].&lt;br /&gt;
	obj.hasCategories = false&lt;br /&gt;
&lt;br /&gt;
	return setmetatable(obj, MessageBox)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function MessageBox:addCat(ns, cat, sort)&lt;br /&gt;
	if not cat then&lt;br /&gt;
		return nil&lt;br /&gt;
	end&lt;br /&gt;
	if sort then&lt;br /&gt;
		cat = string.format('[[Category:%s|%s]]', cat, sort)&lt;br /&gt;
	else&lt;br /&gt;
		cat = string.format('[[Category:%s]]', cat)&lt;br /&gt;
	end&lt;br /&gt;
	self.hasCategories = true&lt;br /&gt;
	self.categories[ns] = self.categories[ns] or {}&lt;br /&gt;
	table.insert(self.categories[ns], cat)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function MessageBox:addClass(class)&lt;br /&gt;
	if not class then&lt;br /&gt;
		return nil&lt;br /&gt;
	end&lt;br /&gt;
	table.insert(self.classes, class)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function MessageBox:setParameters()&lt;br /&gt;
	local args = self.args&lt;br /&gt;
	local cfg = self.cfg&lt;br /&gt;
&lt;br /&gt;
	-- Get type data.&lt;br /&gt;
	self.type = args.type&lt;br /&gt;
	local typeData = cfg.types[self.type]&lt;br /&gt;
	self.invalidTypeError = cfg.showInvalidTypeError&lt;br /&gt;
		and self.type&lt;br /&gt;
		and not typeData&lt;br /&gt;
	typeData = typeData or cfg.types[cfg.default]&lt;br /&gt;
	self.typeClass = typeData.class&lt;br /&gt;
	self.typeImage = typeData.image&lt;br /&gt;
&lt;br /&gt;
	-- Find if the box has been wrongly substituted.&lt;br /&gt;
	self.isSubstituted = cfg.substCheck and args.subst == 'SUBST'&lt;br /&gt;
&lt;br /&gt;
	-- Find whether we are using a small message box.&lt;br /&gt;
	self.isSmall = cfg.allowSmall and (&lt;br /&gt;
		cfg.smallParam and args.small == cfg.smallParam&lt;br /&gt;
		or not cfg.smallParam and yesno(args.small)&lt;br /&gt;
	)&lt;br /&gt;
&lt;br /&gt;
	-- Add attributes, classes and styles.&lt;br /&gt;
	self.id = args.id&lt;br /&gt;
	self.name = args.name&lt;br /&gt;
	if self.name then&lt;br /&gt;
		self:addClass('box-' .. string.gsub(self.name,' ','_'))&lt;br /&gt;
	end&lt;br /&gt;
	if yesno(args.plainlinks) ~= false then&lt;br /&gt;
		self:addClass('plainlinks')&lt;br /&gt;
	end&lt;br /&gt;
	for _, class in ipairs(cfg.classes or {}) do&lt;br /&gt;
		self:addClass(class)&lt;br /&gt;
	end&lt;br /&gt;
	if self.isSmall then&lt;br /&gt;
		self:addClass(cfg.smallClass or 'mbox-small')&lt;br /&gt;
	end&lt;br /&gt;
	self:addClass(self.typeClass)&lt;br /&gt;
	self:addClass(args.class)&lt;br /&gt;
	self.style = args.style&lt;br /&gt;
	self.attrs = args.attrs&lt;br /&gt;
&lt;br /&gt;
	-- Set text style.&lt;br /&gt;
	self.textstyle = args.textstyle&lt;br /&gt;
&lt;br /&gt;
	-- Find if we are on the template page or not. This functionality is only&lt;br /&gt;
	-- used if useCollapsibleTextFields is set, or if both cfg.templateCategory&lt;br /&gt;
	-- and cfg.templateCategoryRequireName are set.&lt;br /&gt;
	self.useCollapsibleTextFields = cfg.useCollapsibleTextFields&lt;br /&gt;
	if self.useCollapsibleTextFields&lt;br /&gt;
		or cfg.templateCategory&lt;br /&gt;
		and cfg.templateCategoryRequireName&lt;br /&gt;
	then&lt;br /&gt;
		if self.name then&lt;br /&gt;
			local templateName = mw.ustring.match(&lt;br /&gt;
				self.name,&lt;br /&gt;
				'^[tT][eE][mM][pP][lL][aA][tT][eE][%s_]*:[%s_]*(.*)$'&lt;br /&gt;
			) or self.name&lt;br /&gt;
			templateName = 'Template:' .. templateName&lt;br /&gt;
			self.templateTitle = getTitleObject(templateName)&lt;br /&gt;
		end&lt;br /&gt;
		self.isTemplatePage = self.templateTitle&lt;br /&gt;
			and mw.title.equals(self.title, self.templateTitle)&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	-- Process data for collapsible text fields. At the moment these are only&lt;br /&gt;
	-- used in {{ambox}}.&lt;br /&gt;
	if self.useCollapsibleTextFields then&lt;br /&gt;
		-- Get the self.issue value.&lt;br /&gt;
		if self.isSmall and args.smalltext then&lt;br /&gt;
			self.issue = args.smalltext&lt;br /&gt;
		else&lt;br /&gt;
			local sect&lt;br /&gt;
			if args.sect == '' then&lt;br /&gt;
				sect = 'This ' .. (cfg.sectionDefault or 'page')&lt;br /&gt;
			elseif type(args.sect) == 'string' then&lt;br /&gt;
				sect = 'This ' .. args.sect&lt;br /&gt;
			end&lt;br /&gt;
			local issue = args.issue&lt;br /&gt;
			issue = type(issue) == 'string' and issue ~= '' and issue or nil&lt;br /&gt;
			local text = args.text&lt;br /&gt;
			text = type(text) == 'string' and text or nil&lt;br /&gt;
			local issues = {}&lt;br /&gt;
			table.insert(issues, sect)&lt;br /&gt;
			table.insert(issues, issue)&lt;br /&gt;
			table.insert(issues, text)&lt;br /&gt;
			self.issue = table.concat(issues, ' ')&lt;br /&gt;
		end&lt;br /&gt;
&lt;br /&gt;
		-- Get the self.talk value.&lt;br /&gt;
		local talk = args.talk&lt;br /&gt;
		-- Show talk links on the template page or template subpages if the talk&lt;br /&gt;
		-- parameter is blank.&lt;br /&gt;
		if talk == ''&lt;br /&gt;
			and self.templateTitle&lt;br /&gt;
			and (&lt;br /&gt;
				mw.title.equals(self.templateTitle, self.title)&lt;br /&gt;
				or self.title:isSubpageOf(self.templateTitle)&lt;br /&gt;
			)&lt;br /&gt;
		then&lt;br /&gt;
			talk = '#'&lt;br /&gt;
		elseif talk == '' then&lt;br /&gt;
			talk = nil&lt;br /&gt;
		end&lt;br /&gt;
		if talk then&lt;br /&gt;
			-- If the talk value is a talk page, make a link to that page. Else&lt;br /&gt;
			-- assume that it's a section heading, and make a link to the talk&lt;br /&gt;
			-- page of the current page with that section heading.&lt;br /&gt;
			local talkTitle = getTitleObject(talk)&lt;br /&gt;
			local talkArgIsTalkPage = true&lt;br /&gt;
			if not talkTitle or not talkTitle.isTalkPage then&lt;br /&gt;
				talkArgIsTalkPage = false&lt;br /&gt;
				talkTitle = getTitleObject(&lt;br /&gt;
					self.title.text,&lt;br /&gt;
					mw.site.namespaces[self.title.namespace].talk.id&lt;br /&gt;
				)&lt;br /&gt;
			end&lt;br /&gt;
			if talkTitle and talkTitle.exists then&lt;br /&gt;
				local talkText = 'Relevant discussion may be found on'&lt;br /&gt;
				if talkArgIsTalkPage then&lt;br /&gt;
					talkText = string.format(&lt;br /&gt;
						'%s [[%s|%s]].',&lt;br /&gt;
						talkText,&lt;br /&gt;
						talk,&lt;br /&gt;
						talkTitle.prefixedText&lt;br /&gt;
					)&lt;br /&gt;
				else&lt;br /&gt;
					talkText = string.format(&lt;br /&gt;
						'%s the [[%s#%s|talk page]].',&lt;br /&gt;
						talkText,&lt;br /&gt;
						talkTitle.prefixedText,&lt;br /&gt;
						talk&lt;br /&gt;
					)&lt;br /&gt;
				end&lt;br /&gt;
				self.talk = talkText&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
&lt;br /&gt;
		-- Get other values.&lt;br /&gt;
		self.fix = args.fix ~= '' and args.fix or nil&lt;br /&gt;
		local date&lt;br /&gt;
		if args.date and args.date ~= '' then&lt;br /&gt;
			date = args.date&lt;br /&gt;
		elseif args.date == '' and self.isTemplatePage then&lt;br /&gt;
			date = lang:formatDate('F Y')&lt;br /&gt;
		end&lt;br /&gt;
		if date then&lt;br /&gt;
			self.date = string.format(&amp;quot; &amp;lt;small class='date-container'&amp;gt;''(&amp;lt;span class='date'&amp;gt;%s&amp;lt;/span&amp;gt;)''&amp;lt;/small&amp;gt;&amp;quot;, date)&lt;br /&gt;
		end&lt;br /&gt;
		self.info = args.info&lt;br /&gt;
		if yesno(args.removalnotice) then&lt;br /&gt;
			self.removalNotice = cfg.removalNotice&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	-- Set the non-collapsible text field. At the moment this is used by all box&lt;br /&gt;
	-- types other than ambox, and also by ambox when small=yes.&lt;br /&gt;
	if self.isSmall then&lt;br /&gt;
		self.text = args.smalltext or args.text&lt;br /&gt;
	else&lt;br /&gt;
		self.text = args.text&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	-- Set the below row.&lt;br /&gt;
	self.below = cfg.below and args.below&lt;br /&gt;
&lt;br /&gt;
	-- General image settings.&lt;br /&gt;
	self.imageCellDiv = not self.isSmall and cfg.imageCellDiv&lt;br /&gt;
	self.imageEmptyCell = cfg.imageEmptyCell&lt;br /&gt;
	if cfg.imageEmptyCellStyle then&lt;br /&gt;
		self.imageEmptyCellStyle = 'border:none;padding:0px;width:1px'&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	-- Left image settings.&lt;br /&gt;
	local imageLeft = self.isSmall and args.smallimage or args.image&lt;br /&gt;
	if cfg.imageCheckBlank and imageLeft ~= 'blank' and imageLeft ~= 'none'&lt;br /&gt;
		or not cfg.imageCheckBlank and imageLeft ~= 'none'&lt;br /&gt;
	then&lt;br /&gt;
		self.imageLeft = imageLeft&lt;br /&gt;
		if not imageLeft then&lt;br /&gt;
			local imageSize = self.isSmall&lt;br /&gt;
				and (cfg.imageSmallSize or '30x30px')&lt;br /&gt;
				or '40x40px'&lt;br /&gt;
			self.imageLeft = string.format('[[File:%s|%s|link=|alt=]]', self.typeImage&lt;br /&gt;
				or 'Imbox notice.png', imageSize)&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	-- Right image settings.&lt;br /&gt;
	local imageRight = self.isSmall and args.smallimageright or args.imageright&lt;br /&gt;
	if not (cfg.imageRightNone and imageRight == 'none') then&lt;br /&gt;
		self.imageRight = imageRight&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function MessageBox:setMainspaceCategories()&lt;br /&gt;
	local args = self.args&lt;br /&gt;
	local cfg = self.cfg&lt;br /&gt;
&lt;br /&gt;
	if not cfg.allowMainspaceCategories then&lt;br /&gt;
		return nil&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	local nums = {}&lt;br /&gt;
	for _, prefix in ipairs{'cat', 'category', 'all'} do&lt;br /&gt;
		args[prefix .. '1'] = args[prefix]&lt;br /&gt;
		nums = union(nums, getArgNums(args, prefix))&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	-- The following is roughly equivalent to the old {{Ambox/category}}.&lt;br /&gt;
	local date = args.date&lt;br /&gt;
	date = type(date) == 'string' and date&lt;br /&gt;
	local preposition = 'from'&lt;br /&gt;
	for _, num in ipairs(nums) do&lt;br /&gt;
		local mainCat = args['cat' .. tostring(num)]&lt;br /&gt;
			or args['category' .. tostring(num)]&lt;br /&gt;
		local allCat = args['all' .. tostring(num)]&lt;br /&gt;
		mainCat = type(mainCat) == 'string' and mainCat&lt;br /&gt;
		allCat = type(allCat) == 'string' and allCat&lt;br /&gt;
		if mainCat and date and date ~= '' then&lt;br /&gt;
			local catTitle = string.format('%s %s %s', mainCat, preposition, date)&lt;br /&gt;
			self:addCat(0, catTitle)&lt;br /&gt;
			catTitle = getTitleObject('Category:' .. catTitle)&lt;br /&gt;
			if not catTitle or not catTitle.exists then&lt;br /&gt;
				self:addCat(0, 'Articles with invalid date parameter in template')&lt;br /&gt;
			end&lt;br /&gt;
		elseif mainCat and (not date or date == '') then&lt;br /&gt;
			self:addCat(0, mainCat)&lt;br /&gt;
		end&lt;br /&gt;
		if allCat then&lt;br /&gt;
			self:addCat(0, allCat)&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function MessageBox:setTemplateCategories()&lt;br /&gt;
	local args = self.args&lt;br /&gt;
	local cfg = self.cfg&lt;br /&gt;
&lt;br /&gt;
	-- Add template categories.&lt;br /&gt;
	if cfg.templateCategory then&lt;br /&gt;
		if cfg.templateCategoryRequireName then&lt;br /&gt;
			if self.isTemplatePage then&lt;br /&gt;
				self:addCat(10, cfg.templateCategory)&lt;br /&gt;
			end&lt;br /&gt;
		elseif not self.title.isSubpage then&lt;br /&gt;
			self:addCat(10, cfg.templateCategory)&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	-- Add template error categories.&lt;br /&gt;
	if cfg.templateErrorCategory then&lt;br /&gt;
		local templateErrorCategory = cfg.templateErrorCategory&lt;br /&gt;
		local templateCat, templateSort&lt;br /&gt;
		if not self.name and not self.title.isSubpage then&lt;br /&gt;
			templateCat = templateErrorCategory&lt;br /&gt;
		elseif self.isTemplatePage then&lt;br /&gt;
			local paramsToCheck = cfg.templateErrorParamsToCheck or {}&lt;br /&gt;
			local count = 0&lt;br /&gt;
			for i, param in ipairs(paramsToCheck) do&lt;br /&gt;
				if not args[param] then&lt;br /&gt;
					count = count + 1&lt;br /&gt;
				end&lt;br /&gt;
			end&lt;br /&gt;
			if count &amp;gt; 0 then&lt;br /&gt;
				templateCat = templateErrorCategory&lt;br /&gt;
				templateSort = tostring(count)&lt;br /&gt;
			end&lt;br /&gt;
			if self.categoryNums and #self.categoryNums &amp;gt; 0 then&lt;br /&gt;
				templateCat = templateErrorCategory&lt;br /&gt;
				templateSort = 'C'&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
		self:addCat(10, templateCat, templateSort)&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function MessageBox:setAllNamespaceCategories()&lt;br /&gt;
	-- Set categories for all namespaces.&lt;br /&gt;
	if self.invalidTypeError then&lt;br /&gt;
		local allSort = (self.title.namespace == 0 and 'Main:' or '') .. self.title.prefixedText&lt;br /&gt;
		self:addCat('all', 'Wikipedia message box parameter needs fixing', allSort)&lt;br /&gt;
	end&lt;br /&gt;
	if self.isSubstituted then&lt;br /&gt;
		self:addCat('all', 'Pages with incorrectly substituted templates')&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function MessageBox:setCategories()&lt;br /&gt;
	if self.title.namespace == 0 then&lt;br /&gt;
		self:setMainspaceCategories()&lt;br /&gt;
	elseif self.title.namespace == 10 then&lt;br /&gt;
		self:setTemplateCategories()&lt;br /&gt;
	end&lt;br /&gt;
	self:setAllNamespaceCategories()&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function MessageBox:renderCategories()&lt;br /&gt;
	if not self.hasCategories then&lt;br /&gt;
		-- No categories added, no need to pass them to Category handler so,&lt;br /&gt;
		-- if it was invoked, it would return the empty string.&lt;br /&gt;
		-- So we shortcut and return the empty string.&lt;br /&gt;
		return &amp;quot;&amp;quot;&lt;br /&gt;
	end&lt;br /&gt;
	-- Convert category tables to strings and pass them through&lt;br /&gt;
	-- [[Module:Category handler]].&lt;br /&gt;
	return require('Module:Category handler')._main{&lt;br /&gt;
		main = table.concat(self.categories[0] or {}),&lt;br /&gt;
		template = table.concat(self.categories[10] or {}),&lt;br /&gt;
		all = table.concat(self.categories.all or {}),&lt;br /&gt;
		nocat = self.args.nocat,&lt;br /&gt;
		page = self.args.page&lt;br /&gt;
	}&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function MessageBox:export()&lt;br /&gt;
	local root = mw.html.create()&lt;br /&gt;
&lt;br /&gt;
	-- Add the subst check error.&lt;br /&gt;
	if self.isSubstituted and self.name then&lt;br /&gt;
		root:tag('b')&lt;br /&gt;
			:addClass('error')&lt;br /&gt;
			:wikitext(string.format(&lt;br /&gt;
				'Template &amp;lt;code&amp;gt;%s[[Template:%s|%s]]%s&amp;lt;/code&amp;gt; has been incorrectly substituted.',&lt;br /&gt;
				mw.text.nowiki('{{'), self.name, self.name, mw.text.nowiki('}}')&lt;br /&gt;
			))&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	-- Create the box table.&lt;br /&gt;
	local boxTable = root:tag('table')&lt;br /&gt;
	boxTable:attr('id', self.id or nil)&lt;br /&gt;
	for i, class in ipairs(self.classes or {}) do&lt;br /&gt;
		boxTable:addClass(class or nil)&lt;br /&gt;
	end&lt;br /&gt;
	boxTable&lt;br /&gt;
		:cssText(self.style or nil)&lt;br /&gt;
		:attr('role', 'presentation')&lt;br /&gt;
&lt;br /&gt;
	if self.attrs then&lt;br /&gt;
		boxTable:attr(self.attrs)&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	-- Add the left-hand image.&lt;br /&gt;
	local row = boxTable:tag('tr')&lt;br /&gt;
	if self.imageLeft then&lt;br /&gt;
		local imageLeftCell = row:tag('td'):addClass('mbox-image')&lt;br /&gt;
		if self.imageCellDiv then&lt;br /&gt;
			-- If we are using a div, redefine imageLeftCell so that the image&lt;br /&gt;
			-- is inside it. Divs use style=&amp;quot;width: 52px;&amp;quot;, which limits the&lt;br /&gt;
			-- image width to 52px. If any images in a div are wider than that,&lt;br /&gt;
			-- they may overlap with the text or cause other display problems.&lt;br /&gt;
			imageLeftCell = imageLeftCell:tag('div'):css('width', '52px')&lt;br /&gt;
		end&lt;br /&gt;
		imageLeftCell:wikitext(self.imageLeft or nil)&lt;br /&gt;
	elseif self.imageEmptyCell then&lt;br /&gt;
		-- Some message boxes define an empty cell if no image is specified, and&lt;br /&gt;
		-- some don't. The old template code in templates where empty cells are&lt;br /&gt;
		-- specified gives the following hint: &amp;quot;No image. Cell with some width&lt;br /&gt;
		-- or padding necessary for text cell to have 100% width.&amp;quot;&lt;br /&gt;
		row:tag('td')&lt;br /&gt;
			:addClass('mbox-empty-cell')&lt;br /&gt;
			:cssText(self.imageEmptyCellStyle or nil)&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	-- Add the text.&lt;br /&gt;
	local textCell = row:tag('td'):addClass('mbox-text')&lt;br /&gt;
	if self.useCollapsibleTextFields then&lt;br /&gt;
		-- The message box uses advanced text parameters that allow things to be&lt;br /&gt;
		-- collapsible. At the moment, only ambox uses this.&lt;br /&gt;
		textCell:cssText(self.textstyle or nil)&lt;br /&gt;
		local textCellDiv = textCell:tag('div')&lt;br /&gt;
		textCellDiv&lt;br /&gt;
			:addClass('mbox-text-span')&lt;br /&gt;
			:wikitext(self.issue or nil)&lt;br /&gt;
		if (self.talk or self.fix) and not self.isSmall then&lt;br /&gt;
			textCellDiv:tag('span')&lt;br /&gt;
				:addClass('hide-when-compact')&lt;br /&gt;
				:wikitext(self.talk and (' ' .. self.talk) or nil)&lt;br /&gt;
				:wikitext(self.fix and (' ' .. self.fix) or nil)&lt;br /&gt;
		end&lt;br /&gt;
		textCellDiv:wikitext(self.date and (' ' .. self.date) or nil)&lt;br /&gt;
		if self.info and not self.isSmall then&lt;br /&gt;
			textCellDiv&lt;br /&gt;
				:tag('span')&lt;br /&gt;
				:addClass('hide-when-compact')&lt;br /&gt;
				:wikitext(self.info and (' ' .. self.info) or nil)&lt;br /&gt;
		end&lt;br /&gt;
		if self.removalNotice then&lt;br /&gt;
			textCellDiv:tag('small')&lt;br /&gt;
				:addClass('hide-when-compact')&lt;br /&gt;
				:tag('i')&lt;br /&gt;
					:wikitext(string.format(&amp;quot; (%s)&amp;quot;, self.removalNotice))&lt;br /&gt;
		end&lt;br /&gt;
	else&lt;br /&gt;
		-- Default text formatting - anything goes.&lt;br /&gt;
		textCell&lt;br /&gt;
			:cssText(self.textstyle or nil)&lt;br /&gt;
			:wikitext(self.text or nil)&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	-- Add the right-hand image.&lt;br /&gt;
	if self.imageRight then&lt;br /&gt;
		local imageRightCell = row:tag('td'):addClass('mbox-imageright')&lt;br /&gt;
		if self.imageCellDiv then&lt;br /&gt;
			-- If we are using a div, redefine imageRightCell so that the image&lt;br /&gt;
			-- is inside it.&lt;br /&gt;
			imageRightCell = imageRightCell:tag('div'):css('width', '52px')&lt;br /&gt;
		end&lt;br /&gt;
		imageRightCell&lt;br /&gt;
			:wikitext(self.imageRight or nil)&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	-- Add the below row.&lt;br /&gt;
	if self.below then&lt;br /&gt;
		boxTable:tag('tr')&lt;br /&gt;
			:tag('td')&lt;br /&gt;
				:attr('colspan', self.imageRight and '3' or '2')&lt;br /&gt;
				:addClass('mbox-text')&lt;br /&gt;
				:cssText(self.textstyle or nil)&lt;br /&gt;
				:wikitext(self.below or nil)&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	-- Add error message for invalid type parameters.&lt;br /&gt;
	if self.invalidTypeError then&lt;br /&gt;
		root:tag('div')&lt;br /&gt;
			:css('text-align', 'center')&lt;br /&gt;
			:wikitext(string.format(&lt;br /&gt;
				'This message box is using an invalid &amp;quot;type=%s&amp;quot; parameter and needs fixing.',&lt;br /&gt;
				self.type or ''&lt;br /&gt;
			))&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	-- Add categories.&lt;br /&gt;
	root:wikitext(self:renderCategories() or nil)&lt;br /&gt;
&lt;br /&gt;
	return tostring(root)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
--------------------------------------------------------------------------------&lt;br /&gt;
-- Exports&lt;br /&gt;
--------------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
local p, mt = {}, {}&lt;br /&gt;
&lt;br /&gt;
function p._exportClasses()&lt;br /&gt;
	-- For testing.&lt;br /&gt;
	return {&lt;br /&gt;
		MessageBox = MessageBox&lt;br /&gt;
	}&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.main(boxType, args, cfgTables)&lt;br /&gt;
	local box = MessageBox.new(boxType, args, cfgTables or mw.loadData(CONFIG_MODULE))&lt;br /&gt;
	box:setParameters()&lt;br /&gt;
	box:setCategories()&lt;br /&gt;
	return box:export()&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function mt.__index(t, k)&lt;br /&gt;
	return function (frame)&lt;br /&gt;
		if not getArgs then&lt;br /&gt;
			getArgs = require('Module:Arguments').getArgs&lt;br /&gt;
		end&lt;br /&gt;
		return t.main(k, getArgs(frame, {trim = false, removeBlanks = false}))&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return setmetatable(p, mt)&lt;/div&gt;</summary>
		<author><name>Colt</name></author>
	</entry>
	<entry>
		<id>https://confrontation.wiki/index.php?title=Module:List&amp;diff=1865</id>
		<title>Module:List</title>
		<link rel="alternate" type="text/html" href="https://confrontation.wiki/index.php?title=Module:List&amp;diff=1865"/>
		<updated>2021-07-19T05:36:44Z</updated>

		<summary type="html">&lt;p&gt;Colt: 51 revisions imported&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;-- This module outputs different kinds of lists. At the moment, bulleted,&lt;br /&gt;
-- unbulleted, horizontal, ordered, and horizontal ordered lists are supported.&lt;br /&gt;
&lt;br /&gt;
local libUtil = require('libraryUtil')&lt;br /&gt;
local checkType = libUtil.checkType&lt;br /&gt;
local mTableTools = require('Module:TableTools')&lt;br /&gt;
&lt;br /&gt;
local p = {}&lt;br /&gt;
&lt;br /&gt;
local listTypes = {&lt;br /&gt;
	['bulleted'] = true,&lt;br /&gt;
	['unbulleted'] = true,&lt;br /&gt;
	['horizontal'] = true,&lt;br /&gt;
	['ordered'] = true,&lt;br /&gt;
	['horizontal_ordered'] = true&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
function p.makeListData(listType, args)&lt;br /&gt;
	-- Constructs a data table to be passed to p.renderList.&lt;br /&gt;
	local data = {}&lt;br /&gt;
&lt;br /&gt;
	-- Classes&lt;br /&gt;
	data.classes = {}&lt;br /&gt;
	data.templatestyles = ''&lt;br /&gt;
	if listType == 'horizontal' or listType == 'horizontal_ordered' then&lt;br /&gt;
		table.insert(data.classes, 'hlist')&lt;br /&gt;
		data.templatestyles = mw.getCurrentFrame():extensionTag{&lt;br /&gt;
			name = 'templatestyles', args = { src = 'Flatlist/styles.css' }&lt;br /&gt;
		}&lt;br /&gt;
	elseif listType == 'unbulleted' then&lt;br /&gt;
		table.insert(data.classes, 'plainlist')&lt;br /&gt;
		data.templatestyles = mw.getCurrentFrame():extensionTag{&lt;br /&gt;
			name = 'templatestyles', args = { src = 'Plainlist/styles.css' }&lt;br /&gt;
		}&lt;br /&gt;
	end&lt;br /&gt;
	table.insert(data.classes, args.class)&lt;br /&gt;
&lt;br /&gt;
	-- Main div style&lt;br /&gt;
	data.style = args.style&lt;br /&gt;
&lt;br /&gt;
	-- Indent for horizontal lists&lt;br /&gt;
	if listType == 'horizontal' or listType == 'horizontal_ordered' then&lt;br /&gt;
		local indent = tonumber(args.indent)&lt;br /&gt;
		indent = indent and indent * 1.6 or 0&lt;br /&gt;
		if indent &amp;gt; 0 then&lt;br /&gt;
			data.marginLeft = indent .. 'em'&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	-- List style types for ordered lists&lt;br /&gt;
	-- This could be &amp;quot;1, 2, 3&amp;quot;, &amp;quot;a, b, c&amp;quot;, or a number of others. The list style&lt;br /&gt;
	-- type is either set by the &amp;quot;type&amp;quot; attribute or the &amp;quot;list-style-type&amp;quot; CSS&lt;br /&gt;
	-- property.&lt;br /&gt;
	if listType == 'ordered' or listType == 'horizontal_ordered' then &lt;br /&gt;
		data.listStyleType = args.list_style_type or args['list-style-type']&lt;br /&gt;
		data.type = args['type']&lt;br /&gt;
&lt;br /&gt;
		-- Detect invalid type attributes and attempt to convert them to&lt;br /&gt;
		-- list-style-type CSS properties.&lt;br /&gt;
		if data.type &lt;br /&gt;
			and not data.listStyleType&lt;br /&gt;
			and not tostring(data.type):find('^%s*[1AaIi]%s*$')&lt;br /&gt;
		then&lt;br /&gt;
			data.listStyleType = data.type&lt;br /&gt;
			data.type = nil&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	-- List tag type&lt;br /&gt;
	if listType == 'ordered' or listType == 'horizontal_ordered' then&lt;br /&gt;
		data.listTag = 'ol'&lt;br /&gt;
	else&lt;br /&gt;
		data.listTag = 'ul'&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	-- Start number for ordered lists&lt;br /&gt;
	data.start = args.start&lt;br /&gt;
	if listType == 'horizontal_ordered' then&lt;br /&gt;
		-- Apply fix to get start numbers working with horizontal ordered lists.&lt;br /&gt;
		local startNum = tonumber(data.start)&lt;br /&gt;
		if startNum then&lt;br /&gt;
			data.counterReset = 'listitem ' .. tostring(startNum - 1)&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	-- List style&lt;br /&gt;
	 -- ul_style and ol_style are included for backwards compatibility. No&lt;br /&gt;
	 -- distinction is made for ordered or unordered lists.&lt;br /&gt;
	data.listStyle = args.list_style&lt;br /&gt;
&lt;br /&gt;
	-- List items&lt;br /&gt;
	-- li_style is included for backwards compatibility. item_style was included&lt;br /&gt;
	-- to be easier to understand for non-coders.&lt;br /&gt;
	data.itemStyle = args.item_style or args.li_style&lt;br /&gt;
	data.items = {}&lt;br /&gt;
	for i, num in ipairs(mTableTools.numKeys(args)) do&lt;br /&gt;
		local item = {}&lt;br /&gt;
		item.content = args[num]&lt;br /&gt;
		item.style = args['item' .. tostring(num) .. '_style']&lt;br /&gt;
			or args['item_style' .. tostring(num)]&lt;br /&gt;
		item.value = args['item' .. tostring(num) .. '_value']&lt;br /&gt;
			or args['item_value' .. tostring(num)]&lt;br /&gt;
		table.insert(data.items, item)&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	return data&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.renderList(data)&lt;br /&gt;
	-- Renders the list HTML.&lt;br /&gt;
	&lt;br /&gt;
	-- Return the blank string if there are no list items.&lt;br /&gt;
	if type(data.items) ~= 'table' or #data.items &amp;lt; 1 then&lt;br /&gt;
		return ''&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	-- Render the main div tag.&lt;br /&gt;
	local root = mw.html.create((&lt;br /&gt;
			#data.classes &amp;gt; 0&lt;br /&gt;
			or data.marginLeft&lt;br /&gt;
			or data.style&lt;br /&gt;
		) and 'div' or nil)&lt;br /&gt;
&lt;br /&gt;
	for i, class in ipairs(data.classes or {}) do&lt;br /&gt;
		root:addClass(class)&lt;br /&gt;
	end&lt;br /&gt;
	root:css{['margin-left'] = data.marginLeft}&lt;br /&gt;
	if data.style then&lt;br /&gt;
		root:cssText(data.style)&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	-- Render the list tag.&lt;br /&gt;
	local list = root:tag(data.listTag or 'ul')&lt;br /&gt;
	list&lt;br /&gt;
		:attr{start = data.start, type = data.type}&lt;br /&gt;
		:css{&lt;br /&gt;
			['counter-reset'] = data.counterReset,&lt;br /&gt;
			['list-style-type'] = data.listStyleType&lt;br /&gt;
		}&lt;br /&gt;
	if data.listStyle then&lt;br /&gt;
		list:cssText(data.listStyle)&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	-- Render the list items&lt;br /&gt;
	for i, t in ipairs(data.items or {}) do&lt;br /&gt;
		local item = list:tag('li')&lt;br /&gt;
		if data.itemStyle then&lt;br /&gt;
			item:cssText(data.itemStyle)&lt;br /&gt;
		end&lt;br /&gt;
		if t.style then&lt;br /&gt;
			item:cssText(t.style)&lt;br /&gt;
		end&lt;br /&gt;
		item&lt;br /&gt;
			:attr{value = t.value}&lt;br /&gt;
			:wikitext(t.content)&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	return data.templatestyles .. tostring(root)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.makeList(listType, args)&lt;br /&gt;
	if not listType or not listTypes[listType] then&lt;br /&gt;
		error(string.format(&lt;br /&gt;
			&amp;quot;bad argument #1 to 'makeList' ('%s' is not a valid list type)&amp;quot;,&lt;br /&gt;
			tostring(listType)&lt;br /&gt;
		), 2)&lt;br /&gt;
	end&lt;br /&gt;
	checkType('makeList', 2, args, 'table')&lt;br /&gt;
	local data = p.makeListData(listType, args)&lt;br /&gt;
	return p.renderList(data)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
for listType in pairs(listTypes) do&lt;br /&gt;
	p[listType] = function (frame)&lt;br /&gt;
		local mArguments = require('Module:Arguments')&lt;br /&gt;
		local origArgs = mArguments.getArgs(frame)&lt;br /&gt;
		-- Copy all the arguments to a new table, for faster indexing.&lt;br /&gt;
		local args = {}&lt;br /&gt;
		for k, v in pairs(origArgs) do&lt;br /&gt;
			args[k] = v&lt;br /&gt;
		end&lt;br /&gt;
		return p.makeList(listType, args)&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>Colt</name></author>
	</entry>
	<entry>
		<id>https://confrontation.wiki/index.php?title=Module:Documentation/styles.css&amp;diff=1813</id>
		<title>Module:Documentation/styles.css</title>
		<link rel="alternate" type="text/html" href="https://confrontation.wiki/index.php?title=Module:Documentation/styles.css&amp;diff=1813"/>
		<updated>2021-07-19T05:36:41Z</updated>

		<summary type="html">&lt;p&gt;Colt: 20 revisions imported&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;.ts-doc-sandbox .mbox-image	{&lt;br /&gt;
	padding:.75em 0 .75em .75em;&lt;br /&gt;
}&lt;br /&gt;
	&lt;br /&gt;
.ts-doc-doc {&lt;br /&gt;
	clear: both;&lt;br /&gt;
	background-color: #eaf3ff;&lt;br /&gt;
	border: 1px solid #a3caff;&lt;br /&gt;
	margin-top: 1em;&lt;br /&gt;
	border-top-left-radius: 2px;&lt;br /&gt;
	border-top-right-radius: 2px;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
.ts-doc-header {&lt;br /&gt;
	background-color: #c2dcff;&lt;br /&gt;
	padding: .642857em 1em .5em;&lt;br /&gt;
	border-top-left-radius: 2px;&lt;br /&gt;
	border-top-right-radius: 2px;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
.ts-doc-header .ts-tlinks-tlinks {&lt;br /&gt;
	line-height: 24px;&lt;br /&gt;
	margin-left: 0;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
.ts-doc-header .ts-tlinks-tlinks a.external {&lt;br /&gt;
	color: #0645ad;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
.ts-doc-header .ts-tlinks-tlinks a.external:visited {&lt;br /&gt;
	color: #0b0080;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
.ts-doc-header .ts-tlinks-tlinks a.external:active {&lt;br /&gt;
	color: #faa700;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
.ts-doc-content {&lt;br /&gt;
	padding: .214286em 1em;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
.ts-doc-content:after {&lt;br /&gt;
	content: '';&lt;br /&gt;
	clear: both;&lt;br /&gt;
	display: block;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
.ts-doc-heading {&lt;br /&gt;
	display: inline-block;&lt;br /&gt;
	padding-left: 30px;&lt;br /&gt;
	background: center left/24px 24px no-repeat;&lt;br /&gt;
	/* @noflip */&lt;br /&gt;
	background-image: url(//upload.wikimedia.org/wikipedia/commons/f/fb/OOjs_UI_icon_puzzle-ltr.svg);&lt;br /&gt;
	height: 24px;&lt;br /&gt;
	line-height: 24px;&lt;br /&gt;
	font-size: 13px;&lt;br /&gt;
	font-weight: 600;&lt;br /&gt;
	letter-spacing: 1px;&lt;br /&gt;
	text-transform: uppercase;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
.ts-doc-content &amp;gt; *:first-child,&lt;br /&gt;
.ts-doc-footer &amp;gt; *:first-child {&lt;br /&gt;
	margin-top: .5em;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
.ts-doc-content &amp;gt; *:last-child,&lt;br /&gt;
.ts-doc-footer &amp;gt; *:last-child {&lt;br /&gt;
	margin-bottom: .5em;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
.ts-doc-footer {&lt;br /&gt;
	background-color: #eaf3ff;&lt;br /&gt;
	border: 1px solid #a3caff;&lt;br /&gt;
	padding: .214286em 1em;&lt;br /&gt;
	margin-top: .214286em;&lt;br /&gt;
	font-style: italic;&lt;br /&gt;
	border-bottom-left-radius: 2px;&lt;br /&gt;
	border-bottom-right-radius: 2px;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
@media all and (min-width: 720px) { &lt;br /&gt;
	.ts-doc-header .ts-tlinks-tlinks {&lt;br /&gt;
		float: right;&lt;br /&gt;
	}&lt;br /&gt;
}&lt;/div&gt;</summary>
		<author><name>Colt</name></author>
	</entry>
	<entry>
		<id>https://confrontation.wiki/index.php?title=Module:Documentation/i18n&amp;diff=1792</id>
		<title>Module:Documentation/i18n</title>
		<link rel="alternate" type="text/html" href="https://confrontation.wiki/index.php?title=Module:Documentation/i18n&amp;diff=1792"/>
		<updated>2021-07-19T05:36:40Z</updated>

		<summary type="html">&lt;p&gt;Colt: 11 revisions imported&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;local format = require('Module:TNT').format&lt;br /&gt;
local i18n = {}&lt;br /&gt;
&lt;br /&gt;
i18n['cfg-error-msg-type'] = format('I18n/Documentation', 'cfg-error-msg-type')&lt;br /&gt;
i18n['cfg-error-msg-empty'] = format('I18n/Documentation', 'cfg-error-msg-empty')&lt;br /&gt;
&lt;br /&gt;
-- cfg['template-namespace-heading']&lt;br /&gt;
-- The heading shown in the template namespace.&lt;br /&gt;
i18n['template-namespace-heading'] = format('I18n/Documentation', 'template-namespace-heading')&lt;br /&gt;
&lt;br /&gt;
-- cfg['module-namespace-heading']&lt;br /&gt;
-- The heading shown in the module namespace.&lt;br /&gt;
i18n['module-namespace-heading'] = format('I18n/Documentation', 'module-namespace-heading')&lt;br /&gt;
&lt;br /&gt;
-- cfg['file-namespace-heading']&lt;br /&gt;
-- The heading shown in the file namespace.&lt;br /&gt;
i18n['file-namespace-heading'] = format('I18n/Documentation', 'file-namespace-heading')&lt;br /&gt;
&lt;br /&gt;
-- cfg['other-namespaces-heading']&lt;br /&gt;
-- The heading shown in other namespaces.&lt;br /&gt;
i18n['other-namespaces-heading'] = format('I18n/Documentation', 'other-namespaces-heading')&lt;br /&gt;
&lt;br /&gt;
-- cfg['view-link-display']&lt;br /&gt;
-- The text to display for &amp;quot;view&amp;quot; links.&lt;br /&gt;
i18n['view-link-display'] = format('I18n/Documentation', 'view-link-display')&lt;br /&gt;
&lt;br /&gt;
-- cfg['edit-link-display']&lt;br /&gt;
-- The text to display for &amp;quot;edit&amp;quot; links.&lt;br /&gt;
i18n['edit-link-display'] = format('I18n/Documentation', 'edit-link-display')&lt;br /&gt;
&lt;br /&gt;
-- cfg['history-link-display']&lt;br /&gt;
-- The text to display for &amp;quot;history&amp;quot; links.&lt;br /&gt;
i18n['history-link-display'] = format('I18n/Documentation', 'history-link-display')&lt;br /&gt;
&lt;br /&gt;
-- cfg['purge-link-display']&lt;br /&gt;
-- The text to display for &amp;quot;purge&amp;quot; links.&lt;br /&gt;
i18n['purge-link-display'] = format('I18n/Documentation', 'purge-link-display')&lt;br /&gt;
&lt;br /&gt;
-- cfg['create-link-display']&lt;br /&gt;
-- The text to display for &amp;quot;create&amp;quot; links.&lt;br /&gt;
i18n['create-link-display'] = format('I18n/Documentation', 'create-link-display')&lt;br /&gt;
&lt;br /&gt;
return i18n&lt;/div&gt;</summary>
		<author><name>Colt</name></author>
	</entry>
	<entry>
		<id>https://confrontation.wiki/index.php?title=Module:Documentation/config&amp;diff=1780</id>
		<title>Module:Documentation/config</title>
		<link rel="alternate" type="text/html" href="https://confrontation.wiki/index.php?title=Module:Documentation/config&amp;diff=1780"/>
		<updated>2021-07-19T05:36:40Z</updated>

		<summary type="html">&lt;p&gt;Colt: 63 revisions imported&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;----------------------------------------------------------------------------------------------------&lt;br /&gt;
--&lt;br /&gt;
--                               Configuration for Module:Documentation&lt;br /&gt;
--&lt;br /&gt;
-- Here you can set the values of the parameters and messages used in Module:Documentation to&lt;br /&gt;
-- localise it to your wiki and your language. Unless specified otherwise, values given here&lt;br /&gt;
-- should be string values.&lt;br /&gt;
----------------------------------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
local _format = require('Module:TNT').format&lt;br /&gt;
local function format(id)&lt;br /&gt;
	return _format('I18n/Documentation', id)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
local cfg = {} -- Do not edit this line.&lt;br /&gt;
&lt;br /&gt;
cfg['templatestyles-scr'] = 'Module:Documentation/styles.css'&lt;br /&gt;
&lt;br /&gt;
----------------------------------------------------------------------------------------------------&lt;br /&gt;
-- Protection template configuration&lt;br /&gt;
----------------------------------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
-- cfg['protection-template']&lt;br /&gt;
-- The name of the template that displays the protection icon (a padlock on enwiki).&lt;br /&gt;
cfg['protection-template'] = 'pp-template'&lt;br /&gt;
&lt;br /&gt;
-- cfg['protection-reason-edit']&lt;br /&gt;
-- The protection reason for edit-protected templates to pass to&lt;br /&gt;
-- [[Module:Protection banner]].&lt;br /&gt;
cfg['protection-reason-edit'] = 'template'&lt;br /&gt;
&lt;br /&gt;
--[[&lt;br /&gt;
-- cfg['protection-template-args']&lt;br /&gt;
-- Any arguments to send to the protection template. This should be a Lua table.&lt;br /&gt;
-- For example, if the protection template is &amp;quot;pp-template&amp;quot;, and the wikitext template invocation&lt;br /&gt;
-- looks like &amp;quot;{{pp-template|docusage=yes}}&amp;quot;, then this table should look like &amp;quot;{docusage = 'yes'}&amp;quot;.&lt;br /&gt;
 --]]&lt;br /&gt;
 cfg['protection-template-args'] = {docusage = 'yes'}&lt;br /&gt;
&lt;br /&gt;
--[[&lt;br /&gt;
----------------------------------------------------------------------------------------------------&lt;br /&gt;
-- Sandbox notice configuration&lt;br /&gt;
--&lt;br /&gt;
-- On sandbox pages the module can display a template notifying users that the current page is a&lt;br /&gt;
-- sandbox, and the location of test cases pages, etc. The module decides whether the page is a&lt;br /&gt;
-- sandbox or not based on the value of cfg['sandbox-subpage']. The following settings configure the&lt;br /&gt;
-- messages that the notices contains.&lt;br /&gt;
----------------------------------------------------------------------------------------------------&lt;br /&gt;
--]]&lt;br /&gt;
&lt;br /&gt;
-- cfg['sandbox-notice-image']&lt;br /&gt;
-- The image displayed in the sandbox notice.&lt;br /&gt;
cfg['sandbox-notice-image'] = '[[Image:Edit In Sandbox Icon - Color.svg|40px|alt=|link=]]'&lt;br /&gt;
&lt;br /&gt;
--[[&lt;br /&gt;
-- cfg['sandbox-notice-pagetype-template']&lt;br /&gt;
-- cfg['sandbox-notice-pagetype-module']&lt;br /&gt;
-- cfg['sandbox-notice-pagetype-other']&lt;br /&gt;
-- The page type of the sandbox page. The message that is displayed depends on the current subject&lt;br /&gt;
-- namespace. This message is used in either cfg['sandbox-notice-blurb'] or&lt;br /&gt;
-- cfg['sandbox-notice-diff-blurb'].&lt;br /&gt;
--]]&lt;br /&gt;
cfg['sandbox-notice-pagetype-template'] = format('sandbox-notice-pagetype-template')&lt;br /&gt;
cfg['sandbox-notice-pagetype-module'] = format('sandbox-notice-pagetype-module')&lt;br /&gt;
cfg['sandbox-notice-pagetype-other'] = format('sandbox-notice-pagetype-other')&lt;br /&gt;
&lt;br /&gt;
--[[&lt;br /&gt;
-- cfg['sandbox-notice-blurb']&lt;br /&gt;
-- cfg['sandbox-notice-diff-blurb']&lt;br /&gt;
-- cfg['sandbox-notice-diff-display']&lt;br /&gt;
-- Either cfg['sandbox-notice-blurb'] or cfg['sandbox-notice-diff-blurb'] is the opening sentence&lt;br /&gt;
-- of the sandbox notice. The latter has a diff link, but the former does not. $1 is the page&lt;br /&gt;
-- type, which is either cfg['sandbox-notice-pagetype-template'],&lt;br /&gt;
-- cfg['sandbox-notice-pagetype-module'] or cfg['sandbox-notice-pagetype-other'] depending what&lt;br /&gt;
-- namespace we are in. $2 is a link to the main template page, and $3 is a diff link between&lt;br /&gt;
-- the sandbox and the main template. The display value of the diff link is set by &lt;br /&gt;
-- cfg['sandbox-notice-compare-link-display'].&lt;br /&gt;
--]]&lt;br /&gt;
cfg['sandbox-notice-blurb'] = format('sandbox-notice-blurb')&lt;br /&gt;
cfg['sandbox-notice-diff-blurb'] = format('sandbox-notice-diff-blurb')&lt;br /&gt;
cfg['sandbox-notice-compare-link-display'] = format('sandbox-notice-compare-link-display')&lt;br /&gt;
&lt;br /&gt;
--[[&lt;br /&gt;
-- cfg['sandbox-notice-testcases-blurb']&lt;br /&gt;
-- cfg['sandbox-notice-testcases-link-display']&lt;br /&gt;
-- cfg['sandbox-notice-testcases-run-blurb']&lt;br /&gt;
-- cfg['sandbox-notice-testcases-run-link-display']&lt;br /&gt;
-- cfg['sandbox-notice-testcases-blurb'] is a sentence notifying the user that there is a test cases page&lt;br /&gt;
-- corresponding to this sandbox that they can edit. $1 is a link to the test cases page.&lt;br /&gt;
-- cfg['sandbox-notice-testcases-link-display'] is the display value for that link.&lt;br /&gt;
-- cfg['sandbox-notice-testcases-run-blurb'] is a sentence notifying the user that there is a test cases page&lt;br /&gt;
-- corresponding to this sandbox that they can edit, along with a link to run it. $1 is a link to the test&lt;br /&gt;
-- cases page, and $2 is a link to the page to run it.&lt;br /&gt;
-- cfg['sandbox-notice-testcases-run-link-display'] is the display value for the link to run the test&lt;br /&gt;
-- cases.&lt;br /&gt;
--]]&lt;br /&gt;
cfg['sandbox-notice-testcases-blurb'] = format('sandbox-notice-testcases-blurb')&lt;br /&gt;
cfg['sandbox-notice-testcases-link-display'] = format('sandbox-notice-testcases-link-display')&lt;br /&gt;
cfg['sandbox-notice-testcases-run-blurb'] = format('sandbox-notice-testcases-run-blurb')&lt;br /&gt;
cfg['sandbox-notice-testcases-run-link-display'] = format('sandbox-notice-testcases-run-link-display')&lt;br /&gt;
&lt;br /&gt;
-- cfg['sandbox-category']&lt;br /&gt;
-- A category to add to all template sandboxes.&lt;br /&gt;
cfg['sandbox-category'] = 'Template sandboxes'&lt;br /&gt;
&lt;br /&gt;
----------------------------------------------------------------------------------------------------&lt;br /&gt;
-- Start box configuration&lt;br /&gt;
----------------------------------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
-- cfg['documentation-icon-wikitext']&lt;br /&gt;
-- The wikitext for the icon shown at the top of the template.&lt;br /&gt;
cfg['documentation-icon-wikitext'] = '[[File:Test Template Info-Icon - Version (2).svg|50px|link=|alt=Documentation icon]]'&lt;br /&gt;
&lt;br /&gt;
----------------------------------------------------------------------------------------------------&lt;br /&gt;
-- Link box (end box) configuration&lt;br /&gt;
----------------------------------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
-- cfg['transcluded-from-blurb']&lt;br /&gt;
-- Notice displayed when the docs are transcluded from another page. $1 is a wikilink to that page.&lt;br /&gt;
cfg['transcluded-from-blurb'] = format('transcluded-from-blurb')&lt;br /&gt;
&lt;br /&gt;
--[[&lt;br /&gt;
-- cfg['create-module-doc-blurb']&lt;br /&gt;
-- Notice displayed in the module namespace when the documentation subpage does not exist.&lt;br /&gt;
-- $1 is a link to create the documentation page with the preload cfg['module-preload'] and the&lt;br /&gt;
-- display cfg['create-link-display'].&lt;br /&gt;
--]]&lt;br /&gt;
cfg['create-module-doc-blurb'] = format('create-module-doc-blurb')&lt;br /&gt;
&lt;br /&gt;
----------------------------------------------------------------------------------------------------&lt;br /&gt;
-- Experiment blurb configuration&lt;br /&gt;
----------------------------------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
--[[&lt;br /&gt;
-- cfg['experiment-blurb-template']&lt;br /&gt;
-- cfg['experiment-blurb-module']&lt;br /&gt;
-- The experiment blurb is the text inviting editors to experiment in sandbox and test cases pages.&lt;br /&gt;
-- It is only shown in the template and module namespaces. With the default English settings, it&lt;br /&gt;
-- might look like this:&lt;br /&gt;
--&lt;br /&gt;
-- Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages.&lt;br /&gt;
--&lt;br /&gt;
-- In this example, &amp;quot;sandbox&amp;quot;, &amp;quot;edit&amp;quot;, &amp;quot;diff&amp;quot;, &amp;quot;testcases&amp;quot;, and &amp;quot;edit&amp;quot; would all be links.&lt;br /&gt;
--&lt;br /&gt;
-- There are two versions, cfg['experiment-blurb-template'] and cfg['experiment-blurb-module'], depending&lt;br /&gt;
-- on what namespace we are in.&lt;br /&gt;
-- &lt;br /&gt;
-- Parameters:&lt;br /&gt;
--&lt;br /&gt;
-- $1 is a link to the sandbox page. If the sandbox exists, it is in the following format:&lt;br /&gt;
--&lt;br /&gt;
--     cfg['sandbox-link-display'] (cfg['sandbox-edit-link-display'] | cfg['compare-link-display'])&lt;br /&gt;
-- &lt;br /&gt;
-- If the sandbox doesn't exist, it is in the format:&lt;br /&gt;
--&lt;br /&gt;
--     cfg['sandbox-link-display'] (cfg['sandbox-create-link-display'] | cfg['mirror-link-display'])&lt;br /&gt;
-- &lt;br /&gt;
-- The link for cfg['sandbox-create-link-display'] link preloads the page with cfg['template-sandbox-preload']&lt;br /&gt;
-- or cfg['module-sandbox-preload'], depending on the current namespace. The link for cfg['mirror-link-display']&lt;br /&gt;
-- loads a default edit summary of cfg['mirror-edit-summary'].&lt;br /&gt;
--&lt;br /&gt;
-- $2 is a link to the test cases page. If the test cases page exists, it is in the following format:&lt;br /&gt;
--&lt;br /&gt;
--     cfg['testcases-link-display'] (cfg['testcases-edit-link-display'])&lt;br /&gt;
--&lt;br /&gt;
-- If the test cases page doesn't exist, it is in the format:&lt;br /&gt;
-- &lt;br /&gt;
--     cfg['testcases-link-display'] (cfg['testcases-create-link-display'])&lt;br /&gt;
--&lt;br /&gt;
-- If the test cases page doesn't exist, the link for cfg['testcases-create-link-display'] preloads the&lt;br /&gt;
-- page with cfg['template-testcases-preload'] or cfg['module-testcases-preload'], depending on the current&lt;br /&gt;
-- namespace.&lt;br /&gt;
--]]&lt;br /&gt;
cfg['experiment-blurb-template'] = format('experiment-blurb-template')&lt;br /&gt;
cfg['experiment-blurb-module'] = format('experiment-blurb-module')&lt;br /&gt;
&lt;br /&gt;
----------------------------------------------------------------------------------------------------&lt;br /&gt;
-- Sandbox link configuration&lt;br /&gt;
----------------------------------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
-- cfg['sandbox-subpage']&lt;br /&gt;
-- The name of the template subpage typically used for sandboxes.&lt;br /&gt;
cfg['sandbox-subpage'] = 'sandbox'&lt;br /&gt;
&lt;br /&gt;
-- cfg['template-sandbox-preload']&lt;br /&gt;
-- Preload file for template sandbox pages.&lt;br /&gt;
cfg['template-sandbox-preload'] = 'Template:Documentation/preload-sandbox'&lt;br /&gt;
&lt;br /&gt;
-- cfg['module-sandbox-preload']&lt;br /&gt;
-- Preload file for Lua module sandbox pages.&lt;br /&gt;
cfg['module-sandbox-preload'] = 'Template:Documentation/preload-module-sandbox'&lt;br /&gt;
&lt;br /&gt;
-- cfg['sandbox-link-display']&lt;br /&gt;
-- The text to display for &amp;quot;sandbox&amp;quot; links.&lt;br /&gt;
cfg['sandbox-link-display'] = format('sandbox-link-display')&lt;br /&gt;
&lt;br /&gt;
-- cfg['sandbox-edit-link-display']&lt;br /&gt;
-- The text to display for sandbox &amp;quot;edit&amp;quot; links.&lt;br /&gt;
cfg['sandbox-edit-link-display'] = format('sandbox-edit-link-display')&lt;br /&gt;
&lt;br /&gt;
-- cfg['sandbox-create-link-display']&lt;br /&gt;
-- The text to display for sandbox &amp;quot;create&amp;quot; links.&lt;br /&gt;
cfg['sandbox-create-link-display'] = format('sandbox-create-link-display')&lt;br /&gt;
&lt;br /&gt;
-- cfg['compare-link-display']&lt;br /&gt;
-- The text to display for &amp;quot;compare&amp;quot; links.&lt;br /&gt;
cfg['compare-link-display'] = format('compare-link-display')&lt;br /&gt;
&lt;br /&gt;
-- cfg['mirror-edit-summary']&lt;br /&gt;
-- The default edit summary to use when a user clicks the &amp;quot;mirror&amp;quot; link. $1 is a wikilink to the&lt;br /&gt;
-- template page.&lt;br /&gt;
cfg['mirror-edit-summary'] = 'Create sandbox version of $1'&lt;br /&gt;
&lt;br /&gt;
-- cfg['mirror-link-display']&lt;br /&gt;
-- The text to display for &amp;quot;mirror&amp;quot; links.&lt;br /&gt;
cfg['mirror-link-display'] = format('mirror-link-display')&lt;br /&gt;
&lt;br /&gt;
-- cfg['mirror-link-preload']&lt;br /&gt;
-- The page to preload when a user clicks the &amp;quot;mirror&amp;quot; link.&lt;br /&gt;
cfg['mirror-link-preload'] = 'Template:Documentation/mirror'&lt;br /&gt;
&lt;br /&gt;
----------------------------------------------------------------------------------------------------&lt;br /&gt;
-- Test cases link configuration&lt;br /&gt;
----------------------------------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
-- cfg['testcases-subpage']&lt;br /&gt;
-- The name of the template subpage typically used for test cases.&lt;br /&gt;
cfg['testcases-subpage'] = 'testcases'&lt;br /&gt;
&lt;br /&gt;
-- cfg['template-testcases-preload']&lt;br /&gt;
-- Preload file for template test cases pages.&lt;br /&gt;
cfg['template-testcases-preload'] = 'Template:Documentation/preload-testcases'&lt;br /&gt;
&lt;br /&gt;
-- cfg['module-testcases-preload']&lt;br /&gt;
-- Preload file for Lua module test cases pages.&lt;br /&gt;
cfg['module-testcases-preload'] = 'Template:Documentation/preload-module-testcases'&lt;br /&gt;
&lt;br /&gt;
-- cfg['testcases-link-display']&lt;br /&gt;
-- The text to display for &amp;quot;testcases&amp;quot; links.&lt;br /&gt;
cfg['testcases-link-display'] = format('testcases-link-display')&lt;br /&gt;
&lt;br /&gt;
-- cfg['testcases-edit-link-display']&lt;br /&gt;
-- The text to display for test cases &amp;quot;edit&amp;quot; links.&lt;br /&gt;
cfg['testcases-edit-link-display'] = format('testcases-edit-link-display')&lt;br /&gt;
&lt;br /&gt;
-- cfg['testcases-create-link-display']&lt;br /&gt;
-- The text to display for test cases &amp;quot;create&amp;quot; links.&lt;br /&gt;
cfg['testcases-create-link-display'] = format('testcases-create-link-display')&lt;br /&gt;
&lt;br /&gt;
----------------------------------------------------------------------------------------------------&lt;br /&gt;
-- Add categories blurb configuration&lt;br /&gt;
----------------------------------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
--[[&lt;br /&gt;
-- cfg['add-categories-blurb']&lt;br /&gt;
-- Text to direct users to add categories to the /doc subpage. Not used if the &amp;quot;content&amp;quot; or&lt;br /&gt;
-- &amp;quot;docname fed&amp;quot; arguments are set, as then it is not clear where to add the categories. $1 is a&lt;br /&gt;
-- link to the /doc subpage with a display value of cfg['doc-link-display'].&lt;br /&gt;
--]]&lt;br /&gt;
cfg['add-categories-blurb'] = format('add-categories-blurb')&lt;br /&gt;
&lt;br /&gt;
-- cfg['doc-link-display']&lt;br /&gt;
-- The text to display when linking to the /doc subpage.&lt;br /&gt;
cfg['doc-link-display'] = '/doc'&lt;br /&gt;
&lt;br /&gt;
----------------------------------------------------------------------------------------------------&lt;br /&gt;
-- Subpages link configuration&lt;br /&gt;
----------------------------------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
--[[&lt;br /&gt;
-- cfg['subpages-blurb']&lt;br /&gt;
-- The &amp;quot;Subpages of this template&amp;quot; blurb. $1 is a link to the main template's subpages with a&lt;br /&gt;
-- display value of cfg['subpages-link-display']. In the English version this blurb is simply&lt;br /&gt;
-- the link followed by a period, and the link display provides the actual text.&lt;br /&gt;
--]]&lt;br /&gt;
cfg['subpages-blurb'] = format('subpages-blurb')&lt;br /&gt;
&lt;br /&gt;
--[[&lt;br /&gt;
-- cfg['subpages-link-display']&lt;br /&gt;
-- The text to display for the &amp;quot;subpages of this page&amp;quot; link. $1 is cfg['template-pagetype'],&lt;br /&gt;
-- cfg['module-pagetype'] or cfg['default-pagetype'], depending on whether the current page is in&lt;br /&gt;
-- the template namespace, the module namespace, or another namespace.&lt;br /&gt;
--]]&lt;br /&gt;
cfg['subpages-link-display'] = format('subpages-link-display')&lt;br /&gt;
&lt;br /&gt;
-- cfg['template-pagetype']&lt;br /&gt;
-- The pagetype to display for template pages.&lt;br /&gt;
cfg['template-pagetype'] = format('template-pagetype')&lt;br /&gt;
&lt;br /&gt;
-- cfg['module-pagetype']&lt;br /&gt;
-- The pagetype to display for Lua module pages.&lt;br /&gt;
cfg['module-pagetype'] = format('module-pagetype')&lt;br /&gt;
&lt;br /&gt;
-- cfg['default-pagetype']&lt;br /&gt;
-- The pagetype to display for pages other than templates or Lua modules.&lt;br /&gt;
cfg['default-pagetype'] = format('default-pagetype')&lt;br /&gt;
&lt;br /&gt;
----------------------------------------------------------------------------------------------------&lt;br /&gt;
-- Doc link configuration&lt;br /&gt;
----------------------------------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
-- cfg['doc-subpage']&lt;br /&gt;
-- The name of the subpage typically used for documentation pages.&lt;br /&gt;
cfg['doc-subpage'] = 'doc'&lt;br /&gt;
&lt;br /&gt;
-- cfg['file-docpage-preload']&lt;br /&gt;
-- Preload file for documentation page in the file namespace.&lt;br /&gt;
cfg['file-docpage-preload'] = 'Template:Documentation/preload-filespace'&lt;br /&gt;
&lt;br /&gt;
-- cfg['docpage-preload']&lt;br /&gt;
-- Preload file for template documentation pages in all namespaces.&lt;br /&gt;
cfg['docpage-preload'] = 'Template:Documentation/preload'&lt;br /&gt;
&lt;br /&gt;
-- cfg['module-preload']&lt;br /&gt;
-- Preload file for Lua module documentation pages.&lt;br /&gt;
cfg['module-preload'] = 'Template:Documentation/preload-module-doc'&lt;br /&gt;
&lt;br /&gt;
----------------------------------------------------------------------------------------------------&lt;br /&gt;
-- Print version configuration&lt;br /&gt;
----------------------------------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
-- cfg['print-subpage']&lt;br /&gt;
-- The name of the template subpage used for print versions.&lt;br /&gt;
cfg['print-subpage'] = 'Print'&lt;br /&gt;
&lt;br /&gt;
-- cfg['print-link-display']&lt;br /&gt;
-- The text to display when linking to the /Print subpage.&lt;br /&gt;
cfg['print-link-display'] = '/Print'&lt;br /&gt;
&lt;br /&gt;
-- cfg['print-blurb']&lt;br /&gt;
-- Text to display if a /Print subpage exists. $1 is a link to the subpage with a display value of cfg['print-link-display'].&lt;br /&gt;
cfg['print-blurb'] = format('print-blurb')&lt;br /&gt;
&lt;br /&gt;
-- cfg['display-print-category']&lt;br /&gt;
-- Set to true to enable output of cfg['print-category'] if a /Print subpage exists.&lt;br /&gt;
-- This should be a boolean value (either true or false).&lt;br /&gt;
cfg['display-print-category'] = true&lt;br /&gt;
&lt;br /&gt;
-- cfg['print-category']&lt;br /&gt;
-- Category to output if cfg['display-print-category'] is set to true, and a /Print subpage exists.&lt;br /&gt;
cfg['print-category'] = 'Templates with print versions'&lt;br /&gt;
&lt;br /&gt;
----------------------------------------------------------------------------------------------------&lt;br /&gt;
-- HTML and CSS configuration&lt;br /&gt;
----------------------------------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
-- cfg['main-div-id']&lt;br /&gt;
-- The &amp;quot;id&amp;quot; attribute of the main HTML &amp;quot;div&amp;quot; tag.&lt;br /&gt;
cfg['main-div-id'] = 'template-documentation'&lt;br /&gt;
&lt;br /&gt;
-- cfg['main-div-classes']&lt;br /&gt;
-- The CSS classes added to the main HTML &amp;quot;div&amp;quot; tag.&lt;br /&gt;
cfg['main-div-class'] = 'ts-doc-doc'&lt;br /&gt;
cfg['header-div-class'] = 'ts-doc-header'&lt;br /&gt;
cfg['heading-div-class'] = 'ts-doc-heading'&lt;br /&gt;
cfg['content-div-class'] = 'ts-doc-content'&lt;br /&gt;
cfg['footer-div-class'] = 'ts-doc-footer plainlinks'&lt;br /&gt;
&lt;br /&gt;
cfg['sandbox-class'] = 'ts-doc-sandbox'&lt;br /&gt;
&lt;br /&gt;
-- cfg['start-box-linkclasses']&lt;br /&gt;
-- The CSS classes used for the [view][edit][history] or [create] links in the start box.&lt;br /&gt;
cfg['start-box-linkclasses'] = 'ts-tlinks-tlinks mw-editsection-like plainlinks'&lt;br /&gt;
&lt;br /&gt;
-- cfg['start-box-link-id']&lt;br /&gt;
-- The HTML &amp;quot;id&amp;quot; attribute for the links in the start box.&lt;br /&gt;
cfg['start-box-link-id'] = 'doc_editlinks'&lt;br /&gt;
&lt;br /&gt;
----------------------------------------------------------------------------------------------------&lt;br /&gt;
-- Tracking category configuration&lt;br /&gt;
----------------------------------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
-- cfg['display-strange-usage-category']&lt;br /&gt;
-- Set to true to enable output of cfg['strange-usage-category'] if the module is used on a /doc subpage&lt;br /&gt;
-- or a /testcases subpage. This should be a boolean value (either true or false).&lt;br /&gt;
cfg['display-strange-usage-category'] = true&lt;br /&gt;
&lt;br /&gt;
-- cfg['strange-usage-category']&lt;br /&gt;
-- Category to output if cfg['display-strange-usage-category'] is set to true and the module is used on a&lt;br /&gt;
-- /doc subpage or a /testcases subpage.&lt;br /&gt;
cfg['strange-usage-category'] = 'Wikipedia pages with strange ((documentation)) usage'&lt;br /&gt;
&lt;br /&gt;
--[[&lt;br /&gt;
----------------------------------------------------------------------------------------------------&lt;br /&gt;
-- End configuration&lt;br /&gt;
--&lt;br /&gt;
-- Don't edit anything below this line.&lt;br /&gt;
----------------------------------------------------------------------------------------------------&lt;br /&gt;
--]]&lt;br /&gt;
&lt;br /&gt;
return cfg&lt;/div&gt;</summary>
		<author><name>Colt</name></author>
	</entry>
	<entry>
		<id>https://confrontation.wiki/index.php?title=Module:Documentation&amp;diff=1716</id>
		<title>Module:Documentation</title>
		<link rel="alternate" type="text/html" href="https://confrontation.wiki/index.php?title=Module:Documentation&amp;diff=1716"/>
		<updated>2021-07-19T05:36:36Z</updated>

		<summary type="html">&lt;p&gt;Colt: 171 revisions imported&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;-- This module implements {{documentation}}.&lt;br /&gt;
&lt;br /&gt;
-- Get required modules.&lt;br /&gt;
local getArgs = require('Module:Arguments').getArgs&lt;br /&gt;
local messageBox = require('Module:Message box')&lt;br /&gt;
&lt;br /&gt;
-- Get the config table.&lt;br /&gt;
local cfg = mw.loadData('Module:Documentation/config')&lt;br /&gt;
local i18n = mw.loadData('Module:Documentation/i18n')&lt;br /&gt;
local p = {}&lt;br /&gt;
&lt;br /&gt;
-- Often-used functions.&lt;br /&gt;
local ugsub = mw.ustring.gsub&lt;br /&gt;
&lt;br /&gt;
----------------------------------------------------------------------------&lt;br /&gt;
-- Helper functions&lt;br /&gt;
--&lt;br /&gt;
-- These are defined as local functions, but are made available in the p&lt;br /&gt;
-- table for testing purposes.&lt;br /&gt;
----------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
local function message(cfgKey, valArray, expectType)&lt;br /&gt;
	--[[&lt;br /&gt;
	-- Gets a message from the cfg table and formats it if appropriate.&lt;br /&gt;
	-- The function raises an error if the value from the cfg table is not&lt;br /&gt;
	-- of the type expectType. The default type for expectType is 'string'.&lt;br /&gt;
	-- If the table valArray is present, strings such as $1, $2 etc. in the&lt;br /&gt;
	-- message are substituted with values from the table keys [1], [2] etc.&lt;br /&gt;
	-- For example, if the message &amp;quot;foo-message&amp;quot; had the value 'Foo $2 bar $1.',&lt;br /&gt;
	-- message('foo-message', {'baz', 'qux'}) would return &amp;quot;Foo qux bar baz.&amp;quot;&lt;br /&gt;
	--]]&lt;br /&gt;
	local msg = cfg[cfgKey]&lt;br /&gt;
	expectType = expectType or 'string'&lt;br /&gt;
	if type(msg) ~= expectType then&lt;br /&gt;
		error(require('Module:TNT').format('I18n/Documentation', 'cfg-error-msg-type', cfgKey, expectType, type(msg)), 2)&lt;br /&gt;
	end&lt;br /&gt;
	if not valArray then&lt;br /&gt;
		return msg&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	local function getMessageVal(match)&lt;br /&gt;
		match = tonumber(match)&lt;br /&gt;
		return valArray[match] or error(require('Module:TNT').format('I18n/Documentation', 'cfg-error-msg-empty', '$' .. match, cfgKey), 4)&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	local ret = ugsub(msg, '$([1-9][0-9]*)', getMessageVal)&lt;br /&gt;
	return ret&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
p.message = message&lt;br /&gt;
&lt;br /&gt;
local function makeWikilink(page, display)&lt;br /&gt;
	if display then&lt;br /&gt;
		return mw.ustring.format('[[%s|%s]]', page, display)&lt;br /&gt;
	else&lt;br /&gt;
		return mw.ustring.format('[[%s]]', page)&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
p.makeWikilink = makeWikilink&lt;br /&gt;
&lt;br /&gt;
local function makeCategoryLink(cat, sort)&lt;br /&gt;
	local catns = mw.site.namespaces[14].name&lt;br /&gt;
	return makeWikilink(catns .. ':' .. cat, sort)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
p.makeCategoryLink = makeCategoryLink&lt;br /&gt;
&lt;br /&gt;
local function makeUrlLink(url, display)&lt;br /&gt;
	return mw.ustring.format('[%s %s]', url, display)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
p.makeUrlLink = makeUrlLink&lt;br /&gt;
&lt;br /&gt;
local function makeToolbar(...)&lt;br /&gt;
	local ret = {}&lt;br /&gt;
	local lim = select('#', ...)&lt;br /&gt;
	if lim &amp;lt; 1 then&lt;br /&gt;
		return nil&lt;br /&gt;
	end&lt;br /&gt;
	for i = 1, lim do&lt;br /&gt;
		ret[#ret + 1] = select(i, ...)&lt;br /&gt;
	end&lt;br /&gt;
	return '&amp;lt;small style=&amp;quot;font-style: normal;&amp;quot;&amp;gt;(' .. table.concat(ret, ' &amp;amp;#124; ') .. ')&amp;lt;/small&amp;gt;'&lt;br /&gt;
end	&lt;br /&gt;
&lt;br /&gt;
p.makeToolbar = makeToolbar&lt;br /&gt;
&lt;br /&gt;
----------------------------------------------------------------------------&lt;br /&gt;
-- Argument processing&lt;br /&gt;
----------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
local function makeInvokeFunc(funcName)&lt;br /&gt;
	return function (frame)&lt;br /&gt;
		local args = getArgs(frame, {&lt;br /&gt;
			valueFunc = function (key, value)&lt;br /&gt;
				if type(value) == 'string' then&lt;br /&gt;
					value = value:match('^%s*(.-)%s*$') -- Remove whitespace.&lt;br /&gt;
					if key == 'heading' or value ~= '' then&lt;br /&gt;
						return value&lt;br /&gt;
					else&lt;br /&gt;
						return nil&lt;br /&gt;
					end&lt;br /&gt;
				else&lt;br /&gt;
					return value&lt;br /&gt;
				end&lt;br /&gt;
			end&lt;br /&gt;
		})&lt;br /&gt;
		return p[funcName](args)&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
----------------------------------------------------------------------------&lt;br /&gt;
-- Load TemplateStyles&lt;br /&gt;
----------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
p.main = function(frame)&lt;br /&gt;
	local parent = frame.getParent(frame)&lt;br /&gt;
	local output = p._main(parent.args)&lt;br /&gt;
	return frame:extensionTag{ name='templatestyles', args = { src= message('templatestyles-scr') } } .. output&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
----------------------------------------------------------------------------&lt;br /&gt;
-- Main function&lt;br /&gt;
----------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
function p._main(args)&lt;br /&gt;
	--[[&lt;br /&gt;
	-- This function defines logic flow for the module.&lt;br /&gt;
	-- @args - table of arguments passed by the user&lt;br /&gt;
	-- &lt;br /&gt;
	-- Messages:&lt;br /&gt;
	-- 'main-div-id' --&amp;gt; 'template-documentation'&lt;br /&gt;
	-- 'main-div-classes' --&amp;gt; 'template-documentation iezoomfix'&lt;br /&gt;
	--]]&lt;br /&gt;
	local env = p.getEnvironment(args)&lt;br /&gt;
	local root = mw.html.create()&lt;br /&gt;
	root&lt;br /&gt;
		:wikitext(p.protectionTemplate(env))&lt;br /&gt;
		:wikitext(p.sandboxNotice(args, env))&lt;br /&gt;
		 -- This div tag is from {{documentation/start box}}, but moving it here&lt;br /&gt;
		 -- so that we don't have to worry about unclosed tags.&lt;br /&gt;
		:tag('div')&lt;br /&gt;
			:attr('id', message('main-div-id'))&lt;br /&gt;
			:addClass(message('main-div-class'))&lt;br /&gt;
			:wikitext(p._startBox(args, env))&lt;br /&gt;
			:wikitext(p._content(args, env))&lt;br /&gt;
			:done()&lt;br /&gt;
		:wikitext(p._endBox(args, env))&lt;br /&gt;
		:wikitext(p.addTrackingCategories(env))&lt;br /&gt;
	return tostring(root)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
----------------------------------------------------------------------------&lt;br /&gt;
-- Environment settings&lt;br /&gt;
----------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
function p.getEnvironment(args)&lt;br /&gt;
	--[[&lt;br /&gt;
	-- Returns a table with information about the environment, including title objects and other namespace- or&lt;br /&gt;
	-- path-related data.&lt;br /&gt;
	-- @args - table of arguments passed by the user&lt;br /&gt;
	--&lt;br /&gt;
	-- Title objects include:&lt;br /&gt;
	-- env.title - the page we are making documentation for (usually the current title)&lt;br /&gt;
	-- env.templateTitle - the template (or module, file, etc.)&lt;br /&gt;
	-- env.docTitle - the /doc subpage.&lt;br /&gt;
	-- env.sandboxTitle - the /sandbox subpage.&lt;br /&gt;
	-- env.testcasesTitle - the /testcases subpage.&lt;br /&gt;
	-- env.printTitle - the print version of the template, located at the /Print subpage.&lt;br /&gt;
	--&lt;br /&gt;
	-- Data includes:&lt;br /&gt;
	-- env.protectionLevels - the protection levels table of the title object.&lt;br /&gt;
	-- env.subjectSpace - the number of the title's subject namespace.&lt;br /&gt;
	-- env.docSpace - the number of the namespace the title puts its documentation in.&lt;br /&gt;
	-- env.docpageBase - the text of the base page of the /doc, /sandbox and /testcases pages, with namespace.&lt;br /&gt;
	-- env.compareUrl - URL of the Special:ComparePages page comparing the sandbox with the template.&lt;br /&gt;
	-- &lt;br /&gt;
	-- All table lookups are passed through pcall so that errors are caught. If an error occurs, the value&lt;br /&gt;
	-- returned will be nil.&lt;br /&gt;
	--]]&lt;br /&gt;
	&lt;br /&gt;
	local env, envFuncs = {}, {}&lt;br /&gt;
&lt;br /&gt;
	-- Set up the metatable. If triggered we call the corresponding function in the envFuncs table. The value&lt;br /&gt;
	-- returned by that function is memoized in the env table so that we don't call any of the functions&lt;br /&gt;
	-- more than once. (Nils won't be memoized.)&lt;br /&gt;
	setmetatable(env, {&lt;br /&gt;
		__index = function (t, key)&lt;br /&gt;
			local envFunc = envFuncs[key]&lt;br /&gt;
			if envFunc then&lt;br /&gt;
				local success, val = pcall(envFunc)&lt;br /&gt;
				if success then&lt;br /&gt;
					env[key] = val -- Memoise the value.&lt;br /&gt;
					return val&lt;br /&gt;
				end&lt;br /&gt;
			end&lt;br /&gt;
			return nil&lt;br /&gt;
		end&lt;br /&gt;
	})	&lt;br /&gt;
&lt;br /&gt;
	function envFuncs.title()&lt;br /&gt;
		-- The title object for the current page, or a test page passed with args.page.&lt;br /&gt;
		local title&lt;br /&gt;
		local titleArg = args.page&lt;br /&gt;
		if titleArg then&lt;br /&gt;
			title = mw.title.new(titleArg)&lt;br /&gt;
		else&lt;br /&gt;
			title = mw.title.getCurrentTitle()&lt;br /&gt;
		end&lt;br /&gt;
		return title&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	function envFuncs.templateTitle()&lt;br /&gt;
		--[[&lt;br /&gt;
		-- The template (or module, etc.) title object.&lt;br /&gt;
		-- Messages:&lt;br /&gt;
		-- 'sandbox-subpage' --&amp;gt; 'sandbox'&lt;br /&gt;
		-- 'testcases-subpage' --&amp;gt; 'testcases'&lt;br /&gt;
		--]]&lt;br /&gt;
		local subjectSpace = env.subjectSpace&lt;br /&gt;
		local title = env.title&lt;br /&gt;
		local subpage = title.subpageText&lt;br /&gt;
		if subpage == message('sandbox-subpage') or subpage == message('testcases-subpage') then&lt;br /&gt;
			return mw.title.makeTitle(subjectSpace, title.baseText)&lt;br /&gt;
		else&lt;br /&gt;
			return mw.title.makeTitle(subjectSpace, title.text)&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	function envFuncs.docTitle()&lt;br /&gt;
		--[[&lt;br /&gt;
		-- Title object of the /doc subpage.&lt;br /&gt;
		-- Messages:&lt;br /&gt;
		-- 'doc-subpage' --&amp;gt; 'doc'&lt;br /&gt;
		--]]&lt;br /&gt;
		local title = env.title&lt;br /&gt;
		local docname = args[1] -- User-specified doc page.&lt;br /&gt;
		local docpage&lt;br /&gt;
		if docname then&lt;br /&gt;
			docpage = docname&lt;br /&gt;
		else&lt;br /&gt;
			docpage = env.docpageBase .. '/' .. message('doc-subpage')&lt;br /&gt;
		end&lt;br /&gt;
		return mw.title.new(docpage)&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	function envFuncs.sandboxTitle()&lt;br /&gt;
		--[[&lt;br /&gt;
		-- Title object for the /sandbox subpage.&lt;br /&gt;
		-- Messages:&lt;br /&gt;
		-- 'sandbox-subpage' --&amp;gt; 'sandbox'&lt;br /&gt;
		--]]&lt;br /&gt;
		return mw.title.new(env.docpageBase .. '/' .. message('sandbox-subpage'))&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	function envFuncs.testcasesTitle()&lt;br /&gt;
		--[[&lt;br /&gt;
		-- Title object for the /testcases subpage.&lt;br /&gt;
		-- Messages:&lt;br /&gt;
		-- 'testcases-subpage' --&amp;gt; 'testcases'&lt;br /&gt;
		--]]&lt;br /&gt;
		return mw.title.new(env.docpageBase .. '/' .. message('testcases-subpage'))&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	function envFuncs.printTitle()&lt;br /&gt;
		--[[&lt;br /&gt;
		-- Title object for the /Print subpage.&lt;br /&gt;
		-- Messages:&lt;br /&gt;
		-- 'print-subpage' --&amp;gt; 'Print'&lt;br /&gt;
		--]]&lt;br /&gt;
		return env.templateTitle:subPageTitle(message('print-subpage'))&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	function envFuncs.protectionLevels()&lt;br /&gt;
		-- The protection levels table of the title object.&lt;br /&gt;
		return env.title.protectionLevels&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	function envFuncs.subjectSpace()&lt;br /&gt;
		-- The subject namespace number.&lt;br /&gt;
		return mw.site.namespaces[env.title.namespace].subject.id&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	function envFuncs.docSpace()&lt;br /&gt;
		-- The documentation namespace number. For most namespaces this is the same as the&lt;br /&gt;
		-- subject namespace. However, pages in the Article, File, MediaWiki or Category&lt;br /&gt;
		-- namespaces must have their /doc, /sandbox and /testcases pages in talk space.&lt;br /&gt;
		local subjectSpace = env.subjectSpace&lt;br /&gt;
		if subjectSpace == 0 or subjectSpace == 6 or subjectSpace == 8 or subjectSpace == 14 then&lt;br /&gt;
			return subjectSpace + 1&lt;br /&gt;
		else&lt;br /&gt;
			return subjectSpace&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	function envFuncs.docpageBase()&lt;br /&gt;
		-- The base page of the /doc, /sandbox, and /testcases subpages.&lt;br /&gt;
		-- For some namespaces this is the talk page, rather than the template page.&lt;br /&gt;
		local templateTitle = env.templateTitle&lt;br /&gt;
		local docSpace = env.docSpace&lt;br /&gt;
		local docSpaceText = mw.site.namespaces[docSpace].name&lt;br /&gt;
		-- Assemble the link. docSpace is never the main namespace, so we can hardcode the colon.&lt;br /&gt;
		return docSpaceText .. ':' .. templateTitle.text&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	function envFuncs.compareUrl()&lt;br /&gt;
		-- Diff link between the sandbox and the main template using [[Special:ComparePages]].&lt;br /&gt;
		local templateTitle = env.templateTitle&lt;br /&gt;
		local sandboxTitle = env.sandboxTitle&lt;br /&gt;
		if templateTitle.exists and sandboxTitle.exists then&lt;br /&gt;
			local compareUrl = mw.uri.fullUrl(&lt;br /&gt;
				'Special:ComparePages',&lt;br /&gt;
				{page1 = templateTitle.prefixedText, page2 = sandboxTitle.prefixedText}&lt;br /&gt;
			)&lt;br /&gt;
			return tostring(compareUrl)&lt;br /&gt;
		else&lt;br /&gt;
			return nil&lt;br /&gt;
		end&lt;br /&gt;
	end		&lt;br /&gt;
&lt;br /&gt;
	return env&lt;br /&gt;
end	&lt;br /&gt;
&lt;br /&gt;
----------------------------------------------------------------------------&lt;br /&gt;
-- Auxiliary templates&lt;br /&gt;
----------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
function p.sandboxNotice(args, env)&lt;br /&gt;
	--[=[&lt;br /&gt;
	-- Generates a sandbox notice for display above sandbox pages.&lt;br /&gt;
	-- @args - a table of arguments passed by the user&lt;br /&gt;
	-- @env - environment table containing title objects, etc., generated with p.getEnvironment&lt;br /&gt;
	-- &lt;br /&gt;
	-- Messages:&lt;br /&gt;
	-- 'sandbox-notice-image' --&amp;gt; '[[Image:Sandbox.svg|50px|alt=|link=]]'&lt;br /&gt;
	-- 'sandbox-notice-blurb' --&amp;gt; 'This is the $1 for $2.'&lt;br /&gt;
	-- 'sandbox-notice-diff-blurb' --&amp;gt; 'This is the $1 for $2 ($3).'&lt;br /&gt;
	-- 'sandbox-notice-pagetype-template' --&amp;gt; '[[w:Wikipedia:Template test cases|template sandbox]] page'&lt;br /&gt;
	-- 'sandbox-notice-pagetype-module' --&amp;gt; '[[w:Wikipedia:Template test cases|module sandbox]] page'&lt;br /&gt;
	-- 'sandbox-notice-pagetype-other' --&amp;gt; 'sandbox page'&lt;br /&gt;
	-- 'sandbox-notice-compare-link-display' --&amp;gt; 'diff'&lt;br /&gt;
	-- 'sandbox-notice-testcases-blurb' --&amp;gt; 'See also the companion subpage for $1.'&lt;br /&gt;
	-- 'sandbox-notice-testcases-link-display' --&amp;gt; 'test cases'&lt;br /&gt;
	-- 'sandbox-category' --&amp;gt; 'Template sandboxes'&lt;br /&gt;
	--]=]&lt;br /&gt;
	local title = env.title&lt;br /&gt;
	local sandboxTitle = env.sandboxTitle&lt;br /&gt;
	local templateTitle = env.templateTitle&lt;br /&gt;
	local subjectSpace = env.subjectSpace&lt;br /&gt;
	if not (subjectSpace and title and sandboxTitle and templateTitle and mw.title.equals(title, sandboxTitle)) then&lt;br /&gt;
		return nil&lt;br /&gt;
	end&lt;br /&gt;
	-- Build the table of arguments to pass to {{ombox}}. We need just two fields, &amp;quot;image&amp;quot; and &amp;quot;text&amp;quot;.&lt;br /&gt;
	local omargs = {}&lt;br /&gt;
	omargs.image = message('sandbox-notice-image')&lt;br /&gt;
	-- Get the text. We start with the opening blurb, which is something like&lt;br /&gt;
	-- &amp;quot;This is the template sandbox for [[Template:Foo]] (diff).&amp;quot;&lt;br /&gt;
	local text = ''&lt;br /&gt;
	local frame = mw.getCurrentFrame()&lt;br /&gt;
	local isPreviewing = frame:preprocess('{{REVISIONID}}') == '' -- True if the page is being previewed.&lt;br /&gt;
	local pagetype&lt;br /&gt;
	if subjectSpace == 10 then&lt;br /&gt;
		pagetype = message('sandbox-notice-pagetype-template')&lt;br /&gt;
	elseif subjectSpace == 828 then&lt;br /&gt;
		pagetype = message('sandbox-notice-pagetype-module')&lt;br /&gt;
	else&lt;br /&gt;
		pagetype = message('sandbox-notice-pagetype-other')&lt;br /&gt;
	end&lt;br /&gt;
	local templateLink = makeWikilink(templateTitle.prefixedText)&lt;br /&gt;
	local compareUrl = env.compareUrl&lt;br /&gt;
	if isPreviewing or not compareUrl then&lt;br /&gt;
		text = text .. message('sandbox-notice-blurb', {pagetype, templateLink})&lt;br /&gt;
	else&lt;br /&gt;
		local compareDisplay = message('sandbox-notice-compare-link-display')&lt;br /&gt;
		local compareLink = makeUrlLink(compareUrl, compareDisplay)&lt;br /&gt;
		text = text .. message('sandbox-notice-diff-blurb', {pagetype, templateLink, compareLink})&lt;br /&gt;
	end&lt;br /&gt;
	-- Get the test cases page blurb if the page exists. This is something like&lt;br /&gt;
	-- &amp;quot;See also the companion subpage for [[Template:Foo/testcases|test cases]].&amp;quot;&lt;br /&gt;
	local testcasesTitle = env.testcasesTitle&lt;br /&gt;
	if testcasesTitle and testcasesTitle.exists then&lt;br /&gt;
		if testcasesTitle.contentModel == &amp;quot;Scribunto&amp;quot; then&lt;br /&gt;
			local testcasesLinkDisplay = message('sandbox-notice-testcases-link-display')&lt;br /&gt;
			local testcasesRunLinkDisplay = message('sandbox-notice-testcases-run-link-display')&lt;br /&gt;
			local testcasesLink = makeWikilink(testcasesTitle.prefixedText, testcasesLinkDisplay)&lt;br /&gt;
			local testcasesRunLink = makeWikilink(testcasesTitle.talkPageTitle.prefixedText, testcasesRunLinkDisplay)&lt;br /&gt;
			text = text .. '&amp;lt;br /&amp;gt;' .. message('sandbox-notice-testcases-run-blurb', {testcasesLink, testcasesRunLink})&lt;br /&gt;
		else&lt;br /&gt;
			local testcasesLinkDisplay = message('sandbox-notice-testcases-link-display')&lt;br /&gt;
			local testcasesLink = makeWikilink(testcasesTitle.prefixedText, testcasesLinkDisplay)&lt;br /&gt;
			text = text .. '&amp;lt;br /&amp;gt;' .. message('sandbox-notice-testcases-blurb', {testcasesLink})&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	-- Add the sandbox to the sandbox category.&lt;br /&gt;
	text = text .. makeCategoryLink(message('sandbox-category'))&lt;br /&gt;
	omargs.text = text&lt;br /&gt;
	omargs.class = message('sandbox-class')&lt;br /&gt;
	local ret = '&amp;lt;div style=&amp;quot;clear: both;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;'&lt;br /&gt;
	ret = ret .. messageBox.main('ombox', omargs)&lt;br /&gt;
	return ret&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.protectionTemplate(env)&lt;br /&gt;
	-- Generates the padlock icon in the top right.&lt;br /&gt;
	-- @env - environment table containing title objects, etc., generated with p.getEnvironment&lt;br /&gt;
	-- Messages:&lt;br /&gt;
	-- 'protection-template' --&amp;gt; 'pp-template'&lt;br /&gt;
	-- 'protection-template-args' --&amp;gt; {docusage = 'yes'}&lt;br /&gt;
	local title = env.title&lt;br /&gt;
	local protectionLevels&lt;br /&gt;
	local protectionTemplate = message('protection-template')&lt;br /&gt;
	local namespace = title.namespace&lt;br /&gt;
	if not (protectionTemplate and (namespace == 10 or namespace == 828)) then&lt;br /&gt;
		-- Don't display the protection template if we are not in the template or module namespaces.&lt;br /&gt;
		return nil&lt;br /&gt;
	end&lt;br /&gt;
	protectionLevels = env.protectionLevels&lt;br /&gt;
	if not protectionLevels then&lt;br /&gt;
		return nil&lt;br /&gt;
	end&lt;br /&gt;
	local editLevels = protectionLevels.edit&lt;br /&gt;
	local moveLevels = protectionLevels.move&lt;br /&gt;
	if moveLevels and moveLevels[1] == 'sysop' or editLevels and editLevels[1] then&lt;br /&gt;
		-- The page is full-move protected, or full, template, or semi-protected.&lt;br /&gt;
		local frame = mw.getCurrentFrame()&lt;br /&gt;
		return frame:expandTemplate{title = protectionTemplate, args = message('protection-template-args', nil, 'table')}&lt;br /&gt;
	else&lt;br /&gt;
		return nil&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
----------------------------------------------------------------------------&lt;br /&gt;
-- Start box&lt;br /&gt;
----------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
p.startBox = makeInvokeFunc('_startBox')&lt;br /&gt;
&lt;br /&gt;
function p._startBox(args, env)&lt;br /&gt;
	--[[&lt;br /&gt;
	-- This function generates the start box.&lt;br /&gt;
	-- @args - a table of arguments passed by the user&lt;br /&gt;
	-- @env - environment table containing title objects, etc., generated with p.getEnvironment&lt;br /&gt;
	-- &lt;br /&gt;
	-- The actual work is done by p.makeStartBoxLinksData and p.renderStartBoxLinks which make&lt;br /&gt;
	-- the [view] [edit] [history] [purge] links, and by p.makeStartBoxData and p.renderStartBox&lt;br /&gt;
	-- which generate the box HTML.&lt;br /&gt;
	--]]&lt;br /&gt;
	env = env or p.getEnvironment(args)&lt;br /&gt;
	local links&lt;br /&gt;
	local content = args.content&lt;br /&gt;
	if not content then&lt;br /&gt;
		-- No need to include the links if the documentation is on the template page itself.&lt;br /&gt;
		local linksData = p.makeStartBoxLinksData(args, env)&lt;br /&gt;
		if linksData then&lt;br /&gt;
			links = p.renderStartBoxLinks(linksData)&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	-- Generate the start box html.&lt;br /&gt;
	local data = p.makeStartBoxData(args, env, links)&lt;br /&gt;
	if data then&lt;br /&gt;
		return p.renderStartBox(data)&lt;br /&gt;
	else&lt;br /&gt;
		-- User specified no heading.&lt;br /&gt;
		return nil&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.makeStartBoxLinksData(args, env)&lt;br /&gt;
	--[[&lt;br /&gt;
	-- Does initial processing of data to make the [view] [edit] [history] [purge] links.&lt;br /&gt;
	-- @args - a table of arguments passed by the user&lt;br /&gt;
	-- @env - environment table containing title objects, etc., generated with p.getEnvironment&lt;br /&gt;
	-- &lt;br /&gt;
	-- Messages:&lt;br /&gt;
	-- 'view-link-display' --&amp;gt; 'view'&lt;br /&gt;
	-- 'edit-link-display' --&amp;gt; 'edit'&lt;br /&gt;
	-- 'history-link-display' --&amp;gt; 'history'&lt;br /&gt;
	-- 'purge-link-display' --&amp;gt; 'purge'&lt;br /&gt;
	-- 'file-docpage-preload' --&amp;gt; 'Template:Documentation/preload-filespace'&lt;br /&gt;
	-- 'module-preload' --&amp;gt; 'Template:Documentation/preload-module-doc'&lt;br /&gt;
	-- 'docpage-preload' --&amp;gt; 'Template:Documentation/preload'&lt;br /&gt;
	-- 'create-link-display' --&amp;gt; 'create'&lt;br /&gt;
	--]]&lt;br /&gt;
	local subjectSpace = env.subjectSpace&lt;br /&gt;
	local title = env.title&lt;br /&gt;
	local docTitle = env.docTitle&lt;br /&gt;
	if not title or not docTitle then&lt;br /&gt;
		return nil&lt;br /&gt;
	end&lt;br /&gt;
	if docTitle.isRedirect then &lt;br /&gt;
		docTitle = docTitle.redirectTarget&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	local data = {}&lt;br /&gt;
	data.title = title&lt;br /&gt;
	data.docTitle = docTitle&lt;br /&gt;
	-- View, display, edit, and purge links if /doc exists.&lt;br /&gt;
	data.viewLinkDisplay = i18n['view-link-display']&lt;br /&gt;
	data.editLinkDisplay = i18n['edit-link-display']&lt;br /&gt;
	data.historyLinkDisplay = i18n['history-link-display']&lt;br /&gt;
	data.purgeLinkDisplay = i18n['purge-link-display']&lt;br /&gt;
	-- Create link if /doc doesn't exist.&lt;br /&gt;
	local preload = args.preload&lt;br /&gt;
	if not preload then&lt;br /&gt;
		if subjectSpace == 6 then -- File namespace&lt;br /&gt;
			preload = message('file-docpage-preload')&lt;br /&gt;
		elseif subjectSpace == 828 then -- Module namespace&lt;br /&gt;
			preload = message('module-preload')&lt;br /&gt;
		else&lt;br /&gt;
			preload = message('docpage-preload')&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	data.preload = preload&lt;br /&gt;
	data.createLinkDisplay = i18n['create-link-display']&lt;br /&gt;
	return data&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.renderStartBoxLinks(data)&lt;br /&gt;
	--[[&lt;br /&gt;
	-- Generates the [view][edit][history][purge] or [create] links from the data table.&lt;br /&gt;
	-- @data - a table of data generated by p.makeStartBoxLinksData&lt;br /&gt;
	--]]&lt;br /&gt;
	&lt;br /&gt;
	local function escapeBrackets(s)&lt;br /&gt;
		-- Escapes square brackets with HTML entities.&lt;br /&gt;
		s = s:gsub('%[', '&amp;amp;#91;') -- Replace square brackets with HTML entities.&lt;br /&gt;
		s = s:gsub('%]', '&amp;amp;#93;')&lt;br /&gt;
		return s&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	local ret&lt;br /&gt;
	local docTitle = data.docTitle&lt;br /&gt;
	local title = data.title&lt;br /&gt;
	if docTitle.exists then&lt;br /&gt;
		local viewLink = makeWikilink(docTitle.prefixedText, data.viewLinkDisplay)&lt;br /&gt;
		local editLink = makeUrlLink(docTitle:fullUrl{action = 'edit'}, data.editLinkDisplay)&lt;br /&gt;
		local historyLink = makeUrlLink(docTitle:fullUrl{action = 'history'}, data.historyLinkDisplay)&lt;br /&gt;
		local purgeLink = makeUrlLink(title:fullUrl{action = 'purge'}, data.purgeLinkDisplay)&lt;br /&gt;
		ret = '[%s] [%s] [%s] [%s]'&lt;br /&gt;
		ret = escapeBrackets(ret)&lt;br /&gt;
		ret = mw.ustring.format(ret, viewLink, editLink, historyLink, purgeLink)&lt;br /&gt;
	else&lt;br /&gt;
		local createLink = makeUrlLink(docTitle:fullUrl{action = 'edit', preload = data.preload}, data.createLinkDisplay)&lt;br /&gt;
		ret = '[%s]'&lt;br /&gt;
		ret = escapeBrackets(ret)&lt;br /&gt;
		ret = mw.ustring.format(ret, createLink)&lt;br /&gt;
	end&lt;br /&gt;
	return ret&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.makeStartBoxData(args, env, links)&lt;br /&gt;
	--[=[&lt;br /&gt;
	-- Does initial processing of data to pass to the start-box render function, p.renderStartBox.&lt;br /&gt;
	-- @args - a table of arguments passed by the user&lt;br /&gt;
	-- @env - environment table containing title objects, etc., generated with p.getEnvironment&lt;br /&gt;
	-- @links - a string containing the [view][edit][history][purge] links - could be nil if there's an error.&lt;br /&gt;
	--&lt;br /&gt;
	-- Messages:&lt;br /&gt;
	-- 'documentation-icon-wikitext' --&amp;gt; '[[File:Test Template Info-Icon - Version (2).svg|50px|link=|alt=Documentation icon]]'&lt;br /&gt;
	-- 'template-namespace-heading' --&amp;gt; 'Template documentation'&lt;br /&gt;
	-- 'module-namespace-heading' --&amp;gt; 'Module documentation'&lt;br /&gt;
	-- 'file-namespace-heading' --&amp;gt; 'Summary'&lt;br /&gt;
	-- 'other-namespaces-heading' --&amp;gt; 'Documentation'&lt;br /&gt;
	-- 'start-box-linkclasses' --&amp;gt; 'mw-editsection-like plainlinks'&lt;br /&gt;
	-- 'start-box-link-id' --&amp;gt; 'doc_editlinks'&lt;br /&gt;
	-- 'testcases-create-link-display' --&amp;gt; 'create'&lt;br /&gt;
	--]=]&lt;br /&gt;
	local subjectSpace = env.subjectSpace&lt;br /&gt;
	if not subjectSpace then&lt;br /&gt;
		-- Default to an &amp;quot;other namespaces&amp;quot; namespace, so that we get at least some output&lt;br /&gt;
		-- if an error occurs.&lt;br /&gt;
		subjectSpace = 2&lt;br /&gt;
	end&lt;br /&gt;
	local data = {}&lt;br /&gt;
	&lt;br /&gt;
	-- Heading&lt;br /&gt;
	local heading = args.heading -- Blank values are not removed.&lt;br /&gt;
	if heading == '' then&lt;br /&gt;
		-- Don't display the start box if the heading arg is defined but blank.&lt;br /&gt;
		return nil&lt;br /&gt;
	end&lt;br /&gt;
	if heading then&lt;br /&gt;
		data.heading = heading&lt;br /&gt;
	elseif subjectSpace == 10 then -- Template namespace&lt;br /&gt;
		data.heading = i18n['template-namespace-heading']&lt;br /&gt;
	elseif subjectSpace == 828 then -- Module namespace&lt;br /&gt;
		data.heading = i18n['module-namespace-heading']&lt;br /&gt;
	elseif subjectSpace == 6 then -- File namespace&lt;br /&gt;
		data.heading = i18n['file-namespace-heading']&lt;br /&gt;
	else&lt;br /&gt;
		data.heading = i18n['other-namespaces-heading']&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	-- Data for the [view][edit][history][purge] or [create] links.&lt;br /&gt;
	if links then&lt;br /&gt;
		data.linksClass = message('start-box-linkclasses')&lt;br /&gt;
		data.linksId = message('start-box-link-id')&lt;br /&gt;
		data.links = links&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	return data&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.renderStartBox(data)&lt;br /&gt;
	-- Renders the start box html.&lt;br /&gt;
	-- @data - a table of data generated by p.makeStartBoxData.&lt;br /&gt;
	local sbox = mw.html.create('div')&lt;br /&gt;
	sbox&lt;br /&gt;
		:addClass(message('header-div-class'))&lt;br /&gt;
		:tag('div')&lt;br /&gt;
			:addClass(message('heading-div-class'))&lt;br /&gt;
			:wikitext(data.heading)&lt;br /&gt;
	local links = data.links&lt;br /&gt;
	if links then&lt;br /&gt;
		sbox&lt;br /&gt;
			:tag('div')&lt;br /&gt;
				:addClass(data.linksClass)&lt;br /&gt;
				:attr('id', data.linksId)&lt;br /&gt;
				:wikitext(links)&lt;br /&gt;
	end&lt;br /&gt;
	return tostring(sbox)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
----------------------------------------------------------------------------&lt;br /&gt;
-- Documentation content&lt;br /&gt;
----------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
p.content = makeInvokeFunc('_content')&lt;br /&gt;
&lt;br /&gt;
function p._content(args, env)&lt;br /&gt;
	-- Displays the documentation contents&lt;br /&gt;
	-- @args - a table of arguments passed by the user&lt;br /&gt;
	-- @env - environment table containing title objects, etc., generated with p.getEnvironment&lt;br /&gt;
	env = env or p.getEnvironment(args)&lt;br /&gt;
	local docTitle = env.docTitle&lt;br /&gt;
	local content = args.content&lt;br /&gt;
	if not content and docTitle and docTitle.exists then&lt;br /&gt;
		content = args._content or mw.getCurrentFrame():expandTemplate{title = docTitle}&lt;br /&gt;
	end&lt;br /&gt;
	-- The line breaks below are necessary so that &amp;quot;=== Headings ===&amp;quot; at the start and end&lt;br /&gt;
	-- of docs are interpreted correctly.&lt;br /&gt;
	local cbox = mw.html.create('div')&lt;br /&gt;
	cbox&lt;br /&gt;
		:addClass(message('content-div-class'))&lt;br /&gt;
		:wikitext('\n' .. (content or '') .. '\n')&lt;br /&gt;
	return tostring(cbox)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
p.contentTitle = makeInvokeFunc('_contentTitle')&lt;br /&gt;
&lt;br /&gt;
function p._contentTitle(args, env)&lt;br /&gt;
	env = env or p.getEnvironment(args)&lt;br /&gt;
	local docTitle = env.docTitle&lt;br /&gt;
	if not args.content and docTitle and docTitle.exists then&lt;br /&gt;
		return docTitle.prefixedText&lt;br /&gt;
	else&lt;br /&gt;
		return ''&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
----------------------------------------------------------------------------&lt;br /&gt;
-- End box&lt;br /&gt;
----------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
p.endBox = makeInvokeFunc('_endBox')&lt;br /&gt;
&lt;br /&gt;
function p._endBox(args, env)&lt;br /&gt;
	--[=[&lt;br /&gt;
	-- This function generates the end box (also known as the link box).&lt;br /&gt;
	-- @args - a table of arguments passed by the user&lt;br /&gt;
	-- @env - environment table containing title objects, etc., generated with p.getEnvironment&lt;br /&gt;
	--]=]&lt;br /&gt;
	&lt;br /&gt;
	-- Get environment data.&lt;br /&gt;
	env = env or p.getEnvironment(args)&lt;br /&gt;
	local subjectSpace = env.subjectSpace&lt;br /&gt;
	local docTitle = env.docTitle&lt;br /&gt;
	if not subjectSpace or not docTitle then&lt;br /&gt;
		return nil&lt;br /&gt;
	end&lt;br /&gt;
		&lt;br /&gt;
	-- Check whether we should output the end box at all. Add the end&lt;br /&gt;
	-- box by default if the documentation exists or if we are in the&lt;br /&gt;
	-- user, module or template namespaces.&lt;br /&gt;
	local linkBox = args['link box']&lt;br /&gt;
	if linkBox == 'off'&lt;br /&gt;
		or not (&lt;br /&gt;
			docTitle.exists&lt;br /&gt;
			or subjectSpace == 2&lt;br /&gt;
			or subjectSpace == 828&lt;br /&gt;
			or subjectSpace == 10&lt;br /&gt;
		)&lt;br /&gt;
	then&lt;br /&gt;
		return nil&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	-- Assemble the footer text field.&lt;br /&gt;
	local text = ''&lt;br /&gt;
	if linkBox then&lt;br /&gt;
		text = text .. linkBox&lt;br /&gt;
	else&lt;br /&gt;
		text = text .. (p.makeDocPageBlurb(args, env) or '') -- &amp;quot;This documentation is transcluded from [[Foo]].&amp;quot; &lt;br /&gt;
		if subjectSpace == 2 or subjectSpace == 10 or subjectSpace == 828 then&lt;br /&gt;
			-- We are in the user, template or module namespaces.&lt;br /&gt;
			-- Add sandbox and testcases links.&lt;br /&gt;
			-- &amp;quot;Editors can experiment in this template's sandbox and testcases pages.&amp;quot;&lt;br /&gt;
			text = text .. (p.makeExperimentBlurb(args, env) or '')&lt;br /&gt;
			text = text .. '&amp;lt;br /&amp;gt;'&lt;br /&gt;
			if not args.content and not args[1] then&lt;br /&gt;
				-- &amp;quot;Please add categories to the /doc subpage.&amp;quot;&lt;br /&gt;
				-- Don't show this message with inline docs or with an explicitly specified doc page,&lt;br /&gt;
				-- as then it is unclear where to add the categories.&lt;br /&gt;
				text = text .. (p.makeCategoriesBlurb(args, env) or '')&lt;br /&gt;
			end&lt;br /&gt;
			text = text .. ' ' .. (p.makeSubpagesBlurb(args, env) or '') --&amp;quot;Subpages of this template&amp;quot;&lt;br /&gt;
			local printBlurb = p.makePrintBlurb(args, env) -- Two-line blurb about print versions of templates.&lt;br /&gt;
			if printBlurb then&lt;br /&gt;
				text = text .. '&amp;lt;br /&amp;gt;' .. printBlurb&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	local ebox = mw.html.create('div')&lt;br /&gt;
	ebox&lt;br /&gt;
		:addClass(message('footer-div-class'))&lt;br /&gt;
		:wikitext(text)&lt;br /&gt;
	return tostring(ebox)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.makeDocPageBlurb(args, env)&lt;br /&gt;
	--[=[&lt;br /&gt;
	-- Makes the blurb &amp;quot;This documentation is transcluded from [[Template:Foo]] (edit, history)&amp;quot;.&lt;br /&gt;
	-- @args - a table of arguments passed by the user&lt;br /&gt;
	-- @env - environment table containing title objects, etc., generated with p.getEnvironment&lt;br /&gt;
	-- &lt;br /&gt;
	-- Messages:&lt;br /&gt;
	-- 'edit-link-display' --&amp;gt; 'edit'&lt;br /&gt;
	-- 'history-link-display' --&amp;gt; 'history'&lt;br /&gt;
	-- 'transcluded-from-blurb' --&amp;gt; &lt;br /&gt;
	-- 'The above [[w:Wikipedia:Template documentation|documentation]] &lt;br /&gt;
	-- is [[w:Wikipedia:Transclusion|transcluded]] from $1.'&lt;br /&gt;
	-- 'module-preload' --&amp;gt; 'Template:Documentation/preload-module-doc'&lt;br /&gt;
	-- 'create-link-display' --&amp;gt; 'create'&lt;br /&gt;
	-- 'create-module-doc-blurb' --&amp;gt;&lt;br /&gt;
	-- 'You might want to $1 a documentation page for this [[w:Wikipedia:Lua|Scribunto module]].'&lt;br /&gt;
	--]=]&lt;br /&gt;
	local docTitle = env.docTitle&lt;br /&gt;
	if not docTitle or args.content then&lt;br /&gt;
		return nil&lt;br /&gt;
	end&lt;br /&gt;
	local ret&lt;br /&gt;
	if docTitle.exists then&lt;br /&gt;
		-- /doc exists; link to it.&lt;br /&gt;
		local docLink = makeWikilink(docTitle.prefixedText)&lt;br /&gt;
		local editUrl = docTitle:fullUrl{action = 'edit'}&lt;br /&gt;
		local editDisplay = i18n['edit-link-display']&lt;br /&gt;
		local editLink = makeUrlLink(editUrl, editDisplay)&lt;br /&gt;
		local historyUrl = docTitle:fullUrl{action = 'history'}&lt;br /&gt;
		local historyDisplay = i18n['history-link-display']&lt;br /&gt;
		local historyLink = makeUrlLink(historyUrl, historyDisplay)&lt;br /&gt;
		ret = message('transcluded-from-blurb', {docLink})&lt;br /&gt;
			.. ' '&lt;br /&gt;
			.. makeToolbar(editLink, historyLink)&lt;br /&gt;
			.. '&amp;lt;br /&amp;gt;'&lt;br /&gt;
	elseif env.subjectSpace == 828 then&lt;br /&gt;
		-- /doc does not exist; ask to create it.&lt;br /&gt;
		local createUrl = docTitle:fullUrl{action = 'edit', preload = message('module-preload')}&lt;br /&gt;
		local createDisplay = i18n['create-link-display']&lt;br /&gt;
		local createLink = makeUrlLink(createUrl, createDisplay)&lt;br /&gt;
		ret = message('create-module-doc-blurb', {createLink})&lt;br /&gt;
			.. '&amp;lt;br /&amp;gt;'&lt;br /&gt;
	end&lt;br /&gt;
	return ret&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.makeExperimentBlurb(args, env)&lt;br /&gt;
	--[[&lt;br /&gt;
	-- Renders the text &amp;quot;Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages.&amp;quot;&lt;br /&gt;
	-- @args - a table of arguments passed by the user&lt;br /&gt;
	-- @env - environment table containing title objects, etc., generated with p.getEnvironment&lt;br /&gt;
	-- &lt;br /&gt;
	-- Messages:&lt;br /&gt;
	-- 'sandbox-link-display' --&amp;gt; 'sandbox'&lt;br /&gt;
	-- 'sandbox-edit-link-display' --&amp;gt; 'edit'&lt;br /&gt;
	-- 'compare-link-display' --&amp;gt; 'diff'&lt;br /&gt;
	-- 'module-sandbox-preload' --&amp;gt; 'Template:Documentation/preload-module-sandbox'&lt;br /&gt;
	-- 'template-sandbox-preload' --&amp;gt; 'Template:Documentation/preload-sandbox'&lt;br /&gt;
	-- 'sandbox-create-link-display' --&amp;gt; 'create'&lt;br /&gt;
	-- 'mirror-edit-summary' --&amp;gt; 'Create sandbox version of $1'&lt;br /&gt;
	-- 'mirror-link-display' --&amp;gt; 'mirror'&lt;br /&gt;
	-- 'mirror-link-preload' --&amp;gt; 'Template:Documentation/mirror'&lt;br /&gt;
	-- 'sandbox-link-display' --&amp;gt; 'sandbox'&lt;br /&gt;
	-- 'testcases-link-display' --&amp;gt; 'testcases'&lt;br /&gt;
	-- 'testcases-edit-link-display'--&amp;gt; 'edit'&lt;br /&gt;
	-- 'template-sandbox-preload' --&amp;gt; 'Template:Documentation/preload-sandbox'&lt;br /&gt;
	-- 'testcases-create-link-display' --&amp;gt; 'create'&lt;br /&gt;
	-- 'testcases-link-display' --&amp;gt; 'testcases'&lt;br /&gt;
	-- 'testcases-edit-link-display' --&amp;gt; 'edit'&lt;br /&gt;
	-- 'module-testcases-preload' --&amp;gt; 'Template:Documentation/preload-module-testcases'&lt;br /&gt;
	-- 'template-testcases-preload' --&amp;gt; 'Template:Documentation/preload-testcases'&lt;br /&gt;
	-- 'experiment-blurb-module' --&amp;gt; 'Editors can experiment in this module's $1 and $2 pages.'&lt;br /&gt;
	-- 'experiment-blurb-template' --&amp;gt; 'Editors can experiment in this template's $1 and $2 pages.'&lt;br /&gt;
	--]]&lt;br /&gt;
	local subjectSpace = env.subjectSpace&lt;br /&gt;
	local templateTitle = env.templateTitle&lt;br /&gt;
	local sandboxTitle = env.sandboxTitle&lt;br /&gt;
	local testcasesTitle = env.testcasesTitle&lt;br /&gt;
	local templatePage = templateTitle.prefixedText&lt;br /&gt;
	if not subjectSpace or not templateTitle or not sandboxTitle or not testcasesTitle then&lt;br /&gt;
		return nil&lt;br /&gt;
	end&lt;br /&gt;
	-- Make links.&lt;br /&gt;
	local sandboxLinks, testcasesLinks&lt;br /&gt;
	if sandboxTitle.exists then&lt;br /&gt;
		local sandboxPage = sandboxTitle.prefixedText&lt;br /&gt;
		local sandboxDisplay = message('sandbox-link-display')&lt;br /&gt;
		local sandboxLink = makeWikilink(sandboxPage, sandboxDisplay)&lt;br /&gt;
		local sandboxEditUrl = sandboxTitle:fullUrl{action = 'edit'}&lt;br /&gt;
		local sandboxEditDisplay = message('sandbox-edit-link-display')&lt;br /&gt;
		local sandboxEditLink = makeUrlLink(sandboxEditUrl, sandboxEditDisplay)&lt;br /&gt;
		local compareUrl = env.compareUrl&lt;br /&gt;
		local compareLink&lt;br /&gt;
		if compareUrl then&lt;br /&gt;
			local compareDisplay = message('compare-link-display')&lt;br /&gt;
			compareLink = makeUrlLink(compareUrl, compareDisplay)&lt;br /&gt;
		end&lt;br /&gt;
		sandboxLinks = sandboxLink .. ' ' .. makeToolbar(sandboxEditLink, compareLink)&lt;br /&gt;
	else&lt;br /&gt;
		local sandboxPreload&lt;br /&gt;
		if subjectSpace == 828 then&lt;br /&gt;
			sandboxPreload = message('module-sandbox-preload')&lt;br /&gt;
		else&lt;br /&gt;
			sandboxPreload = message('template-sandbox-preload')&lt;br /&gt;
		end&lt;br /&gt;
		local sandboxCreateUrl = sandboxTitle:fullUrl{action = 'edit', preload = sandboxPreload}&lt;br /&gt;
		local sandboxCreateDisplay = message('sandbox-create-link-display')&lt;br /&gt;
		local sandboxCreateLink = makeUrlLink(sandboxCreateUrl, sandboxCreateDisplay)&lt;br /&gt;
		local mirrorSummary = message('mirror-edit-summary', {makeWikilink(templatePage)})&lt;br /&gt;
		local mirrorPreload = message('mirror-link-preload')&lt;br /&gt;
		local mirrorUrl = sandboxTitle:fullUrl{action = 'edit', preload = mirrorPreload, summary = mirrorSummary}&lt;br /&gt;
		local mirrorDisplay = message('mirror-link-display')&lt;br /&gt;
		local mirrorLink = makeUrlLink(mirrorUrl, mirrorDisplay)&lt;br /&gt;
		sandboxLinks = message('sandbox-link-display') .. ' ' .. makeToolbar(sandboxCreateLink, mirrorLink)&lt;br /&gt;
	end&lt;br /&gt;
	if testcasesTitle.exists then&lt;br /&gt;
		local testcasesPage = testcasesTitle.prefixedText&lt;br /&gt;
		local testcasesDisplay = message('testcases-link-display')&lt;br /&gt;
		local testcasesLink = makeWikilink(testcasesPage, testcasesDisplay)&lt;br /&gt;
		local testcasesEditUrl = testcasesTitle:fullUrl{action = 'edit'}&lt;br /&gt;
		local testcasesEditDisplay = message('testcases-edit-link-display')&lt;br /&gt;
		local testcasesEditLink = makeUrlLink(testcasesEditUrl, testcasesEditDisplay)&lt;br /&gt;
		testcasesLinks = testcasesLink .. ' ' .. makeToolbar(testcasesEditLink)&lt;br /&gt;
	else&lt;br /&gt;
		local testcasesPreload&lt;br /&gt;
		if subjectSpace == 828 then&lt;br /&gt;
			testcasesPreload = message('module-testcases-preload')&lt;br /&gt;
		else&lt;br /&gt;
			testcasesPreload = message('template-testcases-preload')&lt;br /&gt;
		end&lt;br /&gt;
		local testcasesCreateUrl = testcasesTitle:fullUrl{action = 'edit', preload = testcasesPreload}&lt;br /&gt;
		local testcasesCreateDisplay = message('testcases-create-link-display')&lt;br /&gt;
		local testcasesCreateLink = makeUrlLink(testcasesCreateUrl, testcasesCreateDisplay)&lt;br /&gt;
		testcasesLinks = message('testcases-link-display') .. ' ' .. makeToolbar(testcasesCreateLink)&lt;br /&gt;
	end&lt;br /&gt;
	local messageName&lt;br /&gt;
	if subjectSpace == 828 then&lt;br /&gt;
		messageName = 'experiment-blurb-module'&lt;br /&gt;
	else&lt;br /&gt;
		messageName = 'experiment-blurb-template'&lt;br /&gt;
	end&lt;br /&gt;
	return message(messageName, {sandboxLinks, testcasesLinks})&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.makeCategoriesBlurb(args, env)&lt;br /&gt;
	--[[&lt;br /&gt;
	-- Generates the text &amp;quot;Please add categories to the /doc subpage.&amp;quot;&lt;br /&gt;
	-- @args - a table of arguments passed by the user&lt;br /&gt;
	-- @env - environment table containing title objects, etc., generated with p.getEnvironment&lt;br /&gt;
	-- Messages:&lt;br /&gt;
	-- 'doc-link-display' --&amp;gt; '/doc'&lt;br /&gt;
	-- 'add-categories-blurb' --&amp;gt; 'Please add categories to the $1 subpage.'&lt;br /&gt;
	--]]&lt;br /&gt;
	local docTitle = env.docTitle&lt;br /&gt;
	if not docTitle then&lt;br /&gt;
		return nil&lt;br /&gt;
	end&lt;br /&gt;
	local docPathLink = makeWikilink(docTitle.prefixedText, message('doc-link-display'))&lt;br /&gt;
	return message('add-categories-blurb', {docPathLink})&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.makeSubpagesBlurb(args, env)&lt;br /&gt;
	--[[&lt;br /&gt;
	-- Generates the &amp;quot;Subpages of this template&amp;quot; link.&lt;br /&gt;
	-- @args - a table of arguments passed by the user&lt;br /&gt;
	-- @env - environment table containing title objects, etc., generated with p.getEnvironment&lt;br /&gt;
	&lt;br /&gt;
	-- Messages:&lt;br /&gt;
	-- 'template-pagetype' --&amp;gt; 'template'&lt;br /&gt;
	-- 'module-pagetype' --&amp;gt; 'module'&lt;br /&gt;
	-- 'default-pagetype' --&amp;gt; 'page'&lt;br /&gt;
	-- 'subpages-link-display' --&amp;gt; 'Subpages of this $1'&lt;br /&gt;
	--]]&lt;br /&gt;
	local subjectSpace = env.subjectSpace&lt;br /&gt;
	local templateTitle = env.templateTitle&lt;br /&gt;
	if not subjectSpace or not templateTitle then&lt;br /&gt;
		return nil&lt;br /&gt;
	end&lt;br /&gt;
	local pagetype&lt;br /&gt;
	if subjectSpace == 10 then&lt;br /&gt;
		pagetype = message('template-pagetype')&lt;br /&gt;
	elseif subjectSpace == 828 then&lt;br /&gt;
		pagetype = message('module-pagetype')&lt;br /&gt;
	else&lt;br /&gt;
		pagetype = message('default-pagetype')&lt;br /&gt;
	end&lt;br /&gt;
	local subpagesLink = makeWikilink(&lt;br /&gt;
		'Special:PrefixIndex/' .. templateTitle.prefixedText .. '/',&lt;br /&gt;
		message('subpages-link-display', {pagetype})&lt;br /&gt;
	)&lt;br /&gt;
	return message('subpages-blurb', {subpagesLink})&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.makePrintBlurb(args, env)&lt;br /&gt;
	--[=[&lt;br /&gt;
	-- Generates the blurb displayed when there is a print version of the template available.&lt;br /&gt;
	-- @args - a table of arguments passed by the user&lt;br /&gt;
	-- @env - environment table containing title objects, etc., generated with p.getEnvironment&lt;br /&gt;
	--&lt;br /&gt;
	-- Messages:&lt;br /&gt;
	-- 'print-link-display' --&amp;gt; '/Print'&lt;br /&gt;
	-- 'print-blurb' --&amp;gt; 'A [[Help:Books/for experts#Improving the book layout|print version]]'&lt;br /&gt;
	--		.. ' of this template exists at $1.'&lt;br /&gt;
	--		.. ' If you make a change to this template, please update the print version as well.'&lt;br /&gt;
	-- 'display-print-category' --&amp;gt; true&lt;br /&gt;
	-- 'print-category' --&amp;gt; 'Templates with print versions'&lt;br /&gt;
	--]=]&lt;br /&gt;
	local printTitle = env.printTitle&lt;br /&gt;
	if not printTitle then&lt;br /&gt;
		return nil&lt;br /&gt;
	end&lt;br /&gt;
	local ret&lt;br /&gt;
	if printTitle.exists then&lt;br /&gt;
		local printLink = makeWikilink(printTitle.prefixedText, message('print-link-display'))&lt;br /&gt;
		ret = message('print-blurb', {printLink})&lt;br /&gt;
		local displayPrintCategory = message('display-print-category', nil, 'boolean')&lt;br /&gt;
		if displayPrintCategory then&lt;br /&gt;
			ret = ret .. makeCategoryLink(message('print-category'))&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	return ret&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
----------------------------------------------------------------------------&lt;br /&gt;
-- Tracking categories&lt;br /&gt;
----------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
function p.addTrackingCategories(env)&lt;br /&gt;
	--[[&lt;br /&gt;
	-- Check if {{documentation}} is transcluded on a /doc or /testcases page.&lt;br /&gt;
	-- @env - environment table containing title objects, etc., generated with p.getEnvironment&lt;br /&gt;
	&lt;br /&gt;
	-- Messages:&lt;br /&gt;
	-- 'display-strange-usage-category' --&amp;gt; true&lt;br /&gt;
	-- 'doc-subpage' --&amp;gt; 'doc'&lt;br /&gt;
	-- 'testcases-subpage' --&amp;gt; 'testcases'&lt;br /&gt;
	-- 'strange-usage-category' --&amp;gt; 'Wikipedia pages with strange ((documentation)) usage'&lt;br /&gt;
	-- &lt;br /&gt;
	-- /testcases pages in the module namespace are not categorised, as they may have&lt;br /&gt;
	-- {{documentation}} transcluded automatically.&lt;br /&gt;
	--]]&lt;br /&gt;
	local title = env.title&lt;br /&gt;
	local subjectSpace = env.subjectSpace&lt;br /&gt;
	if not title or not subjectSpace then&lt;br /&gt;
		return nil&lt;br /&gt;
	end&lt;br /&gt;
	local subpage = title.subpageText&lt;br /&gt;
	local ret = ''&lt;br /&gt;
	if message('display-strange-usage-category', nil, 'boolean')&lt;br /&gt;
		and (&lt;br /&gt;
			subpage == message('doc-subpage')&lt;br /&gt;
			or subjectSpace ~= 828 and subpage == message('testcases-subpage')&lt;br /&gt;
		)&lt;br /&gt;
	then&lt;br /&gt;
		ret = ret .. makeCategoryLink(message('strange-usage-category'))&lt;br /&gt;
	end&lt;br /&gt;
	return ret&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>Colt</name></author>
	</entry>
	<entry>
		<id>https://confrontation.wiki/index.php?title=Module:Arguments&amp;diff=1544</id>
		<title>Module:Arguments</title>
		<link rel="alternate" type="text/html" href="https://confrontation.wiki/index.php?title=Module:Arguments&amp;diff=1544"/>
		<updated>2021-07-19T05:36:27Z</updated>

		<summary type="html">&lt;p&gt;Colt: 39 revisions imported&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;-- This module provides easy processing of arguments passed to Scribunto from&lt;br /&gt;
-- #invoke. It is intended for use by other Lua modules, and should not be&lt;br /&gt;
-- called from #invoke directly.&lt;br /&gt;
&lt;br /&gt;
local libraryUtil = require('libraryUtil')&lt;br /&gt;
local checkType = libraryUtil.checkType&lt;br /&gt;
&lt;br /&gt;
local arguments = {}&lt;br /&gt;
&lt;br /&gt;
-- Generate four different tidyVal functions, so that we don't have to check the&lt;br /&gt;
-- options every time we call it.&lt;br /&gt;
&lt;br /&gt;
local function tidyValDefault(key, val)&lt;br /&gt;
	if type(val) == 'string' then&lt;br /&gt;
		val = val:match('^%s*(.-)%s*$')&lt;br /&gt;
		if val == '' then&lt;br /&gt;
			return nil&lt;br /&gt;
		else&lt;br /&gt;
			return val&lt;br /&gt;
		end&lt;br /&gt;
	else&lt;br /&gt;
		return val&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
local function tidyValTrimOnly(key, val)&lt;br /&gt;
	if type(val) == 'string' then&lt;br /&gt;
		return val:match('^%s*(.-)%s*$')&lt;br /&gt;
	else&lt;br /&gt;
		return val&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
local function tidyValRemoveBlanksOnly(key, val)&lt;br /&gt;
	if type(val) == 'string' then&lt;br /&gt;
		if val:find('%S') then&lt;br /&gt;
			return val&lt;br /&gt;
		else&lt;br /&gt;
			return nil&lt;br /&gt;
		end&lt;br /&gt;
	else&lt;br /&gt;
		return val&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
local function tidyValNoChange(key, val)&lt;br /&gt;
	return val&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
local function matchesTitle(given, title)&lt;br /&gt;
	local tp = type( given )&lt;br /&gt;
	return (tp == 'string' or tp == 'number') and mw.title.new( given ).prefixedText == title&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
local translate_mt = { __index = function(t, k) return k end }&lt;br /&gt;
&lt;br /&gt;
function arguments.getArgs(frame, options)&lt;br /&gt;
	checkType('getArgs', 1, frame, 'table', true)&lt;br /&gt;
	checkType('getArgs', 2, options, 'table', true)&lt;br /&gt;
	frame = frame or {}&lt;br /&gt;
	options = options or {}&lt;br /&gt;
&lt;br /&gt;
	--[[&lt;br /&gt;
	-- Set up argument translation.&lt;br /&gt;
	--]]&lt;br /&gt;
	options.translate = options.translate or {}&lt;br /&gt;
	if getmetatable(options.translate) == nil then&lt;br /&gt;
		setmetatable(options.translate, translate_mt)&lt;br /&gt;
	end&lt;br /&gt;
	if options.backtranslate == nil then&lt;br /&gt;
		options.backtranslate = {}&lt;br /&gt;
		for k,v in pairs(options.translate) do&lt;br /&gt;
			options.backtranslate[v] = k&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	if options.backtranslate and getmetatable(options.backtranslate) == nil then&lt;br /&gt;
		setmetatable(options.backtranslate, {&lt;br /&gt;
			__index = function(t, k)&lt;br /&gt;
				if options.translate[k] ~= k then&lt;br /&gt;
					return nil&lt;br /&gt;
				else&lt;br /&gt;
					return k&lt;br /&gt;
				end&lt;br /&gt;
			end&lt;br /&gt;
		})&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	--[[&lt;br /&gt;
	-- Get the argument tables. If we were passed a valid frame object, get the&lt;br /&gt;
	-- frame arguments (fargs) and the parent frame arguments (pargs), depending&lt;br /&gt;
	-- on the options set and on the parent frame's availability. If we weren't&lt;br /&gt;
	-- passed a valid frame object, we are being called from another Lua module&lt;br /&gt;
	-- or from the debug console, so assume that we were passed a table of args&lt;br /&gt;
	-- directly, and assign it to a new variable (luaArgs).&lt;br /&gt;
	--]]&lt;br /&gt;
	local fargs, pargs, luaArgs&lt;br /&gt;
	if type(frame.args) == 'table' and type(frame.getParent) == 'function' then&lt;br /&gt;
		if options.wrappers then&lt;br /&gt;
			--[[&lt;br /&gt;
			-- The wrappers option makes Module:Arguments look up arguments in&lt;br /&gt;
			-- either the frame argument table or the parent argument table, but&lt;br /&gt;
			-- not both. This means that users can use either the #invoke syntax&lt;br /&gt;
			-- or a wrapper template without the loss of performance associated&lt;br /&gt;
			-- with looking arguments up in both the frame and the parent frame.&lt;br /&gt;
			-- Module:Arguments will look up arguments in the parent frame&lt;br /&gt;
			-- if it finds the parent frame's title in options.wrapper;&lt;br /&gt;
			-- otherwise it will look up arguments in the frame object passed&lt;br /&gt;
			-- to getArgs.&lt;br /&gt;
			--]]&lt;br /&gt;
			local parent = frame:getParent()&lt;br /&gt;
			if not parent then&lt;br /&gt;
				fargs = frame.args&lt;br /&gt;
			else&lt;br /&gt;
				local title = parent:getTitle():gsub('/sandbox$', '')&lt;br /&gt;
				local found = false&lt;br /&gt;
				if matchesTitle(options.wrappers, title) then&lt;br /&gt;
					found = true&lt;br /&gt;
				elseif type(options.wrappers) == 'table' then&lt;br /&gt;
					for _,v in pairs(options.wrappers) do&lt;br /&gt;
						if matchesTitle(v, title) then&lt;br /&gt;
							found = true&lt;br /&gt;
							break&lt;br /&gt;
						end&lt;br /&gt;
					end&lt;br /&gt;
				end&lt;br /&gt;
&lt;br /&gt;
				-- We test for false specifically here so that nil (the default) acts like true.&lt;br /&gt;
				if found or options.frameOnly == false then&lt;br /&gt;
					pargs = parent.args&lt;br /&gt;
				end&lt;br /&gt;
				if not found or options.parentOnly == false then&lt;br /&gt;
					fargs = frame.args&lt;br /&gt;
				end&lt;br /&gt;
			end&lt;br /&gt;
		else&lt;br /&gt;
			-- options.wrapper isn't set, so check the other options.&lt;br /&gt;
			if not options.parentOnly then&lt;br /&gt;
				fargs = frame.args&lt;br /&gt;
			end&lt;br /&gt;
			if not options.frameOnly then&lt;br /&gt;
				local parent = frame:getParent()&lt;br /&gt;
				pargs = parent and parent.args or nil&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
		if options.parentFirst then&lt;br /&gt;
			fargs, pargs = pargs, fargs&lt;br /&gt;
		end&lt;br /&gt;
	else&lt;br /&gt;
		luaArgs = frame&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	-- Set the order of precedence of the argument tables. If the variables are&lt;br /&gt;
	-- nil, nothing will be added to the table, which is how we avoid clashes&lt;br /&gt;
	-- between the frame/parent args and the Lua args.&lt;br /&gt;
	local argTables = {fargs}&lt;br /&gt;
	argTables[#argTables + 1] = pargs&lt;br /&gt;
	argTables[#argTables + 1] = luaArgs&lt;br /&gt;
&lt;br /&gt;
	--[[&lt;br /&gt;
	-- Generate the tidyVal function. If it has been specified by the user, we&lt;br /&gt;
	-- use that; if not, we choose one of four functions depending on the&lt;br /&gt;
	-- options chosen. This is so that we don't have to call the options table&lt;br /&gt;
	-- every time the function is called.&lt;br /&gt;
	--]]&lt;br /&gt;
	local tidyVal = options.valueFunc&lt;br /&gt;
	if tidyVal then&lt;br /&gt;
		if type(tidyVal) ~= 'function' then&lt;br /&gt;
			error(&lt;br /&gt;
				&amp;quot;bad value assigned to option 'valueFunc'&amp;quot;&lt;br /&gt;
					.. '(function expected, got '&lt;br /&gt;
					.. type(tidyVal)&lt;br /&gt;
					.. ')',&lt;br /&gt;
				2&lt;br /&gt;
			)&lt;br /&gt;
		end&lt;br /&gt;
	elseif options.trim ~= false then&lt;br /&gt;
		if options.removeBlanks ~= false then&lt;br /&gt;
			tidyVal = tidyValDefault&lt;br /&gt;
		else&lt;br /&gt;
			tidyVal = tidyValTrimOnly&lt;br /&gt;
		end&lt;br /&gt;
	else&lt;br /&gt;
		if options.removeBlanks ~= false then&lt;br /&gt;
			tidyVal = tidyValRemoveBlanksOnly&lt;br /&gt;
		else&lt;br /&gt;
			tidyVal = tidyValNoChange&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	--[[&lt;br /&gt;
	-- Set up the args, metaArgs and nilArgs tables. args will be the one&lt;br /&gt;
	-- accessed from functions, and metaArgs will hold the actual arguments. Nil&lt;br /&gt;
	-- arguments are memoized in nilArgs, and the metatable connects all of them&lt;br /&gt;
	-- together.&lt;br /&gt;
	--]]&lt;br /&gt;
	local args, metaArgs, nilArgs, metatable = {}, {}, {}, {}&lt;br /&gt;
	setmetatable(args, metatable)&lt;br /&gt;
&lt;br /&gt;
	local function mergeArgs(tables)&lt;br /&gt;
		--[[&lt;br /&gt;
		-- Accepts multiple tables as input and merges their keys and values&lt;br /&gt;
		-- into one table. If a value is already present it is not overwritten;&lt;br /&gt;
		-- tables listed earlier have precedence. We are also memoizing nil&lt;br /&gt;
		-- values, which can be overwritten if they are 's' (soft).&lt;br /&gt;
		--]]&lt;br /&gt;
		for _, t in ipairs(tables) do&lt;br /&gt;
			for key, val in pairs(t) do&lt;br /&gt;
				if metaArgs[key] == nil and nilArgs[key] ~= 'h' then&lt;br /&gt;
					local tidiedVal = tidyVal(key, val)&lt;br /&gt;
					if tidiedVal == nil then&lt;br /&gt;
						nilArgs[key] = 's'&lt;br /&gt;
					else&lt;br /&gt;
						metaArgs[key] = tidiedVal&lt;br /&gt;
					end&lt;br /&gt;
				end&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	--[[&lt;br /&gt;
	-- Define metatable behaviour. Arguments are memoized in the metaArgs table,&lt;br /&gt;
	-- and are only fetched from the argument tables once. Fetching arguments&lt;br /&gt;
	-- from the argument tables is the most resource-intensive step in this&lt;br /&gt;
	-- module, so we try and avoid it where possible. For this reason, nil&lt;br /&gt;
	-- arguments are also memoized, in the nilArgs table. Also, we keep a record&lt;br /&gt;
	-- in the metatable of when pairs and ipairs have been called, so we do not&lt;br /&gt;
	-- run pairs and ipairs on the argument tables more than once. We also do&lt;br /&gt;
	-- not run ipairs on fargs and pargs if pairs has already been run, as all&lt;br /&gt;
	-- the arguments will already have been copied over.&lt;br /&gt;
	--]]&lt;br /&gt;
&lt;br /&gt;
	metatable.__index = function (t, key)&lt;br /&gt;
		--[[&lt;br /&gt;
		-- Fetches an argument when the args table is indexed. First we check&lt;br /&gt;
		-- to see if the value is memoized, and if not we try and fetch it from&lt;br /&gt;
		-- the argument tables. When we check memoization, we need to check&lt;br /&gt;
		-- metaArgs before nilArgs, as both can be non-nil at the same time.&lt;br /&gt;
		-- If the argument is not present in metaArgs, we also check whether&lt;br /&gt;
		-- pairs has been run yet. If pairs has already been run, we return nil.&lt;br /&gt;
		-- This is because all the arguments will have already been copied into&lt;br /&gt;
		-- metaArgs by the mergeArgs function, meaning that any other arguments&lt;br /&gt;
		-- must be nil.&lt;br /&gt;
		--]]&lt;br /&gt;
		if type(key) == 'string' then&lt;br /&gt;
			key = options.translate[key]&lt;br /&gt;
		end&lt;br /&gt;
		local val = metaArgs[key]&lt;br /&gt;
		if val ~= nil then&lt;br /&gt;
			return val&lt;br /&gt;
		elseif metatable.donePairs or nilArgs[key] then&lt;br /&gt;
			return nil&lt;br /&gt;
		end&lt;br /&gt;
		for _, argTable in ipairs(argTables) do&lt;br /&gt;
			local argTableVal = tidyVal(key, argTable[key])&lt;br /&gt;
			if argTableVal ~= nil then&lt;br /&gt;
				metaArgs[key] = argTableVal&lt;br /&gt;
				return argTableVal&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
		nilArgs[key] = 'h'&lt;br /&gt;
		return nil&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	metatable.__newindex = function (t, key, val)&lt;br /&gt;
		-- This function is called when a module tries to add a new value to the&lt;br /&gt;
		-- args table, or tries to change an existing value.&lt;br /&gt;
		if type(key) == 'string' then&lt;br /&gt;
			key = options.translate[key]&lt;br /&gt;
		end&lt;br /&gt;
		if options.readOnly then&lt;br /&gt;
			error(&lt;br /&gt;
				'could not write to argument table key &amp;quot;'&lt;br /&gt;
					.. tostring(key)&lt;br /&gt;
					.. '&amp;quot;; the table is read-only',&lt;br /&gt;
				2&lt;br /&gt;
			)&lt;br /&gt;
		elseif options.noOverwrite and args[key] ~= nil then&lt;br /&gt;
			error(&lt;br /&gt;
				'could not write to argument table key &amp;quot;'&lt;br /&gt;
					.. tostring(key)&lt;br /&gt;
					.. '&amp;quot;; overwriting existing arguments is not permitted',&lt;br /&gt;
				2&lt;br /&gt;
			)&lt;br /&gt;
		elseif val == nil then&lt;br /&gt;
			--[[&lt;br /&gt;
			-- If the argument is to be overwritten with nil, we need to erase&lt;br /&gt;
			-- the value in metaArgs, so that __index, __pairs and __ipairs do&lt;br /&gt;
			-- not use a previous existing value, if present; and we also need&lt;br /&gt;
			-- to memoize the nil in nilArgs, so that the value isn't looked&lt;br /&gt;
			-- up in the argument tables if it is accessed again.&lt;br /&gt;
			--]]&lt;br /&gt;
			metaArgs[key] = nil&lt;br /&gt;
			nilArgs[key] = 'h'&lt;br /&gt;
		else&lt;br /&gt;
			metaArgs[key] = val&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	local function translatenext(invariant)&lt;br /&gt;
		local k, v = next(invariant.t, invariant.k)&lt;br /&gt;
		invariant.k = k&lt;br /&gt;
		if k == nil then&lt;br /&gt;
			return nil&lt;br /&gt;
		elseif type(k) ~= 'string' or not options.backtranslate then&lt;br /&gt;
			return k, v&lt;br /&gt;
		else&lt;br /&gt;
			local backtranslate = options.backtranslate[k]&lt;br /&gt;
			if backtranslate == nil then&lt;br /&gt;
				-- Skip this one. This is a tail call, so this won't cause stack overflow&lt;br /&gt;
				return translatenext(invariant)&lt;br /&gt;
			else&lt;br /&gt;
				return backtranslate, v&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	metatable.__pairs = function ()&lt;br /&gt;
		-- Called when pairs is run on the args table.&lt;br /&gt;
		if not metatable.donePairs then&lt;br /&gt;
			mergeArgs(argTables)&lt;br /&gt;
			metatable.donePairs = true&lt;br /&gt;
		end&lt;br /&gt;
		return translatenext, { t = metaArgs }&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	local function inext(t, i)&lt;br /&gt;
		-- This uses our __index metamethod&lt;br /&gt;
		local v = t[i + 1]&lt;br /&gt;
		if v ~= nil then&lt;br /&gt;
			return i + 1, v&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	metatable.__ipairs = function (t)&lt;br /&gt;
		-- Called when ipairs is run on the args table.&lt;br /&gt;
		return inext, t, 0&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	return args&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return arguments&lt;/div&gt;</summary>
		<author><name>Colt</name></author>
	</entry>
	<entry>
		<id>https://confrontation.wiki/index.php?title=Template:Documentation&amp;diff=1504</id>
		<title>Template:Documentation</title>
		<link rel="alternate" type="text/html" href="https://confrontation.wiki/index.php?title=Template:Documentation&amp;diff=1504"/>
		<updated>2021-07-19T05:36:24Z</updated>

		<summary type="html">&lt;p&gt;Colt: 2 revisions imported&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;noinclude&amp;gt;&lt;br /&gt;
&amp;lt;languages/&amp;gt;&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&amp;lt;includeonly&amp;gt;{{#invoke:documentation|main|_content={{ {{#invoke:documentation|contentTitle}}}}}}&amp;lt;/includeonly&amp;gt;&amp;lt;noinclude&amp;gt;&lt;br /&gt;
{{documentation|content=&lt;br /&gt;
&lt;br /&gt;
{{Lua|Module:Documentation}}&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:12--&amp;gt; This template automatically displays a documentation box like the one you are seeing now, of which the content is sometimes transcluded from another page.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:13--&amp;gt; It is intended for pages which are [[&amp;lt;tvar name=1&amp;gt;Special:MyLanguage/Help:Transclusion&amp;lt;/tvar&amp;gt;|transcluded]] in other pages, i.e. templates, whether in the template namespace or not.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;&lt;br /&gt;
==Usage== &amp;lt;!--T:2--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Customizing display=== &amp;lt;!--T:3--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:4--&amp;gt;&lt;br /&gt;
Overrides exist to customize the output in special cases:&lt;br /&gt;
&amp;lt;/translate&amp;gt;&lt;br /&gt;
* &amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;documentation{{!}}'''heading'''=&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt; - &amp;lt;translate&amp;gt;&amp;lt;!--T:5--&amp;gt; change the text of the &amp;quot;documentation&amp;quot; heading.&amp;lt;/translate&amp;gt; &amp;lt;translate&amp;gt;&amp;lt;!--T:10--&amp;gt; If this is set to blank, the entire heading line (including the first [edit] link) will also disappear.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;&lt;br /&gt;
==Rationale== &amp;lt;!--T:6--&amp;gt;&lt;br /&gt;
&amp;lt;/translate&amp;gt;&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:7--&amp;gt; This template allows any page to use any documentation page, and makes it possible to protect templates while allowing anyone to edit the template's documentation, categories, and interwiki links.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:8--&amp;gt; It also reduces server resources by circumventing a [[w:Wikipedia:Template limits|technical limitation of templates]] (see a [[&amp;lt;tvar name=1&amp;gt;:en:Special:Diff/69888944&amp;lt;/tvar&amp;gt;|developer's explanation]]).&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;&lt;br /&gt;
==See also== &amp;lt;!--T:9--&amp;gt;&lt;br /&gt;
&amp;lt;/translate&amp;gt;&lt;br /&gt;
* &amp;lt;translate&amp;gt;&amp;lt;!--T:14--&amp;gt; [[w:Template:Documentation subpage]]&amp;lt;/translate&amp;gt;&lt;br /&gt;
* {{tim|Documentation}}&lt;br /&gt;
* &amp;lt;translate&amp;gt;&amp;lt;!--T:11--&amp;gt; [[w:Wikipedia:Template documentation]]&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
}}&lt;br /&gt;
[[Category:Formatting templates{{#translation:}}|Template documentation]]&lt;br /&gt;
[[Category:Template documentation{{#translation:}}| ]]&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&amp;lt;includeonly&amp;gt;{{#if:{{{content|}}}|&lt;br /&gt;
[[Category:Template documentation pages{{#translation:}}]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>Colt</name></author>
	</entry>
	<entry>
		<id>https://confrontation.wiki/index.php?title=Template:Documentation&amp;diff=1500</id>
		<title>Template:Documentation</title>
		<link rel="alternate" type="text/html" href="https://confrontation.wiki/index.php?title=Template:Documentation&amp;diff=1500"/>
		<updated>2021-07-19T05:03:32Z</updated>

		<summary type="html">&lt;p&gt;Colt: 2 revisions imported&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;noinclude&amp;gt;&lt;br /&gt;
&amp;lt;languages/&amp;gt;&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&amp;lt;includeonly&amp;gt;{{#invoke:documentation|main|_content={{ {{#invoke:documentation|contentTitle}}}}}}&amp;lt;/includeonly&amp;gt;&amp;lt;noinclude&amp;gt;&lt;br /&gt;
{{documentation|content=&lt;br /&gt;
&lt;br /&gt;
{{Lua|Module:Documentation}}&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:12--&amp;gt; This template automatically displays a documentation box like the one you are seeing now, of which the content is sometimes transcluded from another page.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:13--&amp;gt; It is intended for pages which are [[&amp;lt;tvar name=1&amp;gt;Special:MyLanguage/Help:Transclusion&amp;lt;/tvar&amp;gt;|transcluded]] in other pages, i.e. templates, whether in the template namespace or not.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;&lt;br /&gt;
==Usage== &amp;lt;!--T:2--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Customizing display=== &amp;lt;!--T:3--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:4--&amp;gt;&lt;br /&gt;
Overrides exist to customize the output in special cases:&lt;br /&gt;
&amp;lt;/translate&amp;gt;&lt;br /&gt;
* &amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;documentation{{!}}'''heading'''=&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt; - &amp;lt;translate&amp;gt;&amp;lt;!--T:5--&amp;gt; change the text of the &amp;quot;documentation&amp;quot; heading.&amp;lt;/translate&amp;gt; &amp;lt;translate&amp;gt;&amp;lt;!--T:10--&amp;gt; If this is set to blank, the entire heading line (including the first [edit] link) will also disappear.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;&lt;br /&gt;
==Rationale== &amp;lt;!--T:6--&amp;gt;&lt;br /&gt;
&amp;lt;/translate&amp;gt;&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:7--&amp;gt; This template allows any page to use any documentation page, and makes it possible to protect templates while allowing anyone to edit the template's documentation, categories, and interwiki links.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:8--&amp;gt; It also reduces server resources by circumventing a [[w:Wikipedia:Template limits|technical limitation of templates]] (see a [[&amp;lt;tvar name=1&amp;gt;:en:Special:Diff/69888944&amp;lt;/tvar&amp;gt;|developer's explanation]]).&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;&lt;br /&gt;
==See also== &amp;lt;!--T:9--&amp;gt;&lt;br /&gt;
&amp;lt;/translate&amp;gt;&lt;br /&gt;
* &amp;lt;translate&amp;gt;&amp;lt;!--T:14--&amp;gt; [[w:Template:Documentation subpage]]&amp;lt;/translate&amp;gt;&lt;br /&gt;
* {{tim|Documentation}}&lt;br /&gt;
* &amp;lt;translate&amp;gt;&amp;lt;!--T:11--&amp;gt; [[w:Wikipedia:Template documentation]]&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
}}&lt;br /&gt;
[[Category:Formatting templates{{#translation:}}|Template documentation]]&lt;br /&gt;
[[Category:Template documentation{{#translation:}}| ]]&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&amp;lt;includeonly&amp;gt;{{#if:{{{content|}}}|&lt;br /&gt;
[[Category:Template documentation pages{{#translation:}}]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>Colt</name></author>
	</entry>
</feed>