Difference between revisions of "Template:Emptyor/testcases"
Jump to navigation
Jump to search
imported>Pppery (Create testcases for [[Template:emptyor]) |
imported>Pppery (I should probably state that, for attribution reasons, many of these test cases originated as examples mentioned in discussion on Module talk:WikidataIB) |
||
| Line 10: | Line 10: | ||
{{Test case|_collapsible=yes|_showcode=yes|_title=Whitespace only| }} | {{Test case|_collapsible=yes|_showcode=yes|_title=Whitespace only| }} | ||
{{Test case|_collapsible=yes|_showcode=yes|_title=Nothing|}} | {{Test case|_collapsible=yes|_showcode=yes|_title=Nothing|}} | ||
| − | + | ||
<!-- | <!-- | ||
{{clear}} | {{clear}} | ||
== References == | == References == | ||
{{reflist}} | {{reflist}} | ||
| − | -- | + | -- |
Latest revision as of 14:56, 4 January 2018
| This is the template test cases page for the sandbox of Template:Emptyor. 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: |
| Equals signs only |
|---|
{{Emptyor|1====}}
{{Emptyor}}
{{Emptyor/sandbox}} = |
| With equals signs |
|---|
{{Emptyor|1== foo ==}}
{{Emptyor}} foo ={{Emptyor/sandbox}} foo = |
| HTML tags only |
|---|
{{Emptyor| <i> </i>}}
{{Emptyor}}
{{Emptyor/sandbox}} |
| With HTML tags |
|---|
{{Emptyor| <i> firstval secondval </i>}}
{{Emptyor}} firstval secondval {{Emptyor/sandbox}} firstval secondval |
| Wikimarkup only |
|---|
{{Emptyor| '''' }}
{{Emptyor}}
{{Emptyor/sandbox}} ' |
| With wikimarkup |
|---|
{{Emptyor| ''foo'' }}
{{Emptyor}} foo {{Emptyor/sandbox}} foo |
| Whitespace only |
|---|
{{Emptyor| }}
{{Emptyor}}
{{Emptyor/sandbox}}
|
| Nothing |
|---|
{{Emptyor|}}
{{Emptyor}}
{{Emptyor/sandbox}}
|