Template:Infobox Block: Difference between revisions

From PenguinMod Wiki
Jump to navigation Jump to search
Content added Content deleted
(Created page with "<infobox> <title source="title1"> <default>{{PAGENAME}}</default> </title> <image source="block"> <caption source="caption-block"/> </image> <data source="block_type"> <label>Block Type</label> </data> <data source="category"> <label>Category</label> </data> </infobox> <noinclude> Example usage: <pre> {{Blocks | title1=Example | block=Example | caption-block=Example | block_type=Example | category=Example }} </pre> <templat...")
 
No edit summary
 
(22 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{| class="wikitable"
<infobox>
! colspan="2" | {{{title|{{PAGENAME}}}}}
<title source="title1">
|-
<default>{{PAGENAME}}</default>
! colspan="2" {{#if: {{{block_name|}}}||style="display: none"}} | {{#tag: scratchblocks |{{{block_name|...}}}|version="3.0"}}
</title>
|-
<image source="block">
! colspan="2" {{#if: {{{block_img|}}}||style="display: none"}} | [[File:{{{block_img|No image.png}}}|200px]]
<caption source="caption-block"/>
|- {{#if: {{{caption-block_img|}}}||style="display: none"}}
</image>
| colspan="2" | <small>{{{caption-block_img|Caption}}}</small>
<data source="block_type">
|-
<label>Block Type</label>
! Block Type
</data>
| {{{block_type|Stack Block}}}
<data source="category">
|-
<label>Category</label>
! Category / Extension
</data>
| {{{category|Undefined}}}
</infobox>
|- {{#if: {{{status|}}}||style="display: none"}}
<noinclude>
! Status
Example usage:
| {{{status|Who tf uses status}}}
<pre>
|}
{{Blocks

| title1=Example

| block=Example

| caption-block=Example

| block_type=Example

| category=Example

}}
</pre>
<templatedata>
{"params":{"title1":{"suggested":true},"block":{"suggested":true},"caption-block":{"suggested":true},"block_type":{"suggested":true},"category":{"suggested":true}},"sets":[],"maps":{}}
</templatedata>
</noinclude>

Latest revision as of 09:32, 17 June 2024

Infobox Block
...
Caption
Block Type Stack Block
Category / Extension Undefined
Status Who tf uses status