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