Template:Cheatsheet-block: Difference between revisions

From Tygron Preview Support Wiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
 
(11 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><div class='cheatsheet-block'>
<includeonly><div class='cheatsheet-block-wrapper'><div class='cheatsheet-block {{#if: {{{type|generic}}}|type-{{{type|generic}}}|}}'><!--
{{#if: {{{title|}}}   | <span class='title'>    {{{title}}}             </span>  |}}
-->{{#if: {{{title|}}}       | <span class='title'>    {{{title}}}                                                                           </span> |}}<!--
{{#if: {{{datatype|}}} | <span class='datatype'>  {{{datatype}}}         </span> |}}
-->{{#if: {{{datatypelink|}}} | <span class='datatype'[[ {{{datatypelink}}} | {{#if:{{{datatype|}}}|{{{datatype}}}|{{{datatypelink|}}}}} ]] </span> |  <!--
{{#if: {{{text}}}     | <p class='text'>        {{{text}}}             </p>     |}}
-->    {{#if: {{{datatype|}}} | <span class='datatype'>  {{{datatype}}}                                                                       </span> |}}<!--
{{#if: {{{image}}}     |                          [[File:{{{image|}}}|]]           |}}
-->}}                                                                                                                                                    <!--
{{#if:{{{table|}}}     |                          {{{table}}}                     |}}
-->{{#if: {{{text}}}         | <p class='text'>        {{{text}}}                                                                           </p>   |}}<!--
</div>
-->{{#if: {{{image}}}         |                          [[ File:{{{image|}}} ]]                                                                     |}}<!--
</includeonly>
-->{{#if: {{{table|}}}       |                          {{{table}}}                                                                                   |}}<!--
--></div></div>
</includeonly><noinclude>
 
Parameters:
* Type: Type of block. Affects the type of coloring used
* Title: Title of the block
* Datatype: Right below the title, indicating what data is described here.
* Datatypelink: The page the datatype links to
* Text: Text-content to include in the block
* Image: Name of image to include in block
* Table: Table, terms, or other reference-info list to include in the block
 
Example:
{{cheatsheet-block
|title=Simulation modes
|type=parameters
|datatype=
|datatypelink=Water Overlay Wizard
|text=
|image=
|table=
  {{{!}}
  ! Mode !! Description
  {{!}}-
  {{!}} None              {{!}}{{!}}  No groundwater processes are simulated. Surface is impermeable.
  {{!}}-
  {{!}} Infiltration only {{!}}{{!}}  Only infiltration into the unsaturated zone is simulated.<br>Storage is defined by MAX_INFILTRATION_M.
  {{!}}-
  {{!}} Complete          {{!}}{{!}}  Complete simulation of infiltration, flow, and evaporation.
  {{!}}}
}}
 
</noinclude>

Latest revision as of 10:43, 14 March 2025


Parameters:

  • Type: Type of block. Affects the type of coloring used
  • Title: Title of the block
  • Datatype: Right below the title, indicating what data is described here.
  • Datatypelink: The page the datatype links to
  • Text: Text-content to include in the block
  • Image: Name of image to include in block
  • Table: Table, terms, or other reference-info list to include in the block

Example:

Simulation modes Water Overlay Wizard
Mode Description
None No groundwater processes are simulated. Surface is impermeable.
Infiltration only Only infiltration into the unsaturated zone is simulated.
Storage is defined by MAX_INFILTRATION_M.
Complete Complete simulation of infiltration, flow, and evaporation.