Template:infobox/documentation: Difference between revisions

From Laenkea
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
{{documentation subpage}}
{{documentation subpage}}
{{uses lua|Module:infobox}}
{{uses lua|Module:infobox}}
{{infobox|title=My infobox|Name|Peppa Pig|Species|Pig|-|Population|20,048}}
{{infobox|title=My infobox|image=[[File:Timmy the Aylesbury Duck.jpg|200px]]|Name|Peppa Pig|Species|Pig|-|Population|20,048}}


Creates a right-floating infobox with custom key-value pairs and, optionally, a title and image.
Creates a right-floating infobox with custom key-value pairs and, optionally, a title and image.
Line 7: Line 7:
==Usage==
==Usage==


  {{tempn|infobox|title=My infobox|Name|Peppa Pig|Species|Pig|-|Population|20,048}}
  {{tempn|infobox|title=My infobox|image=[[File:Timmy the Aylesbury Duck.jpg|200px]]|Name|Peppa Pig|Species|Pig|-|Population|20,048}}

Revision as of 21:39, 7 August 2023

Edit-copy green.svg Documentation for Template:infobox. [edit]
This page contains usage information, categories, interwiki links and other content describing the template.
My infobox
Timmy the Aylesbury Duck.jpg
Name Peppa Pig
Species Pig
Population 20,048

Creates a right-floating infobox with custom key-value pairs and, optionally, a title and image.

Usage

{{infobox|Name|Peppa Pig|Species|Pig|-|Population|20,048|image=Timmy the Aylesbury Duck.jpg|title=My infobox}}