Template:Cheatsheet-block: Difference between revisions

From Tygron Preview Support Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 4: Line 4:
{{#if: {{{text}}}      | <p class='text'>        {{{text}}}              </p>    |}}
{{#if: {{{text}}}      | <p class='text'>        {{{text}}}              </p>    |}}
{{#if: {{{image}}}    |                          [[File:{{{image|}}}|]]          |}}
{{#if: {{{image}}}    |                          [[File:{{{image|}}}|]]          |}}
{{#if:{{{table|}}}     |                          {{{table}}}                      |}}
{{#if: {{{table|}}}   |                          {{{table}}}                      |}}
</div>
</div>
</includeonly>
</includeonly><noinclude>
 
Parameters:
* Type: Type of block. Affects the type of coloring used
* Title: Title of the block
* Datype: Right below the title, indicating what data is described here.
* 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
 
</noinclude>

Revision as of 08:06, 14 March 2025


Parameters:

  • Type: Type of block. Affects the type of coloring used
  • Title: Title of the block
  • Datype: Right below the title, indicating what data is described here.
  • 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