21:
511:
473:
52:
121:
515:<strong class="error">No URL found. Please specify a URL here or add one to Wikidata.</strong> [[File:OOjs UI icon edit-ltr-progressive.svg |frameless |text-top |10px |alt=Edit this at Wikidata |link=https://www.wikidata.org/Q5614958#P856|Edit this at Wikidata]]
637:
If left blank, the template text will display the words "Official website" with the URL linked to it. This field should usually be left blank. If there's another webpage that could reasonably understood as the official website and needs to be distinguished from the link in this template, replacement
482:
Note: If
Wikidata holds two or more values in different languages, websites in English will be preferred. The module also prefers websites with a "preferred" Wikidata rank. If multiple websites are otherwise equally ranked in the module's criteria, the module will choose the website listed first.
555:
This template provides a standard format for labeling links to official websites, stating "Official website" with the website linked. If no parameters are set in this template, the template will use the official website entered into
Wikidata, if
679:
240:
697:
599:
Leave this blank to use a URL entered into
Wikidata. If there is no Wikidata URL or to override the Wikidata URL, entering a URL in this field will cause the template to link to this entered field.
424:<span class="official-website"><span class="url">[https://example.org/?action=view Official website]</span></span>
818:
406:<span class="official-website"><span class="url">[https://www.example.org Official website]</span></span>
388:<span class="official-website"><span class="url">[http://www.example.org Official website]</span></span>
352:<span class="official-website"><span class="url">[http://www.example.org Official website]</span></span>
803:
791:
36:
334:<span class="official-website"><span class="url">[http://example.org Official website]</span></span>
861:
370:<span class="official-website"><span class="url">[//www.example.org Official website]</span></span>
830:
787:
32:
442:<span class="official-website"><span class="url">[https://example.org Example]</span></span>
851:
148:
685:
251:
40:
691:
258:
856:
813:
144:
70:
773:
798:
709:
It's possible that a URL no longer references hosted content, or ends up hosting different content than intended. In this case, the
160:
The purpose of this template is to provide a standard format for labeling links to the official website of an article's main topic.
66:
731:{{webarchive |url=https://web.archive.org/web/20051222144340/http://en.wikipedia.org/ |date=2005-12-22 |title=Official website}}
138:
538:
78:
826:
781:
28:
846:
737:
284:
include the article subject's name as the reader reasonably expects that all external links pertain to the subject.
534:
526:
257:
If this parameter is not specified and there is no official website available on
Wikidata, the page is added to
672:
134:
190:
74:
530:
757:
314:
To the right of each example is the displayed output. Below each example is the actual output including
178:
88:
492:
77:. The tested changes can be added to this page in a single edit. Consider discussing changes on the
720:
777:
477:<span class="db-b2ZmaWNpYWwtdw"><span class="db-dXJs"></span></span> ]
453:
413:{{Official website|1=https://example.org/?action=view}}
431:{{Official website|https://example.org|name=Example}}
193:
section. If on
Wikidata more than one official website is given, the entry tagged with the
127:
741:
65:
To avoid major disruption and server load, any changes should be tested in the template's
510:
840:
472:
671:
One of the following categories may be added to articles using this template (via
247:
236:
225:
194:
174:
59:
763:– For inserting the official link itself as opposed to its name. Useful for
276:
NOTE: This name should succinctly and accurately describe the external link
15:
395:{{Official website|https://www.example.org}}
229:
377:{{Official website|http://www.example.org}}
764:
224:
is used to specify the URL. If this parameter is omitted, the value of
273:
is used to reformat the title if "Official website" is not suitable.
173:
This template can be used without specifying any parameters, if the
680:
Category:Official website different in
Wikidata and Knowledge (XXG)
418:
298:, will break the template. The solution is to prepend the URL with
241:
Category:Official website different in
Wikidata and Knowledge (XXG)
198:
60:
approximately 319,000 pages, or roughly 1% of all pages
507:
No URL found. Please specify a URL here or add one to
Wikidata.
359:{{Official website|//www.example.org}}
115:
46:
698:
Category:Pages using
Official website with unknown parameters
341:{{Official website|www.example.org}}
400:
466:
382:
346:
323:{{Official website|example.org}}
807:
235:
NOTE: If this parameter is specified and doesn't match
106:
97:
436:
491:
Usage on any page without a URL in
Wikidata property
328:
364:
290:Some URLs that contain special characters, such as
250:on Wikidata has not been set, the page is added to
638:text can displayed by entering it into this field.
729:parameter of "Official website". For example:
8:
552:
545:in articles based on its TemplateData.
797:Editors can experiment in this template's
559:
509:
471:
717:should be replaced with an invocation of
686:Category:Official website not in Wikidata
631:
593:
590:
252:Category:Official website not in Wikidata
503:{{Official website}}
246:If this parameter is specified but the
862:External link templates using Wikidata
692:Category:Official website missing URL
259:Category:Official website missing URL
7:
539:See a monthly parameter usage report
506:
315:
177:is set in the respective article's
145:Module:Check for unknown parameters
852:Templates using data from Wikidata
248:"official website" Property (P856)
239:on Wikidata, the page is added to
237:"official website" Property (P856)
226:"official website" Property (P856)
175:"official website" Property (P856)
14:
733:. Such an invocation appears as:
548:TemplateData for Official website
316:<span>...</span>
119:
50:
19:
487:No URL in template or Wikidata
209:Two parameters are available:
1:
782:Template:Official website/doc
201:is automatically preferred.
857:Templates tracking Wikidata
280:. In particular, it should
878:
771:
744: (archived 2005-12-22)
529:for this template used by
278:in relation to the subject
86:
831:Subpages of this template
567:
543:Template:Official website
81:before implementing them.
73:subpages, or in your own
58:This template is used on
673:Module:Official website
135:Module:Official website
825:Add categories to the
606:Wikidata property P856
24:Template documentation
452:Usage in the article
461:{{Official website}}
126:This template uses
847:Lua-based templates
705:Handling dead links
667:Tracking categories
664:
651:Publisher's website
612:https://example.com
564:
562:Template parameters
560:
558:
508:
663:
662:
580:
553:
537:and other tools.
496:
493:official website
189:to the article's
181:record. Just add
158:
157:
85:
84:
869:
822:
811:
795:
762:
756:
738:Official website
732:
728:
724:
716:
713:Official website
645:Official website
633:
630:
595:
592:
589:
581:
565:
513:
504:
494:
475:
470:
469:
467:Official website
462:
454:Amazon (company)
440:
439:
432:
422:
421:
419:Official website
414:
404:
403:
401:Official website
396:
386:
385:
383:Official website
378:
368:
367:
365:Official website
360:
350:
349:
347:Official website
342:
332:
331:
329:Official website
324:
317:
301:
297:
293:
272:
268:
254:for maintenance.
243:for maintenance.
223:
219:
215:
188:
185:official website
123:
122:
116:
109:
100:
54:
53:
47:
44:
25:
23:
22:
877:
876:
872:
871:
870:
868:
867:
866:
837:
836:
835:
834:
824:
816:
801:
796:
785:
770:
760:
754:
751:
742:Wayback Machine
730:
726:
718:
710:
707:
669:
628:
587:
551:
523:
516:
502:
489:
478:
465:
464:
460:
450:
448:URL in Wikidata
443:
435:
434:
430:
425:
417:
416:
412:
407:
399:
398:
394:
389:
381:
380:
376:
371:
363:
362:
358:
353:
345:
344:
340:
335:
327:
326:
322:
312:
310:URL in template
307:
299:
295:
291:
270:
266:
221:
217:
213:
207:
182:
171:
166:
154:
120:
114:
113:
105:
96:
91:
64:
51:
45:
26:
20:
18:
12:
11:
5:
875:
873:
865:
864:
859:
854:
849:
839:
838:
769:
768:
750:
747:
746:
745:
706:
703:
702:
701:
695:
689:
688: (47,411)
683:
682: (92,625)
668:
665:
661:
660:
657:
654:
653:
652:
649:
646:
643:
634:
626:
622:
621:
618:
615:
614:
613:
610:
607:
604:
596:
585:
579:
578:
575:
572:
569:
531:TemplateWizard
524:
522:
519:
518:
517:
514:
488:
485:
480:
479:
476:
449:
446:
445:
444:
441:
427:
426:
423:
409:
408:
405:
391:
390:
387:
373:
372:
369:
355:
354:
351:
337:
336:
333:
311:
308:
306:
303:
288:
287:
286:
285:
264:
263:
262:
255:
244:
206:
205:Advanced usage
203:
191:External links
170:
167:
165:
162:
156:
155:
153:
152:
142:
131:
124:
112:
111:
102:
92:
87:
83:
82:
55:
17:
16:
13:
10:
9:
6:
4:
3:
2:
874:
863:
860:
858:
855:
853:
850:
848:
845:
844:
842:
832:
828:
820:
815:
809:
805:
800:
793:
789:
783:
779:
775:
774:documentation
766:
759:
753:
752:
748:
743:
739:
736:
735:
734:
722:
714:
704:
699:
696:
693:
690:
687:
684:
681:
678:
677:
676:
674:
666:
658:
655:
650:
647:
644:
641:
640:
639:
635:
627:
624:
623:
619:
616:
611:
608:
605:
602:
601:
600:
597:
586:
583:
582:
576:
573:
570:
566:
563:
557:
550:
549:
544:
540:
536:
532:
528:
520:
512:
501:
500:
499:
497:
486:
484:
474:
468:
459:
458:
457:
455:
447:
438:
429:
428:
420:
411:
410:
402:
393:
392:
384:
375:
374:
366:
357:
356:
348:
339:
338:
330:
321:
320:
319:
309:
304:
302:
283:
279:
275:
274:
265:
260:
256:
253:
249:
245:
242:
238:
234:
233:
231:
227:
212:
211:
210:
204:
202:
200:
196:
192:
186:
180:
176:
168:
163:
161:
150:
146:
143:
140:
136:
133:
132:
129:
125:
118:
117:
108:
103:
99:
94:
93:
90:
80:
76:
72:
68:
62:
61:
56:
49:
48:
42:
38:
34:
30:
761:}}
758:Official URL
755:{{
723:}}
719:{{
715:}}
712:
711:{{
708:
670:
636:
625:Display text
598:
561:
554:
547:
546:
542:
535:VisualEditor
527:TemplateData
525:This is the
521:TemplateData
490:
481:
451:
313:
289:
281:
277:
208:
187:}}
184:
183:{{
172:
159:
110:}}
104:{{
101:}}
95:{{
75:user subpage
57:
778:transcluded
694: (162)
571:Description
169:Basic usage
39:] [
35:] [
31:] [
841:Categories
772:The above
721:webarchive
556:available.
71:/testcases
829:subpage.
814:testcases
765:Infoboxes
700: (3)
568:Parameter
232:is used.
89:Shortcuts
79:talk page
749:See also
659:optional
620:optional
305:Examples
230:Wikidata
195:language
179:Wikidata
107:official
67:/sandbox
806:|
799:sandbox
792:history
790:|
740:at the
725:with a
648:Example
642:Default
609:Example
603:Default
437:Example
199:English
149:sandbox
139:sandbox
37:history
823:pages.
727:title=
656:String
577:Status
495:(P856)
318:tags.
197:being
780:from
292:&
271:name=
164:Usage
43:]
41:purge
27:[
827:/doc
819:edit
812:and
808:diff
804:edit
788:edit
629:name
574:Type
541:for
222:url=
218:URL=
98:oweb
33:edit
29:view
776:is
675:):
617:URL
594:URL
591:url
584:URL
294:or
282:not
269:or
228:on
220:or
216:or
128:Lua
69:or
843::
784:.
533:,
505:→
498::
463:→
456::
433:→
415:→
397:→
379:→
361:→
343:→
325:→
300:1=
267:2=
214:1=
130::
833:.
821:)
817:(
810:)
802:(
794:)
786:(
767:.
632:2
588:1
296:=
261:.
151:)
147:(
141:)
137:(
63:.
Text is available under the Creative Commons Attribution-ShareAlike License. Additional terms may apply.