Template:Racer: Difference between revisions

From Hacky Racers Wiki
imported>Cstubbs
Created page with "<noinclude> This is the "Racer" template. The easiest way to use this template is to visit the Racers page and use the form to create a village. It should be called in the following format: <pre> {{Racer |Description= |Contact= |WebAddress= |Activities= |Location= }} </pre> To not include the list of team members, add |HideList=true before the }} </noinclude><includeonly>{| style="float: right; margin: 0 0 10px 10px; width: 269px; border-radius: 8px; background-col..."
No edit summary
Line 22: Line 22:
|-
|-
! Description
! Description
| [[Description::{{{Description|}}}|]] {{{Description|}}}
| {{{Description|}}}
|-
|-
! Contact
! Contact
Line 33: Line 33:
! Activities
! Activities
| [[Activities::{{{Activities|}}}|]]{{{Activities|}}}
| [[Activities::{{{Activities|}}}|]]{{{Activities|}}}
{{#ifeq:|{{{Location|}}}||
{{!}}-
{{#if:{{{Location|}}}|[[Location::{{{Location}}}|]][[MapFix::{{{Location}}}~{{#explode:{{PAGENAME}}|:|1}}~{{{Description}}}~{{#ifeq:{{ImageExists|Racer-{{#explode:{{PAGENAME}}|:|1}}}}|1|{{GetImageFilename|Racer-{{#explode:{{PAGENAME}}|:|1}}}}|EMF-blue.png}}|]]|}}
! colspan="2"{{!}} {{#display_map:{{{Location}}}~{{#explode:{{PAGENAME}}|:|1}}~{{{Description}}}~{{#ifeq:{{ImageExists|Racer-{{#explode:{{PAGENAME}}|:|1}}}}|1|{{GetImageFilename|Racer-{{#explode:{{PAGENAME}}|:|1}}}}|EMF-blue.png}}|width=300|height=300|service=openlayers|zoom=18}} }}
|-
|-
!colspan="2"|[[Racers|View all Racers]]
!colspan="2"|[[Racers|View all Racers]]

Revision as of 21:51, 7 June 2023

This is the "Racer" template. The easiest way to use this template is to visit the Racers page and use the form to create a village.

It should be called in the following format:

{{Racer
|Description=
|Contact=
|WebAddress=
|Activities=
|Location=
}}

To not include the list of team members, add |HideList=true before the }}


<templatedata> { "params": { "Description": { "description": "A brief description of the Racer", "type": "string", "suggested": true }, "Contact": { "description": "User to contact about the Racer", "type": "wiki-user-name", "suggested": true }, "WebAddress": { "description": "A URL to more info about the Racer", "example": "https://example.com", "type": "url", "suggested": true }, "Activities": {}, "Location": {}, "HideList": {} }, "description": "Used to annotate Racers", "format": "block" } </templatedata>