Difference between revisions of "Template:Dmbox/testcases"

From Chevy Wiki
Jump to navigation Jump to search
m (1 revision)
 
m (1 revision)
 
Line 1: Line 1:
<div class="template-documentation"><!--
{{template test cases notice}}


These are the literal class definitions in common.css:
=== Testing the /sandbox template ===
/* For template documentation */
.template-documentation {
    clear: both;
    margin: 1em 0 0 0;
    border: 1px solid #aaa;
    background-color: #ecfcf4;
    padding: 5px;
}




-->{{#ifeq:{{{heading|μ}}}|<!--**DEFINED BUT EMPTY**-->
=== Testing the main template ===
  |<!--**NOTHING**-->
  |<div style="padding-bottom:3px; border-bottom: 1px solid #aaa; margin-bottom:1ex">{{#ifeq:{{{content|μ}}}|μ
  |<span class="editsection plainlinks" id="doc_editlinks">{{#ifexist: {{{1|{{Documentation/docname}}}}}
    |<!--**    /doc EXISTS**  -->[[{{fullurl:{{{1|{{Documentation/docname}}}}}|action=edit}} edit]]
    |<!--**/doc DOESN'T EXIST**-->[[{{fullurl:{{{1|{{Documentation/docname }}}}}|action=edit&preload=Template:Documentation/preload}} create]]
  }}</span>
  }} <span style="{{#if:{{{heading-style|}}}|{{{heading-style}}}|{{#ifeq:{{NAMESPACE}}|{{ns:template}}|font-weight: bold; font-size: 125%|font-size: 150%}}}}">{{#if:{{{heading|}}}|{{{heading}}}|{{#ifeq:{{NAMESPACE}}|{{ns:template}}|[[Image:Template-info.svg|50px]] Template documentation|Documentation}}}}</span></div>
}}<!--


--><div id="template_doc_page_transcluded" class="dablink plainlinks"><!--
Some text.
  -->{{#ifexist: {{{1|{{Documentation/docname}}}}}
  |<!--**/doc EXISTS**-->This [[Wikipedia:Template documentation|documentation]] is [[Wikipedia:Transclusion|transcluded]] from [[{{{1|{{Documentation/docname}}}}}]]. <small style="font-style: normal">([{{fullurl:{{{1|{{Documentation/docname}}}}}|action=edit}} edit] &#124; [{{fullurl:{{{1|{{Documentation/docname}}}}}|action=history}} history])</small><br />
}}<!--


-->{{#switch: {{SUBPAGENAME}}
{{dmbox}}
  |sandbox|testcases=<!--**DO NOT SHOW THESE LINKS ON THE SANDBOX/TESTCASES PAGES**-->
  |#default=
    {{#switch: {{SUBJECTSPACE}}
    |{{ns:template}}
    |{{ns:user}}=
      {{#ifexist: {{FULLPAGENAME}}/sandbox
      |This template has a [[/sandbox|sandbox]] <small style="font-style: normal">([{{fullurl:{{ #rel2abs: /sandbox }}|action=edit}} edit])</small> <!--
        -->{{#ifexist: {{FULLPAGENAME}}/testcases
        |and [[/testcases|testcases]] <small style="font-style: normal">([{{fullurl:{{ #rel2abs: /testcases }}|action=edit}} edit])</small>}} for editors to experiment.
      |{{#ifexist: {{FULLPAGENAME}}/testcases
        |This template has [[/testcases|testcases]] <small style="font-style: normal">([{{fullurl:{{ #rel2abs: /testcases }}|action=edit}} edit])</small> for editors to experiment.}}
}}}}}}
</div>
{{#if:{{{content|}}}|{{{content}}}|{{#ifexist:{{{1|{{Documentation/docname}}}}} | {{ {{{1|{{Documentation/docname}}}}} }} }}}}
<div style="clear: both;"></div>
</div><noinclude>


{{pp-template|small=yes}}
Some text.
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
</noinclude>
{{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

Testing the /sandbox template

Testing the main template

Some text.


Some text.


Some text.


Some text.


Some text.


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.)