Template:Racer: Difference between revisions

From Hacky Racers Wiki
No edit summary
imported>Cstubbs
No edit summary
Line 1: Line 1:
<noinclude>
<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.
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 Racer Profile.


It should be called in the following format:
It should be called in the following format:
Line 15: Line 15:


</noinclude><includeonly>{| style="float: right; margin: 0 0 10px 10px; width: 269px; border-radius: 8px; background-color: #F9F9F9;border: 1px solid #AAAAAA;font-size: 95%;padding: 5px;"
</noinclude><includeonly>{| style="float: right; margin: 0 0 10px 10px; width: 269px; border-radius: 8px; background-color: #F9F9F9;border: 1px solid #AAAAAA;font-size: 95%;padding: 5px;"
! style="text-align: center; background-color:#5E93CE; color: white;" colspan="2" |<big>[[Name::Village:{{#explode:{{PAGENAME}}|:|1}}|{{#explode:{{PAGENAME}}|:|1}}]]</big>
! style="text-align: center; background-color:#5E93CE; color: white;" colspan="2" |<big>[[Name::Racer:{{#explode:{{PAGENAME}}|:|1}}|{{#explode:{{PAGENAME}}|:|1}}]]</big>
|-
|-
! colspan="2" |
! colspan="2" |
Line 31: Line 31:
|-
|-
!colspan="2"|[[Racers|View all Racer Profiles]]
!colspan="2"|[[Racers|View all Racer Profiles]]
|}{{#ifeq: {{{HideList|false}}}|true||{{inhabitants}}}}
 
[[Category:Racers]]
[[Category:Racers]]
</includeonly>
</includeonly>

Revision as of 22:00, 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 Racer Profile.

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>