Template:ModelDocumentationSizeTemplate: Difference between revisions

From IAMC-Documentation
Jump to navigation Jump to search
No edit summary
No edit summary
 
(21 intermediate revisions by the same user not shown)
Line 9: Line 9:
</pre>
</pre>
Edit the page to see the template text.
Edit the page to see the template text.
</noinclude><includeonly>
</noinclude><includeonly><!--
{{{1|}}}: {{#show:{{ROOTPAGENAME:{{{1|}}} - {{{userparam|}}} }}
-->{{#arraymap:<!--
</includeonly>
  -->{{ROOTPAGENAME:{{{1|}}} }} - {{{userparam|}}}<!--
  -->|;|vDocPage<!--
  -->|{{CategoryTemplate|{{{1|}}} }}:<!--
  -->{{#ifexist:vDocPage<!--
    -->|[[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]]<!--
  -->}} <!--
-->|}}</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.