Difference between revisions of "Template:Infobox chess opening/doc"
Jump to navigation
Jump to search
imported>Zackmann08 |
imported>Vanisaac |
||
| (4 intermediate revisions by 2 users not shown) | |||
| 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]] | ||
*''moves'' shows the distinguishing moves | *''moves'' shows the distinguishing moves | ||
| − | *''ECO'' is the code or codes of the opening in the [[Encyclopaedia of Chess Openings]] | + | *''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. | *''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 | *''nameorigin'' specifies where the name comes from | ||
| Line 47: | Line 29: | ||
{{-}} | {{-}} | ||
| − | <includeonly> | + | <includeonly>{{Sandbox other|| |
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS --> | <!-- CATEGORIES AND INTERWIKIS HERE, THANKS --> | ||
[[Category:Chess infobox templates]] | [[Category:Chess infobox templates]] | ||
| − | + | }}</includeonly> | |
| − | </includeonly> | ||
Latest revision as of 18:16, 25 April 2020
| 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