Difference between revisions of "Template:Testcases notice"

From blackwiki
Jump to navigation Jump to search
test>Sardanaphalus
(When on user page)
test>Sardanaphalus
m (some code compression)
Line 2: Line 2:
 
  | style = margin-top:0;padding-top:0;margin-bottom:1.5em;{{{style|}}}
 
  | style = margin-top:0;padding-top:0;margin-bottom:1.5em;{{{style|}}}
  
  | image = <!------ Generic icon (glassware) otherwise purge box, depending whether inline purge-link (see below) indicated ------>
+
  | image = <!--
    {{#ifeq:{{{purge link|}}}{{{purgelink|}}}|inline |[[File:Gnome-applications-science.svg|42px|alt=|link=]]
+
    Generic icon (glassware) if inline purge-link indicated, otherwise purge box:
    |  <div class="messagebox" style="font-size:85%;width:5.25em;margin:0 0.6em;line-height:1.15em;text-align:center;"><!--
+
    -->{{#ifeq:{{{purge link|}}}{{{purgelink|}}}|inline |[[File:Gnome-applications-science.svg|42px|alt=|link=]]
          (image:)-->[[File:Crystal 128 reload.svg|center|32px|link={{fullurl:{{FULLPAGENAME}}|action=purge}}|Update testcases]]<!--
+
        |  <div class="messagebox" style="font-size:85%;width:5.25em;margin:0 0.6em;line-height:1.15em;text-align:center;"><!--
          (text:)--><div style="padding-top:0.25em;">{{purge|'''Update<br />testcases'''}}</div><!--
+
            (image:)-->[[File:Crystal 128 reload.svg|center|32px|link={{fullurl:{{FULLPAGENAME}}|action=purge}}|Update testcases]]<!--
      --></div> }}
+
              (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 /><!--
  
| text = '''This is the [[Wikipedia:Template sandbox and test cases|testcases]] page''' for <!--
+
     Purge link (if indicated) otherwise "To update...":
    --><includeonly><!--
 
        -->{{#ifexist:{{{sandbox link|{{{sandboxlink|../{{{subpage-name|sandbox}}}}}}}}}
 
            | [[{{{sandbox link|{{{sandboxlink|../{{{subpage-name|sandbox}}}}}}}}} | the {{{sandbox name|{{{sandboxname|{{{subpage-name|sandbox}}}}}}}}} of]]
 
          }}<!--
 
     --></includeonly><noinclude>[[Template:{{BASEPAGENAME}}/sandbox|the sandbox of]]</noinclude> <!--
 
    -->{{#if:{{{1|}}} |[[{{{1|}}}]] |{{NAMESPACE}}:[[:{{NAMESPACE}}:{{BASEPAGENAME}}|'''{{BASEPAGENAME}}''']]}}.<br /><!--
 
 
 
    ----------- Purge link (if indicated) otherwise "To update..." -----------
 
 
     -->{{#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.}}<!--
 
     -->{{#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.}}<!--
  
     ----------- Collapsed "More info/options" section -----------
+
     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:)
 
     --><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.
 
         -->{{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.
Line 29: Line 24:
 
}}<!--(end Ombox)
 
}}<!--(end Ombox)
  
----------- ToC (if indicated) -----------
+
      ToC (if indicated):
Note: The ToC, if included, 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 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|}}}
+
      -->{{#if:{{{toc|}}}{{{toclimit|}}} <!--
    |   <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>
+
(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><!--
    | __NOTOC__
+
(else:)-->| __NOTOC__ <!--
  }}<!--
+
      -->}}<includeonly>{{When on user page | |{{{category|[[Category:Template test cases|{{PAGENAME}}]]}}} }}</includeonly><noinclude>
 
 
--><includeonly>{{When on user page | |{{{category|[[Category:Template test cases|{{PAGENAME}}]]}}} }}</includeonly><noinclude>
 
 
{{Documentation}}
 
{{Documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 20:31, 2 December 2014

Template documentation[create]