Template:Official website: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
No edit summary
Tag: sourceedit
No edit summary
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>* [http://{{{1|}}} {{{2|Official website}}}]  {{#set:website=//{{{1|}}}}}</includeonly><noinclude>[[Category:External links templates|{{PAGENAME}}]]{{documentation}}</noinclude>
<includeonly>* [{{#ifeq:{{#sub:{{{1|}}}|0|1}}|h||//}}{{{1|}}} {{{2|Official website}}}]  {{#set:website={{{1|}}}}}</includeonly><noinclude>[[Category:External links templates|{{PAGENAME}}]]{{documentation}}</noinclude>

Latest revision as of 13:47, 23 August 2023

Instructions for {{Official website}}
{{Official website}} is a template that allows you to put a link to a business or person's official website in the external links section of articles. It's easy to use. Just type the URL of the site, minus the "http://" at the beginning:
{{official website|www.example.com}}

It automatically includes a bullet, producing a link that looks like this:

If you wish to qualify whose website it is, define a second variable:
{{official website|www.example.com|Example's website}}
, producing: