Template:Infobox guzmer card/doc: Difference between revisions
Appearance
Use example that uses more fields |
Use demo |
||
Line 21: | Line 21: | ||
== Example == | == Example == | ||
{{hatnote|The following markup is included '''only for illustration purposes'''. It is not intended to provide up-to-date information about [[Carl Edwards]] and should not be updated for the sake of '''truth'''.}} | {{hatnote|The following markup is included '''only for illustration purposes'''. It is not intended to provide up-to-date information about [[Carl Edwards]] and should not be updated for the sake of '''truth'''.}} | ||
{{Infobox guzmer card | {{demo|br=produces:|demo_kill_categories=yes | ||
|<nowiki>{{Infobox guzmer card | |||
| title = Carl Edwards | | title = Carl Edwards | ||
| image = Carl edwards card.jpg | | image = Carl edwards card.jpg | ||
Line 29: | Line 30: | ||
| reference = [[Wikipedia:Carl Edwards|Carl Edwards]] | | reference = [[Wikipedia:Carl Edwards|Carl Edwards]] | ||
}} | }} | ||
</nowiki>}} | |||
< | {{Clear}} | ||
{{ | |||
}} | |||
{{Reflist}} | {{Reflist}} | ||
{{Clear}} | {{Clear}} |
Latest revision as of 15:17, 16 November 2023
![]() | This is a documentation subpage for Template:Infobox guzmer card It may contain usage information, categories and other content that is not part of the original template page. |
![]() | This template uses Lua: |
Usage
The following is the base code required to generate an infobox. One can copy and paste the base code into an article and insert relevant information in front of the "=" signs. Removing HTML comments ("<!--", "-->" and anything between these two) is optional. To avoid accidental misuse, this base code does not have a handful of parameters that must be handled with absolute care and are not normally needed, such as {{{bodystyle}}}
.
{{{title}}} | |
---|---|
Guzmer Heads Up/Taboo Card | |
[[File:{{{image}}}|frameless|alt={{{alt}}}]] {{{caption}}} | |
Date created | {{{created}}} |
{{Infobox guzmer card
| title =
| image =
| alt =
| caption =
| designer =
| created = <!-- {{start date and age|YYYY|MM|DD}} -->
| generation = <!-- number -->
| reference =
}}
Example
{{Infobox guzmer card
| title = Carl Edwards
| image = Carl edwards card.jpg
| designer = [[Cory]]
| created = {{start date and age|2021|07|23}}
| generation = 2
| reference = [[Wikipedia:Carl Edwards|Carl Edwards]]
}}
produces:
Carl Edwards | |
---|---|
Guzmer Heads Up/Taboo Card | |
![]() | |
Designed by | Cory |
Date created | July 23, 2021 |
Generation | Gen 2 |
Reference | Carl Edwards |
Parameters
All parameters are optional.
- title
- Name of the infobox.
- Attention: Please do not include a wikilink, Wikipedia:hyperlink or image in this parameter. This parameter should be composed of pure text.
- image
- Image file name. Use only the file name such as abc.jpg, xyz.png, 123.gif, etc. Do not use syntax such as
[[File:abc.jpg]]or[[File:abc.jpg|200px]] - alt
- Alternative text of the image. Default alt text is provided.
- caption
- Caption of the image that appears below it. Should not be used to provide trivial captions, such as "This is the logo of X", which is automatically assumed. Reserved for special cases when a description beyond telling the obvious is needed, or for inserting {{ffdc}} or {{deletable image-caption}}.
- designer
- Who designed the card, if known.
- created
- The date the card was created, if known.
- The content of this field should look like the following:
{{Start date and age|year|month|day}}
- In case the article uses DMY as date format, use this code instead:
{{Start date and age|year|month|day|df=yes}}
- If you are unsure which date format to use, please consult Wikipedia:WP:MOSDATES.
- generation
- What generation the card belongs to. Provide a single integer.
- reference
- An external link to more information about the subject of the card.