https://geoskills.net/w/index.php?title=Template:FlagLink&feed=atom&action=history
Template:FlagLink - Revision history
2024-03-29T12:34:43Z
Revision history for this page on the wiki
MediaWiki 1.39.1
https://geoskills.net/w/index.php?title=Template:FlagLink&diff=10434&oldid=prev
Grant at 18:09, 9 February 2023
2023-02-09T18:09:17Z
<p></p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 18:09, 9 February 2023</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l12">Line 12:</td>
<td colspan="2" class="diff-lineno">Line 12:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><table><tr><td colsapn="2">Sometimes there may be errors, or you may want to customize the link further.</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><table><tr><td colsapn="2">Sometimes there may be errors, or you may want to customize the link further.</div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div></td></tr><tr><td><pre>{{FlagLink|link=<del style="font-weight: bold; text-decoration: none;">"</del>Netherlands<del style="font-weight: bold; text-decoration: none;">"</del>|img=<del style="font-weight: bold; text-decoration: none;">"</del>File:Flag of Netherlands.svg<del style="font-weight: bold; text-decoration: none;">"</del>|text=<del style="font-weight: bold; text-decoration: none;">"</del>The Netherlands<del style="font-weight: bold; text-decoration: none;">"</del>}}</pre></td><td> <b>→</b> </td><td>[[File:Flag of Netherlands.svg|20px|link=Netherlands]] [[Netherlands|The Netherlands]]</td></tr></table></div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div></td></tr><tr><td><pre>{{FlagLink|link=Netherlands|img=File:Flag of Netherlands.svg|text=The Netherlands}}</pre></td><td> <b>→</b> </td><td>[[File:Flag of Netherlands.svg|20px|link=Netherlands]] [[Netherlands|The Netherlands]]</td></tr></table></div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><span style="color:#a8f299">▉</span> = Required</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><span style="color:#a8f299">▉</span> = Required</div></td></tr>
</table>
Grant
https://geoskills.net/w/index.php?title=Template:FlagLink&diff=2407&oldid=prev
Grant at 00:23, 8 May 2022
2022-05-08T00:23:29Z
<p></p>
<p><b>New page</b></p><div><includeonly>{{#if:{{{text|}}}|{{#if:{{{img|}}}|<br />
[[{{{img}}}|20px|link={{{link}}}]] [[{{{link}}}|{{{text}}}]] <br />
|<br />
[[File:Flag of {{{link}}}.svg|20px|link={{{link}}}]] [[{{{link}}}|{{{text}}}]]<br />
}}|{{#if:{{{img|}}}|<br />
[[{{{img}}}|20px|link={{{link}}}]] [[{{{link}}}]] <br />
|<br />
[[File:Flag of {{{link}}}.svg|20px|link={{{link}}}]] [[{{{link}}}]]<br />
}}<br />
}}</includeonly><noinclude><br />
<table><tr><td colspan="2">The majority of links will only need "link" defined.</td></tr><tr><td><pre>{{FlagLink|link=United Arab Emirates}}</pre></td><td> <b>→</b> </td><td>[[File:Flag of United Arab Emirates.svg|20px|link=United Arab Emirates]] [[United Arab Emirates]]</td></tr></table><br />
<br />
<table><tr><td colsapn="2">Sometimes there may be errors, or you may want to customize the link further.<br />
</td></tr><tr><td><pre>{{FlagLink|link="Netherlands"|img="File:Flag of Netherlands.svg"|text="The Netherlands"}}</pre></td><td> <b>→</b> </td><td>[[File:Flag of Netherlands.svg|20px|link=Netherlands]] [[Netherlands|The Netherlands]]</td></tr></table><br />
<br />
<span style="color:#a8f299">▉</span> = Required<br />
<table class="wikitable"><br />
<tr><br />
<th>Parameter</th><br />
<th>Description</th><br />
<th style="width:150px">Output</th><br />
</tr><br />
<tr><br />
<td style="background-color:#a8f299">link</td><br />
<td>Define "link" with the page you wish to link to. This is the only variable you need in most cases. If there are errors, or you wish to alter the formatting, reference the below variables.<br />
Example: [[Senegal]]<br />
<ul><br />
<li>link = Senegal</li></ul></td><br />
<td><br />
[[File:Flag of Senegal.svg|20px|link=Senegal]] [[Senegal]]<br />
</td><br />
</tr><br />
<tr><br />
<td>img</td><br />
<td>If there is an error with the flag image, use "img" to point to the source of the image. When you define "img", it must start with "File:". This means that URLs will not work. Reference [[Help:General#Images|<br />
Help:General]] for more information about using images.<br />
Example: [[Uruguay]]<br />
<ul><br />
<li>img = File:Flag of Uruguay.svg</li><br />
</ul><br />
</td><br />
<td><br />
[[File:Flag of Uruguay.svg|20px|link=Uruguay]] [[Uruguay]]<br />
</td><br />
</tr><br />
<tr><br />
<td>text</td><br />
<td>If you would like to alter the link text, use the "text" parameter. Simply define it as the text you would like it to read out as.<br />
Example: [[Georgia (U.S. state)]]<br />
<ul><br />
<li>text = Georgia</li><br />
<li>link = Georgia (U.S. state)</li><br />
</ul><br />
</td><br />
<td><br />
[[File:Flag of Georgia (U.S. state).svg|20px|link=Georgia (U.S. state)]] [[Georgia (U.S. state)|Georgia]]<br />
</td><br />
</tr><br />
</noinclude></div>
Grant