Difference between revisions of "Template:Testcases notice"

From blackwiki
Jump to navigation Jump to search
test>Sardanaphalus
m ("When on user page" less cryptic)
test>Mr. Stradivarius
(revert to January 28, 2014, version; there's no need to make this so complicated)
Line 1: Line 1:
{{Ombox
+
{{ombox
| style = margin-top:0;padding-top:0;margin-bottom:1.5em;{{{style|}}}
+
| image = [[File:Gnome-applications-science.svg|42px]]
 +
| text =
 +
This is the [[Wikipedia:Template sandbox and test cases|template test cases]] page for the <noinclude>[[Template:Template test cases notice/sandbox|sandbox]]</noinclude><includeonly>[[{{{sandbox link|../{{{subpage-name|sandbox}}}}}}|{{{sandbox name|{{{subpage-name|sandbox}}}}}}]]</includeonly> of {{#if:{{{1|}}}|[[{{{1|}}}]]|[[:{{NAMESPACE}}:{{BASEPAGENAME}}]]}}. {{Purge|Purge this page}} to update the examples. <br> <small>If there are many examples of a complicated template, later ones may break due to [[Wikipedia:Template limits|limits in MediaWiki]], see the HTML comment "NewPP limit report" in the rendered page.
  
| image = <!--
+
You can also use [[Special:ExpandTemplates]] to examine the results of template uses.
    Generic icon (glassware) if inline purge-link indicated, otherwise purge box:
 
    -->{{#ifeq:{{{purge link|}}}{{{purgelink|}}}|inline |[[File:Gnome-applications-science.svg|42px|alt=|link=]]
 
        |  <div class="messagebox" style="font-size:85%;width:5.25em;margin:0 0.6em;line-height:1.15em;text-align:center;"><!--
 
            (image:)-->[[File:Crystal 128 reload.svg|center|32px|link={{fullurl:{{FULLPAGENAME}}|action=purge}}|Update testcases]]<!--
 
              (text:)--><div style="padding-top:0.25em;">{{purge|'''Update<br />testcases'''}}</div><!--
 
        --></div><!--
 
    -->}}
 
| text = '''This is the [[Wikipedia:Template sandbox and test cases|testcases]] page''' for <includeonly>{{#ifexist:{{{sandbox link|{{{sandboxlink|../{{{subpage-name|sandbox}}}}}}}}} |<!--then:-->[[<!--(link:)-->{{{sandbox link|{{{sandboxlink|../{{{subpage-name|sandbox}}}}}}}}}|<!--(label:)-->the {{{sandbox name|{{{sandboxname|{{{subpage-name|sandbox}}}}}}}}} of]]<!--end #ifexist:-->}}</includeonly><noinclude>[[Template:{{BASEPAGENAME}}/sandbox|the sandbox of]]</noinclude> {{#if:{{{1|}}} |[[{{{1|}}}]] |{{NAMESPACE}}:[[:{{NAMESPACE}}:{{BASEPAGENAME}}|'''{{BASEPAGENAME}}''']]}}.<br /><!--
 
  
    Purge link (if indicated) otherwise "To update...":
+
You can test how this page looks in the different skins with these links:</small>
    -->{{#ifeq:{{{purge link|}}}{{{purgelink|}}}|inline |'''{{purge|Purge this page}}''' to update the testcases. |To update the testcases, click the box to the left of this message.}}<!--
+
<div style="text-align:center;"><small>{{select skin}}</small></div>
 +
}}<includeonly>{{{category|[[Category:Template test cases|{{PAGENAME}}]]}}}</includeonly><noinclude>
  
    Collapsed "More info/options" section:
 
    --><div style="font-size:95%;"><!--(resizing applied via this div to ensure it affects -all- elements involved in the following hidden section:)
 
        -->{{Hidden begin |showhide=left |title=More information and options |bodystyle=border-top:1px solid #aaa;padding-top:0.25em;line-height:1.3em;padding-bottom:0.25em;border-bottom:1px solid #aaa;}} If there are many examples of a complicated template on this page, those toward the end of the page may malfunction due to [[Wikipedia:Template limits|MediaWiki limits]]. If this occurs, see the "NewPP limit report" [[HTML comment|comment]] added to the rendered page.
 
You can also use [[Special:ExpandTemplates]] to examine the results of template use.
 
[[Wikipedia:Skin|Skin]]s available in which to view this page: {{Select skin}}<!--
 
        -->{{Hidden end}}<!--
 
    --></div>
 
}}<!--(end Ombox)
 
 
      ToC (if indicated):
 
      If included, the ToC is floated over the righthand side of the messagebox above to (1) reduce how much further down the screen the page's content (testcases) might begin, while (2) satisfying accessibility by being the last element positioned before that content begins.
 
      -->{{#if:{{{toc|}}}{{{toclimit|}}} <!--
 
(then:)-->| <div style="position:relative;"><div style="position:absolute;top:0;right:0;"><div class="toclimit-{{{toclimit|{{{toc}}}}}}" style="position:relative;bottom:6.35em<!--(i.e. [Ombox's margin-bottom (1.5em)] plus [Ombox's approx height (including borders; ~5.6em)] minus [0.75em so any overlapping horizontal borders not too close])-->;"> __TOC__ </div></div></div><!--
 
(else:)-->| __NOTOC__ <!--
 
      -->}}<includeonly>{{When on user page | |{{{category|[[Category:Template test cases|{{PAGENAME}}]]}}} }}</includeonly><noinclude>
 
 
{{Documentation}}
 
{{Documentation}}
 +
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
</noinclude>
 
</noinclude>

Revision as of 07:52, 6 January 2015

Template documentation[create]