Difference between revisions of "Template:Dmbox/testcases"
Jump to navigation
Jump to search
m (1 revision) |
m (1 revision) |
||
Line 1: | Line 1: | ||
{{template test cases notice}} | |||
=== Testing the /sandbox template === | |||
/ | |||
=== Testing the main template === | |||
Some text. | |||
{{dmbox}} | |||
{{ | Some text. | ||
</ | {{dmbox | ||
| type = disambig | |||
| text = | |||
This [[Wikipedia:Disambiguation|disambiguation]] page lists articles associated with the same title. If an [{{fullurl:Special:Whatlinkshere/{{{page-title|{{FULLPAGENAME}}}}}|namespace=0}} internal link] led you here, you may wish to change the link to point directly to the intended article. | |||
}} | |||
Some text. | |||
{{dmbox | |||
| type = setindex | |||
| text = | |||
This [[Wikipedia:Disambiguation#Set index articles|set index article]] page lists articles on {{{1|the same topic}}} that share the same (or similar) name. If an [{{fullurl:Special:Whatlinkshere/{{{page-title|{{FULLPAGENAME}}}}}|namespace=0}} internal link] led you here, you may wish to change the link to point directly to the intended article. | |||
}} | |||
Some text. | |||
{{dmbox | |||
| type = setindex | |||
| image = [[Image:Schooner.svg|27px]][[Image:Disambig gray.svg|30px|Disambiguation notice]] | |||
| text = | |||
This article includes a [[Wikipedia:WikiProject Ships/Guidelines#Index pages|list of ships]] with the same or similar names. If an [[Special:Whatlinkshere/{{NAMESPACE}}:{{PAGENAME}}|internal link]] for a specific ship referred you to this page, you may wish to change the link to point directly to the intended ship article, if one exists. | |||
}} | |||
Some text. | |||
{{dmbox | |||
| type = setindex | |||
| image = [[Image:Three-Sisters-Alberta-cropped.jpg|80px]] | |||
| text = | |||
''This [[Wikipedia:Disambiguation#Set index articles|set index article]] lists articles about mountains with the same or similar names. If an [[Special:Whatlinkshere/{{NAMESPACE}}:{{PAGENAME}}|internal link]] referred you to this page, you may wish to change the link to point directly to the intended mountain article, if one exists.'' | |||
}} | |||
Some text. | |||
=== Testing the dmbox CSS classes === | |||
Hard-coded examples using only the dmbox CSS classes. (Note: This currently looks weird for most users since these classes have not been deployed yet.) | |||
<table id="disambig" class="metadata plainlinks dmbox dmbox-disambig"> | |||
<tr> | |||
<td class="mbox-image"> [[Image:Disambig gray.svg|30px]] | |||
<td class="mbox-text"> This [[Wikipedia:Disambiguation|disambiguation]] page lists articles associated with the same title. If an [{{fullurl:Special:Whatlinkshere/{{{page-title|{{FULLPAGENAME}}}}}|namespace=0}} internal link] led you here, you may wish to change the link to point directly to the intended article. | |||
</table> |
Latest revision as of 14:55, 3 February 2009
This is the template test case page for the Template:Dmbox/sandbox of Template:Dmbox. Purge this page to update the examples. If there are many examples of a complicated template, latter ones may break due to limits in MediaWiki, see the HTML comment "NewPP limit report" in the rendered page. You can test how this page looks in the different skins with these links: |
Testing the /sandbox template
Testing the main template
Some text.
{{{text}}} |
Some text.
This disambiguation page lists articles associated with the same title. If an internal link led you here, you may wish to change the link to point directly to the intended article. |
Some text.
This set index article page lists articles on the same topic that share the same (or similar) name. If an internal link led you here, you may wish to change the link to point directly to the intended article. |
Some text.
This article includes a list of ships with the same or similar names. If an internal link for a specific ship referred you to this page, you may wish to change the link to point directly to the intended ship article, if one exists. |
Some text.
This set index article lists articles about mountains with the same or similar names. If an internal link referred you to this page, you may wish to change the link to point directly to the intended mountain article, if one exists. |
Some text.
Testing the dmbox CSS classes
Hard-coded examples using only the dmbox CSS classes. (Note: This currently looks weird for most users since these classes have not been deployed yet.)
This disambiguation page lists articles associated with the same title. If an internal link led you here, you may wish to change the link to point directly to the intended article. |
Category:
- Template test cases