https://en.seminaverbi.bibleget.io/w/index.php?title=Template:Official_website/doc&feed=atom&action=history
Template:Official website/doc - Revision history
2024-03-28T10:49:36Z
Revision history for this page on the wiki
MediaWiki 1.41.0
https://en.seminaverbi.bibleget.io/w/index.php?title=Template:Official_website/doc&diff=27234&oldid=prev
Johnrdorazio at 20:37, May 21, 2023
2023-05-21T20:37:29Z
<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 20:37, May 21, 2023</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l4">Line 4:</td>
<td colspan="2" class="diff-lineno">Line 4:</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>{{tsh|oweb}}</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>{{tsh|oweb}}</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;"><div>{{Lua|Module:Official website|Module:Check for unknown parameters}}</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>{{Lua|Module:Official website|Module:Check for unknown parameters}}</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>{{Uses Wikidata|<del style="font-weight: bold; text-decoration: none;">P856</del>}}</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>{{Uses Wikidata|<ins style="font-weight: bold; text-decoration: none;">P7736</ins>}}</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>{{Tracks Wikidata|<del style="font-weight: bold; text-decoration: none;">P856</del>}}</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>{{Tracks Wikidata|<ins style="font-weight: bold; text-decoration: none;">P7736</ins>}}</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>The purpose of this template is to provide a standard format for labeling links to the official website of an article's main topic.</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>The purpose of this template is to provide a standard format for labeling links to the official website of an article's main topic.</div></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>=== Basic usage ===</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>=== Basic usage ===</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>This template can be used without specifying any parameters, if the [[d:Property:<del style="font-weight: bold; text-decoration: none;">P856</del>|"official website" Property (<del style="font-weight: bold; text-decoration: none;">P856</del>)]] is set in the respective article's [[WP:Wikidata|Wikidata]] record. Just add {{tlx|official website}} to the article's [[WP:ELOFFICIAL|External links]] section. If on Wikidata more than one official website is given, the entry tagged with the [[d:Property:<del style="font-weight: bold; text-decoration: none;">P856</del>|language]] being [[d:Q1860|English]] is automatically preferred.</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>This template can be used without specifying any parameters, if the [[d:Property:<ins style="font-weight: bold; text-decoration: none;">P7736</ins>|"official website" Property (<ins style="font-weight: bold; text-decoration: none;">P7736</ins>)]] is set in the respective article's [[WP:Wikidata|Wikidata]] record. Just add {{tlx|official website}} to the article's [[WP:ELOFFICIAL|External links]] section. If on Wikidata more than one official website is given, the entry tagged with the [[d:Property:<ins style="font-weight: bold; text-decoration: none;">P7736</ins>|language]] being [[d:Q1860|English]] is automatically preferred.</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>=== Advanced usage ===</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>=== Advanced usage ===</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;"><div>Four parameters are available:</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>Four parameters are available:</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>*<code>1=</code> or <code>URL=</code> or <code>url=</code> is used to specify the URL. If this parameter is omitted, the value of [[d:Property:<del style="font-weight: bold; text-decoration: none;">P856</del>|"official website" Property (<del style="font-weight: bold; text-decoration: none;">P856</del>)]] on [[Wikidata]] is used.</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>*<code>1=</code> or <code>URL=</code> or <code>url=</code> is used to specify the URL. If this parameter is omitted, the value of [[d:Property:<ins style="font-weight: bold; text-decoration: none;">P7736</ins>|"official website" Property (<ins style="font-weight: bold; text-decoration: none;">P7736</ins>)]] on [[Wikidata]] is used.</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>**NOTE: If this parameter is specified and doesn't match [[d:Property:<del style="font-weight: bold; text-decoration: none;">P856</del>|"official website" Property (<del style="font-weight: bold; text-decoration: none;">P856</del>)]] on Wikidata, the page is added to [[:Category:Official website different in Wikidata and Wikipedia]] for maintenance.</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>**NOTE: If this parameter is specified and doesn't match [[d:Property:<ins style="font-weight: bold; text-decoration: none;">P7736</ins>|"official website" Property (<ins style="font-weight: bold; text-decoration: none;">P7736</ins>)]] on Wikidata, the page is added to [[:Category:Official website different in Wikidata and Wikipedia]] for maintenance.</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>**If this parameter is specified but the [[d:Property:<del style="font-weight: bold; text-decoration: none;">P856</del>|"official website" Property (<del style="font-weight: bold; text-decoration: none;">P856</del>)]] on Wikidata has not been set, the page is added to [[:Category:Official website not in Wikidata]] for maintenance.</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>**If this parameter is specified but the [[d:Property:<ins style="font-weight: bold; text-decoration: none;">P7736</ins>|"official website" Property (<ins style="font-weight: bold; text-decoration: none;">P7736</ins>)]] on Wikidata has not been set, the page is added to [[:Category:Official website not in Wikidata]] for maintenance.</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;"><div>**If this parameter is not specified and there is no official website available on Wikidata, the page is added to [[:Category:Official website missing URL]].</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>**If this parameter is not specified and there is no official website available on Wikidata, the page is added to [[:Category:Official website missing URL]].</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;"><div>*<code>2=</code> or <code>name=</code> is used to reformat the title if "Official website" is not suitable.</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>*<code>2=</code> or <code>name=</code> is used to reformat the title if "Official website" is not suitable.</div></td></tr>
<tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l42">Line 42:</td>
<td colspan="2" class="diff-lineno">Line 42:</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>=== URL in Wikidata ===</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>=== URL in Wikidata ===</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;"><div>Usage in the article [[Amazon (company)]]:</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>Usage in the article [[Amazon (company)]]:</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>* <code><nowiki>{{Official website}}</nowiki></code> → {{Official website|https://www.amazon.com}} [[File:OOjs UI icon edit-ltr-progressive.svg |frameless |text-top |10px |alt=Edit this at Wikidata |link=https://www.wikidata.org/wiki/Q3884#<del style="font-weight: bold; text-decoration: none;">P856</del>|Edit this at Wikidata]]<pre style="white-space: pre-wrap;"><span class="official-website"><span class="url">[https://www.amazon.com Official website]</span></span> [[File:OOjs UI icon edit-ltr-progressive.svg |frameless |text-top |10px |alt=Edit this at Wikidata |link=https://www.wikidata.org/wiki/Q3884#<del style="font-weight: bold; text-decoration: none;">P856</del>|Edit this at Wikidata]]</pre></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>* <code><nowiki>{{Official website}}</nowiki></code> → {{Official website|https://www.amazon.com}} [[File:OOjs UI icon edit-ltr-progressive.svg |frameless |text-top |10px |alt=Edit this at Wikidata |link=https://www.wikidata.org/wiki/Q3884#<ins style="font-weight: bold; text-decoration: none;">P7736</ins>|Edit this at Wikidata]]<pre style="white-space: pre-wrap;"><span class="official-website"><span class="url">[https://www.amazon.com Official website]</span></span> [[File:OOjs UI icon edit-ltr-progressive.svg |frameless |text-top |10px |alt=Edit this at Wikidata |link=https://www.wikidata.org/wiki/Q3884#<ins style="font-weight: bold; text-decoration: none;">P7736</ins>|Edit this at Wikidata]]</pre></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>Note: If Wikidata holds two or more values, in different languages, the website in English will be used.</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>Note: If Wikidata holds two or more values, in different languages, the website in English will be used.</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>=== No URL in template or Wikidata ===</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>=== No URL in template or Wikidata ===</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>Usage on any page without a URL in Wikidata property {{Property|<del style="font-weight: bold; text-decoration: none;">P856</del>}}:</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>Usage on any page without a URL in Wikidata property {{Property|<ins style="font-weight: bold; text-decoration: none;">P7736</ins>}}:</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;"><div>{{nowiki template demo|format=inline|output=nowiki+|code=<nowiki>{{Official website}}</nowiki>}}</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>{{nowiki template demo|format=inline|output=nowiki+|code=<nowiki>{{Official website}}</nowiki>}}</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 colspan="2" class="diff-lineno" id="mw-diff-left-l65">Line 65:</td>
<td colspan="2" class="diff-lineno">Line 65:</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> "type": "url",</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> "type": "url",</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;"><div> "required": false,</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> "required": false,</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> "default": "Wikidata property <del style="font-weight: bold; text-decoration: none;">P856</del>",</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> "default": "Wikidata property <ins style="font-weight: bold; text-decoration: none;">P7736</ins>",</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;"><div> "example": "https://example.com"</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> "example": "https://example.com"</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;"><div> },</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> },</div></td></tr>
</table>
Johnrdorazio
https://en.seminaverbi.bibleget.io/w/index.php?title=Template:Official_website/doc&diff=22151&oldid=prev
Johnrdorazio: 1 revision imported
2020-09-02T20:33:15Z
<p>1 revision imported</p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<tr class="diff-title" lang="en">
<td colspan="1" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="1" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 20:33, September 2, 2020</td>
</tr><tr><td colspan="2" class="diff-notice" lang="en"><div class="mw-diff-empty">(No difference)</div>
</td></tr></table>
Johnrdorazio
https://en.seminaverbi.bibleget.io/w/index.php?title=Template:Official_website/doc&diff=22150&oldid=prev
en>Cardace: /* See also */ Fixed description
2020-01-25T08:59:06Z
<p><span dir="auto"><span class="autocomment">See also: </span> Fixed description</span></p>
<p><b>New page</b></p><div>{{Documentation subpage}}<br />
{{High-use|226351}}<br />
<!-- Please add categories at the bottom of this page and interwikis at Wikidata --><br />
{{tsh|oweb}}<br />
{{Lua|Module:Official website|Module:Check for unknown parameters}}<br />
{{Uses Wikidata|P856}}<br />
{{Tracks Wikidata|P856}}<br />
<br />
The purpose of this template is to provide a standard format for labeling links to the official website of an article's main topic.<br />
<br />
== Usage ==<br />
<br />
=== Basic usage ===<br />
This template can be used without specifying any parameters, if the [[d:Property:P856|"official website" Property (P856)]] is set in the respective article's [[WP:Wikidata|Wikidata]] record. Just add {{tlx|official website}} to the article's [[WP:ELOFFICIAL|External links]] section. If on Wikidata more than one official website is given, the entry tagged with the [[d:Property:P856|language]] being [[d:Q1860|English]] is automatically preferred.<br />
<br />
=== Advanced usage ===<br />
Four parameters are available:<br />
*<code>1=</code> or <code>URL=</code> or <code>url=</code> is used to specify the URL. If this parameter is omitted, the value of [[d:Property:P856|"official website" Property (P856)]] on [[Wikidata]] is used.<br />
**NOTE: If this parameter is specified and doesn't match [[d:Property:P856|"official website" Property (P856)]] on Wikidata, the page is added to [[:Category:Official website different in Wikidata and Wikipedia]] for maintenance.<br />
**If this parameter is specified but the [[d:Property:P856|"official website" Property (P856)]] on Wikidata has not been set, the page is added to [[:Category:Official website not in Wikidata]] for maintenance.<br />
**If this parameter is not specified and there is no official website available on Wikidata, the page is added to [[:Category:Official website missing URL]].<br />
*<code>2=</code> or <code>name=</code> is used to reformat the title if "Official website" is not suitable.<br />
**NOTE: This name should succinctly and accurately describe the external link '''in relation to the subject'''. In particular, it should '''not''' include the article subject's name as the reader reasonably expects that all external links pertain to the subject.<br />
*<code>mobile=</code> is optionally used if there is a different "official website" for use with [[Mobile Web]] devices.<br />
*<code>format=flash</code> is optionally used if the website requires [[Adobe Flash Player]] software.<br />
<br />
Some URLs that contain special characters, such as <code>&</code> or <code>=</code>, will break the template. The solution is to prepend the URL with <code>1=</code><br />
<br />
== Examples ==<br />
=== URL in template ===<br />
To the right of each example is the displayed output. Below each example is the actual output including {{tag|span}} tags.<br />
{{nowiki template demo|format=inline|output=nowiki+|code=<nowiki>{{Official website|example.org}}</nowiki>}}<br />
{{nowiki template demo|format=inline|output=nowiki+|code=<nowiki>{{Official website|www.example.org}}</nowiki>}}<br />
{{nowiki template demo|format=inline|output=nowiki+|code=<nowiki>{{Official website|//www.example.org}}</nowiki>}}<br />
{{nowiki template demo|format=inline|output=nowiki+|code=<nowiki>{{Official website|http://www.example.org}}</nowiki>}}<br />
{{nowiki template demo|format=inline|output=nowiki+|code=<nowiki>{{Official website|https://www.example.org}}</nowiki>}}<br />
{{nowiki template demo|format=inline|output=nowiki+|code=<nowiki>{{Official website|1=https://example.org/?action=view}}</nowiki>}}<br />
{{nowiki template demo|format=inline|output=nowiki+|code=<nowiki>{{Official website|https://example.org|name=Example}}</nowiki>}}<br />
{{nowiki template demo|format=inline|output=nowiki+|code=<nowiki>{{Official website|https://example.org|mobile=https://m.example.org}}</nowiki>}}<br />
{{nowiki template demo|format=inline|output=nowiki+|code=<nowiki>{{Official website|https://example.org|format=flash}}</nowiki>}}<br />
<br />
=== URL in Wikidata ===<br />
Usage in the article [[Amazon (company)]]:<br />
* <code><nowiki>{{Official website}}</nowiki></code> → {{Official website|https://www.amazon.com}} [[File:OOjs UI icon edit-ltr-progressive.svg |frameless |text-top |10px |alt=Edit this at Wikidata |link=https://www.wikidata.org/wiki/Q3884#P856|Edit this at Wikidata]]<pre style="white-space: pre-wrap;"><span class="official-website"><span class="url">[https://www.amazon.com Official website]</span></span> [[File:OOjs UI icon edit-ltr-progressive.svg |frameless |text-top |10px |alt=Edit this at Wikidata |link=https://www.wikidata.org/wiki/Q3884#P856|Edit this at Wikidata]]</pre><br />
<br />
Note: If Wikidata holds two or more values, in different languages, the website in English will be used.<br />
<br />
=== No URL in template or Wikidata ===<br />
Usage on any page without a URL in Wikidata property {{Property|P856}}:<br />
{{nowiki template demo|format=inline|output=nowiki+|code=<nowiki>{{Official website}}</nowiki>}}<br />
<br />
== TemplateData ==<br />
{{TemplateData header}}<br />
<templatedata><br />
{<br />
"description": "The purpose of this template is to provide a standard format for labeling links to official websites.",<br />
"params": {<br />
"1": {<br />
"label": "url",<br />
"aliases": [<br />
"url",<br />
"URL"<br />
],<br />
"description": "The url that the template will link to. This is required unless the URL is available from Wikidata.",<br />
"type": "url",<br />
"required": false,<br />
"default": "Wikidata property P856",<br />
"example": "https://example.com"<br />
},<br />
"name": {<br />
"label": "Text",<br />
"description": "The text the URL will display. This should usually be left to the default. However, this parameter may be provided when there is another webpage that could reasonably understood as the official website and needs to be distinguished from this link.",<br />
"type": "string",<br />
"required": false,<br />
"example": "Publisher's website",<br />
"default": "Official website"<br />
},<br />
"mobile": {<br />
"label": "Mobile Website",<br />
"description": "If the website has a different 'official website' for mobile devices this website can be listed here",<br />
"type": "string",<br />
"required": false,<br />
"example": "https://m.example.com"<br />
},<br />
"format": {<br />
"label": "Requires Flash",<br />
"description": "If the website requires Adobe Flash Player software to be displayed, set this parameters value to 'flash'",<br />
"type": "string",<br />
"required": false,<br />
"example": "flash"<br />
}<br />
}<br />
}<br />
</templatedata><br />
<br />
== Tracking categories ==<br />
One of the following categories may be added to articles using this template (via [[Module:Official website]]):<br />
* {{clc|Official website different in Wikidata and Wikipedia}}<br />
* {{clc|Official website not in Wikidata}}<br />
* {{clc|Official website missing URL}}<br />
* {{clc|Pages using Official website with unknown parameters}}<br />
<br />
== See also ==<br />
* {{Tl|Official URL}} – For inserting the official link itself as opposed to its name. Useful for [[Infobox]]es.<br />
<br />
<includeonly>{{sandbox other||<br />
<!-- Categories below this line; interwikis at Wikidata --><br />
[[Category:External link templates using Wikidata]]<br />
[[Category:Templates that add a tracking category]]<br />
}}</includeonly></div>
en>Cardace