Difference between revisions of "Template:IBDB title/testcases"
Jump to navigation
Jump to search
imported>Zyxw (additional tests) |
imported>Zyxw (update) |
||
| Line 18: | Line 18: | ||
== Title with leading apostrophe == | == Title with leading apostrophe == | ||
| − | {{Test case nowiki|format=tablerows|collapsible=yes|output=nowiki+|title= | + | {{Test case nowiki|format=tablerows|collapsible=yes|output=nowiki+|title='night, Mother (unnamed parameters) |
|code=<nowiki>{{__TEMPLATENAME__|4214|'night, Mother}}</nowiki> | |code=<nowiki>{{__TEMPLATENAME__|4214|'night, Mother}}</nowiki> | ||
}} | }} | ||
| − | {{Test case nowiki|format=tablerows|collapsible=yes|output=nowiki+|title= | + | {{Test case nowiki|format=tablerows|collapsible=yes|output=nowiki+|title='night, Mother (named parameters) |
|code=<nowiki>{{__TEMPLATENAME__|id=4214|title='night, Mother}}</nowiki> | |code=<nowiki>{{__TEMPLATENAME__|id=4214|title='night, Mother}}</nowiki> | ||
}} | }} | ||
== Title with embedded and trailing apostrophes == | == Title with embedded and trailing apostrophes == | ||
| − | {{Test case nowiki|format=tablerows|collapsible=yes|output=nowiki+|title= | + | {{Test case nowiki|format=tablerows|collapsible=yes|output=nowiki+|title=Ain't Misbehavin' (unnamed parameters) |
|code=<nowiki>{{__TEMPLATENAME__|4058|Ain't Misbehavin'}}</nowiki> | |code=<nowiki>{{__TEMPLATENAME__|4058|Ain't Misbehavin'}}</nowiki> | ||
}} | }} | ||
| − | {{Test case nowiki|format=tablerows|collapsible=yes|output=nowiki+|title= | + | {{Test case nowiki|format=tablerows|collapsible=yes|output=nowiki+|title=Ain't Misbehavin' (named parameters) |
|code=<nowiki>{{__TEMPLATENAME__|id=4058|title=Ain't Misbehavin'}}</nowiki> | |code=<nowiki>{{__TEMPLATENAME__|id=4058|title=Ain't Misbehavin'}}</nowiki> | ||
| + | }} | ||
| + | |||
| + | == Title with trailing apostrophe template == | ||
| + | {{Test case nowiki|format=tablerows|collapsible=yes|output=nowiki+|title=<nowiki>Our Lan{{'}}</nowiki> (unnamed parameters) | ||
| + | |code=<nowiki>{{__TEMPLATENAME__|1565|Our Lan{{'}}}}</nowiki> | ||
| + | }} | ||
| + | {{Test case nowiki|format=tablerows|collapsible=yes|output=nowiki+|title=<nowiki>Our Lan{{'}}</nowiki> (named parameters) | ||
| + | |code=<nowiki>{{__TEMPLATENAME__|id=1565|title=Our Lan{{'}}}}</nowiki> | ||
}} | }} | ||
== Title using template for non-italic text == | == Title using template for non-italic text == | ||
| − | {{Test case nowiki|format=tablerows|collapsible=yes|output=nowiki+|title= | + | {{Test case nowiki|format=tablerows|collapsible=yes|output=nowiki+|title=<nowiki>The Seagull {{noitalic|(1938 production)}}</nowiki> (unnamed parameters) |
|code=<nowiki>{{__TEMPLATENAME__|7945|The Seagull {{noitalic|(1938 production)}}}}</nowiki> | |code=<nowiki>{{__TEMPLATENAME__|7945|The Seagull {{noitalic|(1938 production)}}}}</nowiki> | ||
}} | }} | ||
| − | {{Test case nowiki|format=tablerows|collapsible=yes|output=nowiki+|title= | + | {{Test case nowiki|format=tablerows|collapsible=yes|output=nowiki+|title=<nowiki>The Seagull {{noitalic|(1938 production)}}</nowiki> (named parameters) |
|code=<nowiki>{{__TEMPLATENAME__|id=7945|title=The Seagull {{noitalic|(1938 production)}}}}</nowiki> | |code=<nowiki>{{__TEMPLATENAME__|id=7945|title=The Seagull {{noitalic|(1938 production)}}}}</nowiki> | ||
}} | }} | ||
== Title using <nowiki>''</nowiki> for non-italic text == | == Title using <nowiki>''</nowiki> for non-italic text == | ||
| − | NOTE: | + | NOTE: These do not display correctly, but output is the same from both main and sandbox templates. Use the {{tl|noitalic}} template instead, as shown in the prior tests. |
| − | {{Test case nowiki|format=tablerows|collapsible=yes|output=nowiki+|title= | + | |
| + | {{Test case nowiki|format=tablerows|collapsible=yes|output=nowiki+|title=<nowiki>The Seagull ''(1938 production)''</nowiki> (unnamed parameters) | ||
|code=<nowiki>{{__TEMPLATENAME__|7945|The Seagull ''(1938 production)''}}</nowiki> | |code=<nowiki>{{__TEMPLATENAME__|7945|The Seagull ''(1938 production)''}}</nowiki> | ||
}} | }} | ||
| − | {{Test case nowiki|format=tablerows|collapsible=yes|output=nowiki+|title= | + | {{Test case nowiki|format=tablerows|collapsible=yes|output=nowiki+|title=<nowiki>The Seagull ''(1938 production)''</nowiki> (named parameters) |
|code=<nowiki>{{__TEMPLATENAME__|id=7945|title=The Seagull ''(1938 production)''}}</nowiki> | |code=<nowiki>{{__TEMPLATENAME__|id=7945|title=The Seagull ''(1938 production)''}}</nowiki> | ||
| + | }} | ||
| + | |||
| + | {{Test case nowiki|format=tablerows|collapsible=yes|output=nowiki+|title=<nowiki>The Seagull ''(1938 production)</nowiki> (unnamed parameters) | ||
| + | |code=<nowiki>{{__TEMPLATENAME__|7945|The Seagull ''(1938 production)}}</nowiki> | ||
| + | }} | ||
| + | {{Test case nowiki|format=tablerows|collapsible=yes|output=nowiki+|title=<nowiki>The Seagull ''(1938 production)</nowiki> (named parameters) | ||
| + | |code=<nowiki>{{__TEMPLATENAME__|id=7945|title=The Seagull ''(1938 production)}}</nowiki> | ||
}} | }} | ||
Latest revision as of 21:42, 3 April 2019
| This is the template test cases page for the sandbox of Template:IBDB title. 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
ID only
| ID (unnamed parameters) | ||||||
|---|---|---|---|---|---|---|
{{IBDB title|2211}}
|
| ID (named parameters) | ||||||
|---|---|---|---|---|---|---|
{{IBDB title|id=2211}}
|
ID and title
| ID and title (unnamed parameters) | ||||||
|---|---|---|---|---|---|---|
{{IBDB title|2211|The Crucible}}
|
| ID and title (named parameters) | ||||||
|---|---|---|---|---|---|---|
{{IBDB title|id=2211|title=The Crucible}}
|
Title with leading apostrophe
| 'night, Mother (unnamed parameters) | ||||||
|---|---|---|---|---|---|---|
{{IBDB title|4214|'night, Mother}}
|
| 'night, Mother (named parameters) | ||||||
|---|---|---|---|---|---|---|
{{IBDB title|id=4214|title='night, Mother}}
|
Title with embedded and trailing apostrophes
| Ain't Misbehavin' (unnamed parameters) | ||||||
|---|---|---|---|---|---|---|
{{IBDB title|4058|Ain't Misbehavin'}}
|
| Ain't Misbehavin' (named parameters) | ||||||
|---|---|---|---|---|---|---|
{{IBDB title|id=4058|title=Ain't Misbehavin'}}
|
Title with trailing apostrophe template
| Our Lan{{'}} (unnamed parameters) | ||||||
|---|---|---|---|---|---|---|
{{IBDB title|1565|Our Lan{{'}}}}
|
| Our Lan{{'}} (named parameters) | ||||||
|---|---|---|---|---|---|---|
{{IBDB title|id=1565|title=Our Lan{{'}}}}
|
Title using template for non-italic text
| The Seagull {{noitalic|(1938 production)}} (unnamed parameters) | ||||||
|---|---|---|---|---|---|---|
{{IBDB title|7945|The Seagull {{noitalic|(1938 production)}}}}
|
| The Seagull {{noitalic|(1938 production)}} (named parameters) | ||||||
|---|---|---|---|---|---|---|
{{IBDB title|id=7945|title=The Seagull {{noitalic|(1938 production)}}}}
|
Title using '' for non-italic text
NOTE: These do not display correctly, but output is the same from both main and sandbox templates. Use the {{noitalic}} template instead, as shown in the prior tests.
| The Seagull ''(1938 production)'' (unnamed parameters) | ||||||
|---|---|---|---|---|---|---|
{{IBDB title|7945|The Seagull ''(1938 production)''}}
|
| The Seagull ''(1938 production)'' (named parameters) | ||||||
|---|---|---|---|---|---|---|
{{IBDB title|id=7945|title=The Seagull ''(1938 production)''}}
|
| The Seagull ''(1938 production) (unnamed parameters) | ||||||
|---|---|---|---|---|---|---|
{{IBDB title|7945|The Seagull ''(1938 production)}}
|
| The Seagull ''(1938 production) (named parameters) | ||||||
|---|---|---|---|---|---|---|
{{IBDB title|id=7945|title=The Seagull ''(1938 production)}}
|