Difference between revisions of "Template:CMF Function"

From cluster wiki
Jump to navigation Jump to search
Line 118: Line 118:
<div style="padding:0.33em 2em;font-size:1.2em;font-weight:bold;display:block; border-bottom: #25A1A1 solid 1px; background-color:#E0FFFF;color:#25A1A1">Internal Variables</div>
<div style="padding:0.33em 2em;font-size:1.2em;font-weight:bold;display:block; border-bottom: #25A1A1 solid 1px; background-color:#E0FFFF;color:#25A1A1">Internal Variables</div>
<dl style="width:100%;">
<dl style="width:100%;">
{{#if:{{{v1|}}}{{{v2|}}}{{{v3|}}}{{{v4|}}}{{{v5|}}}{{{v6|}}}{{{v7|}}}{{{v8|}}}{{{v9|}}}{{{v10|}}}
{{#if:{{{var1|}}}{{{var2|}}}{{{var3|}}}{{{var4|}}}{{{var5|}}}{{{var6|}}}{{{var7|}}}{{{var8|}}}{{{var9|}}}{{{var10|}}}
|{{{!}} class="wikitable"
|{{{!}} class="wikitable"
! Locality !! Namespace !! Name !! Description
! Locality !! Namespace !! Name !! Description
Line 149: Line 149:
<div style="padding:0.33em 2em;font-size:1.2em;font-weight:bold;display:block; border-bottom: #25A1A1 solid 1px; background-color:#E0FFFF;color:#25A1A1">Events</div>
<div style="padding:0.33em 2em;font-size:1.2em;font-weight:bold;display:block; border-bottom: #25A1A1 solid 1px; background-color:#E0FFFF;color:#25A1A1">Events</div>
<dl style="width:100%;">
<dl style="width:100%;">
{{#if:{{{v1|}}}{{{v2|}}}{{{v3|}}}{{{v4|}}}{{{v5|}}}{{{v6|}}}{{{v7|}}}{{{v8|}}}{{{v9|}}}{{{v10|}}}
{{#if:{{{event1|}}}{{{event2|}}}{{{event3|}}}{{{event4|}}}{{{event5|}}}{{{event6|}}}{{{event7|}}}{{{event8|}}}{{{event9|}}}{{{event10|}}}
|{{{!}} class="wikitable"
|{{{!}} class="wikitable"
! Locality !! Name !! Description
! Locality !! Name !! Description
{{#if: {{{var1|}}}|{{!}}-
{{#if: {{{event1|}}}|{{!}}-
{{{var1|}}}}}
{{{event1|}}}}}
{{#if: {{{var2}}}|{{!}}-
{{#if: {{{event2}}}|{{!}}-
{{{var2|}}}}}
{{{event2|}}}}}
{{#if: {{{var3}}}|{{!}}-
{{#if: {{{event3}}}|{{!}}-
{{{var3|}}}}}
{{{event3|}}}}}
{{#if: {{{var4}}}|{{!}}-
{{#if: {{{event4}}}|{{!}}-
{{{var4|}}}}}
{{{event4|}}}}}
{{#if: {{{var5}}}|{{!}}-
{{#if: {{{event5}}}|{{!}}-
{{{var5|}}}}}
{{{event5|}}}}}
{{#if: {{{var6}}}|{{!}}-
{{#if: {{{event6}}}|{{!}}-
{{{var6|}}}}}
{{{event6|}}}}}
{{#if: {{{var7}}}|{{!}}-
{{#if: {{{event7}}}|{{!}}-
{{{var7|}}}}}
{{{event7|}}}}}
{{#if: {{{var8}}}|{{!}}-
{{#if: {{{event8}}}|{{!}}-
{{{var8|}}}}}
{{{event8|}}}}}
{{#if: {{{var9}}}|{{!}}-
{{#if: {{{event9}}}|{{!}}-
{{{var9|}}}}}
{{{event9|}}}}}
{{#if:{{{var10|}}}|{{!}}-
{{#if:{{{event10|}}}|{{!}}-
{{{var10}}}}}
{{{event10}}}}}
{{!}}}
{{!}}}
| <dt>Examples:</dt><dd>''No events''</dd>
| <dt>Examples:</dt><dd>''No events''</dd>

Revision as of 17:18, 5 November 2022


template for CMF function docs. (this description will be more fleshed out at a later date. for now just look at a function for an example on how to use it)