Template:PublishRaceResult: Difference between revisions

From Hacky Racers Wiki
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
== Documentation ==
== Documentation ==
This template is used to publish race results from and event page.
This template is used to publish race results from and event page. The stored event property is pulled from name of the event page calling the template.


=== Example ===
=== Example ===
To use this template, you would input each result as follows:
To use this template, you would input each result as follows:
<pre>
<pre>
{{PublishRaceResult|vehicle=ACDC|driver=Vince|position=1|class=Full Size - Piloted}}
{{PublishRaceResult|vehicle=ACDC|driver=Vince|position=1|class=00 - Full Size - Piloted}}
</pre>
</pre>
</noinclude>
</noinclude>


<includeonly>
{{#subobject:
{{#subobject:
  |Has vehicle={{{vehicle|}}}
  |Has vehicle={{{vehicle|}}}
Line 17: Line 18:
  |Event={{PAGENAME}}
  |Event={{PAGENAME}}
}}
}}
</includeonly>

Latest revision as of 21:42, 28 October 2024

Documentation

This template is used to publish race results from and event page. The stored event property is pulled from name of the event page calling the template.

Example

To use this template, you would input each result as follows:

{{PublishRaceResult|vehicle=ACDC|driver=Vince|position=1|class=00 - Full Size - Piloted}}