Difference between revisions of "Template:Infobox website/testcases"
Jump to navigation
Jump to search
imported>Frietjes |
imported>CommonsDelinker (Replacing Test.png with File:Simple_shapes_example.png (by CommonsDelinker because: File renamed: Its an example and not a test file. Name is needed for a testfile.).) |
||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 64: | Line 64: | ||
| content_licence = CC-BY-SA-NC-ND 4.0 | | content_licence = CC-BY-SA-NC-ND 4.0 | ||
| − | | programming_language = [[Haskel]] | + | | programming_language = [[Haskell (programming language)|Haskel]] |
| ISSN = 45678 | | ISSN = 45678 | ||
| oclc = 56787 | | oclc = 56787 | ||
| Line 78: | Line 78: | ||
| url = {{URL|https://www.wikileaks.org|WikiLeaks.org}}<ref>{{cite web |url=https://www.wikileaks.org|title=Wikileaks Mirrors |publisher=WikiLeaks |date=24 August 2012 |accessdate=11 October 2012 |archiveurl=https://www.webcitation.org/6BKUgc2Qs |archivedate=11 October 2012 |url-status=live}}</ref> | | url = {{URL|https://www.wikileaks.org|WikiLeaks.org}}<ref>{{cite web |url=https://www.wikileaks.org|title=Wikileaks Mirrors |publisher=WikiLeaks |date=24 August 2012 |accessdate=11 October 2012 |archiveurl=https://www.webcitation.org/6BKUgc2Qs |archivedate=11 October 2012 |url-status=live}}</ref> | ||
| logo_caption = "We open governments"<ref>{{cite web|title=WikiLeaks' official twitter account|url=https://twitter.com/wikileaks| archiveurl = https://www.webcitation.org/5rW7eYJFk | archivedate = 26 July 2010| url-status=live}}</ref> | | logo_caption = "We open governments"<ref>{{cite web|title=WikiLeaks' official twitter account|url=https://twitter.com/wikileaks| archiveurl = https://www.webcitation.org/5rW7eYJFk | archivedate = 26 July 2010| url-status=live}}</ref> | ||
| + | | coordinates = 00.00.00.00 | ||
| commercial = No<ref name="about">{{cite web |url=https://www.wikileaks.org/About.html |title=About |publisher=WikiLeaks |accessdate=11 October 2012 |archiveurl=https://www.webcitation.org/6BKUgyMIN |archivedate=11 October 2012 |url-status=live}}</ref> | | commercial = No<ref name="about">{{cite web |url=https://www.wikileaks.org/About.html |title=About |publisher=WikiLeaks |accessdate=11 October 2012 |archiveurl=https://www.webcitation.org/6BKUgyMIN |archivedate=11 October 2012 |url-status=live}}</ref> | ||
| type = [[Archive|Document archive]] and [[Whistleblowing|disclosure]] | | type = [[Archive|Document archive]] and [[Whistleblowing|disclosure]] | ||
| Line 98: | Line 99: | ||
{{Testcase table |_caption= | {{Testcase table |_caption= | ||
| name = Fixtional.com | | name = Fixtional.com | ||
| − | | logo = | + | | logo = Simple shapes example.png |
| logo_size = 120px | | logo_size = 120px | ||
| − | | logo_alt = (logo_alt) | + | | logo_alt = (logo_alt) Simple shapes example.png |
| − | | logocaption = (''logocaption'' is:) | + | | logocaption = (''logocaption'' is:) Simple shapes example.png (''logo'') at 120px (''logo_size''). |
| collapsible = on | | collapsible = on | ||
| collapsetext = (''collapsetext'') needs "screen" | | collapsetext = (''collapsetext'') needs "screen" | ||
| Line 109: | Line 110: | ||
| caption = (''caption'' is:) a parameter name that doesn't include e.g. "screen"/"screenshot" | | caption = (''caption'' is:) a parameter name that doesn't include e.g. "screen"/"screenshot" | ||
| url = http://www.fixtional.com | | url = http://www.fixtional.com | ||
| + | | coordinates = 00.00.00.00 | ||
| commercial = Unknown | | commercial = Unknown | ||
| type = Fictional website whose type description deliberately introduces linewrapping | | type = Fictional website whose type description deliberately introduces linewrapping | ||
Latest revision as of 10:00, 7 August 2020
| 42px | This is the template test cases page for the sandbox of Template:Infobox website. Script error: No such module "Purge". 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 with these links: |
Contents
All parameters
- Note these should never all be filled, e.g. never city & country, because City is entered as [[City]], [[Country]], only one or the other should be chosen among
licence/license, etc., see Usage
Examples for "Current_status" error
Here is a side by side example of the current problem and a revised version I made in the sandbox regarding the "Current_status" parameter duplication error: Template:Testcase table
Fictional website testing many parameters
en.wikipedia.org
{{Infobox website
| name = [[File:Wikipedia's W.svg|16px|Favicon of Wikipedia]] English Wikipedia
| logo = [[File:Wikipedia-logo-en.png|English Wikipedia logo]]
| logocaption = Logo of the English Wikipedia
| screenshot = [[File:EnglishWikipediaMainPage3rdAugust2007.PNG|280px|The [[Main Page]] of the English Wikipedia.]]
| collapsible = yes
| caption = The [[Main Page]] of the English Wikipedia.
| url = http://en.wikipedia.org/
| commercial = No
| launch_date = 15 January 2001
| type = {{longitem|[[Internet encyclopedia project]]}}
| language = English
| registration = Optional
| owner = [[Wikimedia Foundation]]
| author = {{ublist |[[Jimmy Wales]] |[[Larry Sanger]]}}
| alexa = 7
| issn = 1600-0706
| oclc = 52075003
| current_status = Online
| footnotes = (footnotes)
}}
background, plurals, alexa
(|background=none)