Template:Infobox occupation: Difference between revisions

From PZwiki
(Create template)
 
m (rm spaces)
 
Line 4: Line 4:
==Example==
==Example==
{{Infobox occupation
{{Infobox occupation
|name=Burglar
|name=Burglar
|icon=trait_burglar.png
|icon=trait_burglar.png
|effect=Can hotwire [[vehicles]]
|effect=Can hotwire [[vehicles]]
  |points_type=Negative
|points_type=Negative
|points=6
|points=6
}}
}}
<pre>{{Infobox occupation
<pre>{{Infobox occupation
|name=Burglar
|name=Burglar
|icon=trait_burglar.png
|icon=trait_burglar.png
|effect=Can hotwire [[vehicles]]
|effect=Can hotwire [[vehicles]]
  |points_type=Negative
|points_type=Negative
|points=6
|points=6
}}</pre>
}}</pre>


==Usage==
==Usage==
<pre>{{Infobox occupation
<pre>{{Infobox occupation
|name=
|name=
|icon=
|icon=
|hdicon=
|hdicon=
|icon2-10=
|icon2-10=
|hdicon2-10=
|hdicon2-10=
|effect=
|effect=
|points_type=
|points_type=
|points=
|points=
}}</pre>
}}</pre>



Latest revision as of 00:52, 22 April 2024

Notebook.pngTemplate Documentation

This template should be used on all occupation articles.

Example

Burglar
Burglar
General
Effect
Can hotwire vehicles
Points
-6
{{Infobox occupation
|name=Burglar
|icon=trait_burglar.png
|effect=Can hotwire [[vehicles]]
|points_type=Negative
|points=6
}}

Usage

{{Infobox occupation
|name=
|icon=
|hdicon=
|icon2-10=
|hdicon2-10=
|effect=
|points_type=
|points=
}}

How to translate

This template is translatable.

Template code

Paste the following code into the <includeonly> tag of the translated template and translate the text after each = sign (except for #default =).

{{#switch: {{{1|}}}
| general = General
| effect = Effect
| points = Points
| #default = {{Error|translation}}
}}

Template documentation

Copy the code wrapped in the <noinclude> tag in this template and translate the text after doc = in the {{Documentation}} template.

{{Translation guide}} template should be removed from the translated documentation.
Editors can experiment in this template's sandbox.