WikiMap Help TI3WikiMap
From TI3Wiki.org
| Main | Adding WikiMap to your PBeM | WikiMap Settings | Tiles | Spaceships | Custom Images | edit |
| Example Map | Include Page | Command Counters | Planets | Units | Redirect Images | |
| Version/FAQ | Leaders | Flags | Tokens | Tutorials | Image URL Scheme |
Contents |
TI3WikiMap Template
Edit your map page and change the content below {{PBeM_Links...}} to:
{{#TI3WikiMap:
PBeM_Name=<pbem>
|Width=#
|Height=#
|ShowNumbers=<1 or 0>
|ScaleLinks=<1 or 0>
|BrowserWarning=<1,0>
|PageExistsXYLinks=<1,0>
|PageMissingXYLinks=<1,0>
|TileImageLinks=<1,0>
|HelpIncludeLinks=<1,0>
|Scale=0.25}}
Note: {{WikiMap}} template is deprecated and only supports the ShowNumbers settings. To fix this, simply change WikiMap to #TI3WikiMap:
Parameters
PBeM_Name (Default)
Required. The name of the pbem excluding the trailing _PBeM. (For Quirk_PBeM, PBeM_Name=Quirk)
Note: This parameter is default. Any unnamed parameter will be assigned to this value.
Example: {{#TI3WikiMap:Quirk}}; "Quirk" is assigned to default parameter PBeM_Name.
Width/Height
Required. Any value of width or height can be set. For a standard map set width and height to 7.
ShowNumbers
Optional. Defaults to 1. Set to 0 to suppress ALL X,Y links
ScaleLinks
Optional. Defaults to 1. Set to 0 to remove the 25%, 50% and 100% link table at the top of the wikimap.
BrowserWarning
Optional. Defaults to 1. Set to 0 to remove the warning that the wikimap is not displayed correctly in older browsers.
PageExistsXYLinks
Optional. Defaults to 1. Set to 0 to disable X,Y links on pages (tiles) that have been created
PageMissingXYLinks
Optional. Defaults to 1. Set to 0 to disable X,Y links on pages (tiles) that have NOT been created (black space)
TileImageLinks
Optional. Defaults to 1. Set to 0 to remove the clickable link to view only that tile.
HelpIncludeLinks
Optional. Defaults to 1. Set to 0 to turn the Include and Help navigation links.
Scale
Required. Sets the scale for the map. Valid values are 0.25 (25%),0.5 (50%) and 1 (100%).
SaveMap
Optional. Defaults to 0. Creates a special version of map without edit links for saving the map state in another wiki page. Should be combined with subst:
{{subst:#TI3WikiMap:
|PBeM_Name=<pbem>
|Width=<#>
|Height=<#>
|ShowNumbers=<1 or 0>
|Scale=<0.25, 0.5, 1>
|SaveMap=1
}}
This will create a permanent non-editable version of the wikimap on the page that it is entered on. The above wikimap template will be replaced with the code for the map.
Details
WikiMap creates an additional link table above the map with 25%, 50% and 100% links. The 50% and 100% links will initially be red (not created yet).
To create these, copy the text of your current map page, click on the red link, paste the text in and finally change the |Scale= setting to .5 for 50% or 1 for 100%.
See Example_PBeM_Map for an example

