Module:Infobox/doc: Difference between revisions

Add a short explanation of version1, version2, default_version
(add local p = {})
(Add a short explanation of version1, version2, default_version)
Line 94:
| 1000
| Value formatted to be saved as an SMW property
|}
 
=== Special params ===
These parameters are handled specially by the module:
{| class="wikitable"
! param
! explanation
|-
| version1, version2, version3
| Button label and SMW name for each switch version of the infobox
|-
| default_version
| The default version to display when the page is loaded
|-
| version
| If there is only a single version, you can use version to set the SMW name (default SMW name is "DEFAULT")
|}