Vorlage:Grid/doc
{{#vardefine: nodoc | {{{nodoc}}} }}{{#vardefine: baddoc | {{{baddoc}}} }}{{#if: | {{#ifeq: doc | doc | |
}} }}
{{#if: | }}{{#if: | }}
}}{{#if: | }}{{#if: | [[File:{{{image}}}|{{#if: | {{{imagesize}}} | {{#if: | 16px | 32px }} }}|text-top]] |
{{#if: Diskussion }} }}{{#if: Zum Gebrauch von Vorlagen siehe die Vorlagen-Hilfe | {{#if: Hinweis: | Zum Gebrauch von Vorlagen siehe die Vorlagen-Hilfe | Zum Gebrauch von Vorlagen siehe die Vorlagen-Hilfe }} }}
| Hinweis: | Hinweis: {{#if: |
The grid template is a singular grid cell, which has the ability to display any image (usually a block or item) that is uploaded as Grid {{{1}}}.png, within it.
Inhaltsverzeichnis
[Verbergen]Usage[Bearbeiten]
Put {{Grid|Name}}}
where you want the image.
You can also specify the vertical alignment of the text with the image.
Examples[Bearbeiten]
To display this image you would put:
{{Grid|Raw Porkchop}}
- which will result in
If no image is specified, the background will be added on its own, allowing you to do layouts like so:
{{Grid|TNT}}{{Grid|TNT}}{{Grid}}{{Grid}}{{Grid|TNT}}{{Grid|TNT}}<br /> {{Grid|TNT}}{{Grid|TNT}}{{Grid}}{{Grid}}{{Grid|TNT}}{{Grid|TNT}}<br /> {{Grid}}{{Grid}}{{Grid|TNT}}{{Grid|TNT}}{{Grid}}{{Grid}}<br /> {{Grid}}{{Grid|TNT}}{{Grid|TNT}}{{Grid|TNT}}{{Grid|TNT}}{{Grid}}<br /> {{Grid}}{{Grid|TNT}}{{Grid|TNT}}{{Grid|TNT}}{{Grid|TNT}}{{Grid}}<br /> {{Grid}}{{Grid|TNT}}{{Grid}}{{Grid}}{{Grid|TNT}}{{Grid}}
- which will result in
To align text to the middle on the same line as the image you would put: Smells like {{Grid|Raw Porkchop|middle}} in here!
- which will result in
To change the link from the image name put: {{Grid|Charcoal (Item)|link=Coal#Charcoal}}
- which will result in
If |link= is left blank, the link will be removed which in turn removes the title automatically added by links.
To re-add the title, put: {{Grid|Raw Porkchop|link=|title=Smelly Pork}}
- which will result in

Note that if a link is present, its title will override whatever title is specified.
Verfügbare Bilder[Bearbeiten]
Blöcke[Bearbeiten]
{{#if: Natürlich | ! colspan="12" style="background: #ccc;" | Natürlich |! [[{{{1}}}|{{{1}}}]] !! [[File:Grid {{{1}}}.png]] }} {{#if: | !! colspan="{{#expr: 12 - ({{{2}}} * 2) }}" {{#if: | rowspan="{{{rowspan}}}" }} | }} {{#if: | ! colspan="12" style="background: #ccc;" | {{{h}}} |! Bedrock !!




















































































Items[Bearbeiten]
{{#if: Werkstoffe | ! colspan="12" style="background: #ccc;" | Werkstoffe |! [[{{{1}}}|{{{1}}}]] !! [[File:Grid {{{1}}}.png]] }} {{#if: | !! colspan="{{#expr: 12 - ({{{2}}} * 2) }}" {{#if: | rowspan="{{{rowspan}}}" }} | }} {{#if: | ! colspan="12" style="background: #ccc;" | {{{h}}} |! Bone !!
























































































































Packe hochgeladene Bilder in die Kategorie:Grid Bilder.
Dies ist die Dokumentation und wird auf der Vorlagenseite eingebunden.
|Die obige Dokumentation ist unter Vorlage:Grid/doc/doc zu finden. (Bearbeiten | Versionsgeschichte)
}}