Difference between revisions of "Template:Infobox chess opening/doc"
Jump to navigation
Jump to search
imported>Zackmann08 |
imported>Zackmann08 (updating documentation) |
||
| Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
| − | {{ | + | {{Lua|Module:Infobox|Module:InfoboxImage}} |
| + | {{Parameter names example|_template=| image | caption | moves | ECO | birth | nameorigin | parentopening | AKA }} | ||
| + | |||
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> | <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> | ||
| − | ==Usage | + | ==Usage== |
| + | <pre style="overflow: auto;"> | ||
{{Infobox chess opening | {{Infobox chess opening | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
|openingname = {{PAGENAME}} | |openingname = {{PAGENAME}} | ||
|image = | |image = | ||
| Line 36: | Line 16: | ||
|parentopening = | |parentopening = | ||
|AKA = | |AKA = | ||
| − | }}</pre> | + | }} |
| + | </pre> | ||
| + | |||
*''openingname'' defaults to ''PAGENAME'' and can be left out | *''openingname'' defaults to ''PAGENAME'' and can be left out | ||
*''image'' should be used to display [[Template:Chess diagram]] | *''image'' should be used to display [[Template:Chess diagram]] | ||
| Line 50: | Line 32: | ||
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS --> | <!-- CATEGORIES AND INTERWIKIS HERE, THANKS --> | ||
[[Category:Chess infobox templates]] | [[Category:Chess infobox templates]] | ||
| − | |||
</includeonly> | </includeonly> | ||
Revision as of 02:10, 20 December 2016
| 40px | This is a documentation subpage for Template:Infobox chess opening. It contains usage information, categories and other content that is not part of the original template page. |
| 30px | This template uses Lua: |
Template:Parameter names example
Usage
{{Infobox chess opening
|openingname = {{PAGENAME}}
|image =
|moves =
|ECO =
|birth =
|nameorigin =
|parentopening =
|AKA =
}}
- openingname defaults to PAGENAME and can be left out
- image should be used to display Template:Chess diagram
- moves shows the distinguishing moves
- ECO is the code or codes of the opening in the Encyclopaedia of Chess Openings
- birth should specify the event where this opening was first used, or the first known documented mention of it.
- nameorigin specifies where the name comes from
- parentopening defines the hierarchical parent of this opening
- AKA provides alternative names for the opening