Template:Example infobox 1/doc

From Support Wiki
Jump to navigation Jump to search

This is an example template using the PortableInfobox extension. It demonstrates basic header use.

Copyable code

{{Example infobox 1
|title=
|image=
|data1=
|data2=
}}

Example

{{Example infobox 1
|title=Dragon
|image=Cargo-sample-dragon.png
|data1=Breathes fire
|data2=Is green
}}

Example with image gallery

Please note, if you want to store your images in Cargo, you will need to use something like #arraymap in your infobox code and write |image=Cargo-sample-dragon.png,Cargo-sample-invisible.png,Cargo-sample-vampire.png.

{{Example infobox 1
|title=Dragon
|image=<gallery>
Cargo-sample-dragon.png|Dragon
Cargo-sample-invisible.png|Invisible Boy
Cargo-sample-vlad.png|Vampire
</gallery>
|data1=Breathes fire
|data2=Is green
}}