Template:ModelDocumentationSizeTemplate: Difference between revisions

From IAMC-Documentation
Jump to navigation Jump to search
No edit summary
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 13: Line 13:
   -->{{ROOTPAGENAME:{{{1|}}} }} - {{{userparam|}}}<!--
   -->{{ROOTPAGENAME:{{{1|}}} }} - {{{userparam|}}}<!--
   -->|;|vDocPage<!--
   -->|;|vDocPage<!--
   -->|{{CategoryTemplate|{{{1|}}} }}<!--
   -->|{{CategoryTemplate|{{{1|}}} }}:<!--
   -->{{#ifexist:vDocPage<!--
   -->{{#ifexist:vDocPage<!--
     -->|[[vDocPage]], size = {{#expr:{{PAGESIZE:vDocPage|R}} - {{#len:vDocPage}} }} characters<!--
     -->|[[vDocPage]],<!--
      -->{{#arraymap:<!--
        -->{{#expr:{{PAGESIZE:vDocPage|R}} - {{#len:vDocPage}} }}<!--
        -->|;|vSize<!--
        -->|{{#ifexpr:vSize<200<!--
            -->|<span style="background-color:Orange"> size = vSize characters</span><!--
            -->|{{#ifexpr:vSize<1500<!--
              -->|<span style="background-color:Yellow"> size = vSize characters</span><!--
              -->|<span style="background-color:Green"> size = vSize characters</span><!--
            -->}}<!--
          -->}}<!--
  -->|}}<!--
     -->|[[vDocPage]]<!--
     -->|[[vDocPage]]<!--
   -->}} <!--
   -->}} <!--
-->|}}</includeonly>
-->|}}</includeonly>

Latest revision as of 08:44, 11 July 2018

This is the "ModelDocumentationSizeTemplate" template. It should be called in the following format:

{{ModelDocumentationSizeTemplate
|1 = category
|userparam = model
}}

Edit the page to see the template text.