Template Sandbox: Difference between revisions

From PirateCraft
(Added code exmaple for infobox)
(Updated how to use template)
 
Line 1: Line 1:
This page has been created to help build and test Templates that have been created/imported.
This page has been created to help build and test Templates that have been created/imported.


=== Infobox===
=== Player Infobox===
First template: [[Template:Infobox]]
Player template: [[Template:Infobox]]


How to use:<syntaxhighlight>
Copy the code below into a page to use, change as required.
 
It is vital that you use the UUID with hyphens in to populate the correct URL for stats and your skin.<syntaxhighlight>
{{Infobox
{{Infobox
|title = GodsDead
|title = GodsDead

Latest revision as of 15:47, 2 March 2023

This page has been created to help build and test Templates that have been created/imported.

Player Infobox[edit | edit source]

Player template: Template:Infobox

Copy the code below into a page to use, change as required.

It is vital that you use the UUID with hyphens in to populate the correct URL for stats and your skin.

{{Infobox
|title = GodsDead
|uuid = 93e8b4dc-672b-41c6-bb75-e68960d60184
|joined = Sep 2012
|rank = Admiral
|crew = [[Cove]]
|history = GodsDead
}}


GodsDead
93e8b4dc-672b-41c6-bb75-e68960d60184.png
UUID 93e8b4dc-672b-41c6-bb75-e68960d60184
Player stats GodsDead Stats Page
Joined Sep 2012
Rank Admiral
Crew Cove
Settlement {{{settlement}}}
History GodsDead
Punishments GodsDead Punishments
Website Profile GodsDead Website Profile