Template:Official website/testcases
Appearance
This is the template test cases page for the sandbox of Template:Official website. to update the examples. If there are many examples of a complicated template, later ones may break due to limits in MediaWiki; see the HTML comment "NewPP limit report" in the rendered page. You can also use Special:ExpandTemplates to examine the results of template uses. You can test how this page looks in the different skins and parsers with these links: |
URL fetched from Wikidata
{{Official website}}
{{Official website}}
No URL found. Please specify a URL here or add one to Wikidata.No URL found. Please specify a URL here or add one to Wikidata.No URL found. Please specify a URL here or add one to Wikidata.
No URL found. Please specify a URL here or add one to Wikidata.
URL with protocol
{{Official website |URL=http://www.example.com}}
{{Official website}}
Official website[http://www.example.com Official website]
Official website[http://www.example.com Official website]
URL without protocol
{{Official website |URL=www.example.com}}
{{Official website}}
Official website[http://www.example.com Official website]
Official website[http://www.example.com Official website]
URL from first positional parameter
{{Official website|http://www.example.com}}
{{Official website}}
Official website[http://www.example.com Official website]
Official website[http://www.example.com Official website]
HTTPS URL
{{Official website |URL=https://www.example.com}}
{{Official website}}
Official website[https://www.example.com Official website]
Official website[https://www.example.com Official website]
Alt name
{{Official website |URL=www.example.com |name=Alt name}}
{{Official website}}
Alt name[http://www.example.com Alt name]
Alt name[http://www.example.com Alt name]
Alt name from positional parameter
{{Official website|www.example.com|Alt name}}
{{Official website}}
Alt name[http://www.example.com Alt name]
Alt name[http://www.example.com Alt name]
Name contains template
{{Official website|URL=http://www.sho.com/site/dexter/home.sho|name=''Dexter''{{'}}s official website}}
{{Official website}}
Dexter's official website[http://www.sho.com/site/dexter/home.sho ''Dexter'''s official website]
Dexter's official website[http://www.sho.com/site/dexter/home.sho ''Dexter'''s official website]
lang=jp
{{Official website|http://www.daikin.co.jp/ |lang=jp}}
→ Official website[http://www.daikin.co.jp/ Official website]
{{Official website/sandbox|http://www.daikin.co.jp/ |lang=jp}}
→ Official website[http://www.daikin.co.jp/ Official website]
lang=en
{{Official website|http://www.daikin.com/ |lang=en}}
→ Official website[http://www.daikin.com/ Official website]
{{Official website/sandbox|http://www.daikin.com/ |lang=en}}
→ Official website[http://www.daikin.com/ Official website]
Unknown parameters[edit]
(development March 2018)
- Tracking category: Category:Pages using Official website with unknown parameters (48)
Unknown parameter: foo=bar
{{Official website |URL=www.example.com |foo=bar}}
{{Official website}}
Official website[http://www.example.com Official website]
Official website[http://www.example.com Official website]
Unknown parameter: foo=
{{Official website |URL=www.example.com |foo=}}
{{Official website}}
Official website[http://www.example.com Official website]
Official website[http://www.example.com Official website]
Unknown parameter: 3=
{{Official website|www.example.com|Some name|}}
{{Official website}}
Some name[http://www.example.com Some name]
Some name[http://www.example.com Some name]