Difference between revisions of "Template:In title/testcases"
imported>Cpiral (→testcases}}|Main template: copy test suite) |
imported>Cpiral (change nobullet t) |
||
| Line 14: | Line 14: | ||
{{#invoke:demoTemplate|in title/sandbox| '''label '''}} | {{#invoke:demoTemplate|in title/sandbox| '''label '''}} | ||
| − | {{#invoke:demoTemplate|in title/sandbox| | + | {{#invoke:demoTemplate|in title/sandbox|bullet = 1|"Page name"}} |
| − | {{#invoke:demoTemplate|in title/sandbox| | + | {{#invoke:demoTemplate|in title/sandbox|bullet = true|"Page name"}} |
| − | {{#invoke:demoTemplate|in title/sandbox| | + | {{#invoke:demoTemplate|in title/sandbox|bullet = y|"Page name"}} |
| − | {{#invoke:demoTemplate|in title/sandbox| | + | {{#invoke:demoTemplate|in title/sandbox|bullet = yes|"Page name"}} |
=== Inline === | === Inline === | ||
| − | Pre {{in title/sandbox | | + | Pre {{in title/sandbox | bullet = no }} post. |
| − | Pre {{in title/sandbox | | + | Pre {{in title/sandbox | bullet = false| label test }} post. |
== {{edit|Template:{{TEMPLATENAME|testcases}}|Main template [edit] }} == | == {{edit|Template:{{TEMPLATENAME|testcases}}|Main template [edit] }} == | ||
| Line 40: | Line 40: | ||
{{#invoke:demoTemplate|in title| '''label '''}} | {{#invoke:demoTemplate|in title| '''label '''}} | ||
| − | {{#invoke:demoTemplate|in title| | + | {{#invoke:demoTemplate|in title|bullet = 1|"Page name"}} |
| − | {{#invoke:demoTemplate|in title| | + | {{#invoke:demoTemplate|in title|bullet = true|"Page name"}} |
| − | {{#invoke:demoTemplate|in title| | + | {{#invoke:demoTemplate|in title|bullet = y|"Page name"}} |
| − | {{#invoke:demoTemplate|in title| | + | {{#invoke:demoTemplate|in title|bullet = yes|"Page name"}} |
=== Inline === | === Inline === | ||
| − | Pre {{in title | | + | Pre {{in title | bullet = false}} post. |
| − | Pre {{in title | | + | Pre {{in title | bullet = no| label test }} post. |
| + | |||
| + | === Substituted form === | ||
| + | pre {{subst:intitle/sandbox|bullet=no}} post | ||
| + | |||
| + | pre {{subst:intitle/sandbox|bullet=yes}} post | ||
Revision as of 06:06, 31 December 2015
| 42px | This is the template test cases page for the sandbox of Template:In 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
How it previews:
Bulleted item
{{in title/sandbox}} →
{{in title/sandbox| '''label '''}} →
{{in title/sandbox|"Page name"|bullet=1}} →
{{in title/sandbox|"Page name"|bullet=true}} →
{{in title/sandbox|"Page name"|bullet=y}} →
{{in title/sandbox|"Page name"|bullet=yes}} →
Inline
Pre post.
Pre post.
Here's how it previews: All pages with titles containing In title/testcases
Bulleted item
{{in title}} → All pages with titles containing In title/testcases
{{in title| '''label '''}} → All pages with titles containing label
{{in title|"Page name"|bullet=1}} → All pages with titles containing Page name
{{in title|"Page name"|bullet=true}} → All pages with titles containing Page name
{{in title|"Page name"|bullet=y}} → All pages with titles containing Page name
{{in title|"Page name"|bullet=yes}} → All pages with titles containing Page name
Inline
Pre All pages with titles containing In title/testcases post.
Pre All pages with titles containing label test post.
Substituted form
pre {{subst:intitle/sandbox|bullet=no}} post
pre {{subst:intitle/sandbox|bullet=yes}} post