Template:CriminalRecord/doc: Difference between revisions

Template page
(Created page with "{{Documentation}} ==Source== <pre><nowiki>{{CriminalRecord |Date= |Status= |Reporter= |Context= }}</nowiki></pre> ==Usage== <templatedata> { "params": { "image": { "description": "Image from this character's line-up.", "type": "wiki-file-name", "suggested": true }, "DNAStatus": { "description": "Has the DNA/Fingerprints been taken?", "type": "string", "suggestedvalues": [ "Not on file", "On file" ], "default": "Not on file",...")
 
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Documentation}}
{{Documentation}}
This templates makes use of the sub-template [[Template:CriminalRecord/row|CriminalRecord/row]] for each incident the user wishes to add to the Incidents section of this template.


==Source==
==Source==
<pre><nowiki>{{CriminalRecord
<pre><nowiki>{{CriminalRecord
|Date=  
|image=  
|Status=  
|DNAStatus=  
|Reporter=
|Incidents=  
|Context=  
}}</nowiki></pre>
}}</nowiki></pre>


Line 29: Line 29:
},
},
"Incidents": {
"Incidents": {
"description": "Use CriminalRecord/row template for each incident as needed.",
"description": "Use [[CriminalRecord/row]] template for each incident as needed.",
"type": "wiki-template-name",
"type": "wiki-template-name",
"default": "{{CriminalRecord/row|Date= |Status= |Reporter= |Context= }}",
"default": "{{CriminalRecord/row|Date= |Status= |Reporter= |Context= }}",

Latest revision as of 01:16, 19 January 2023

This templates makes use of the sub-template CriminalRecord/row for each incident the user wishes to add to the Incidents section of this template.

Source

{{CriminalRecord
|image= 
|DNAStatus= 
|Incidents= 
}}

Usage

A template for use under the Criminal Records section of a character's profile.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
imageimage

Image from this character's line-up.

Filesuggested
DNAStatusDNAStatus

Has the DNA/Fingerprints been taken?

Suggested values
Not on file On file
Default
Not on file
Stringsuggested
IncidentsIncidents

Use [[CriminalRecord/row]] template for each incident as needed.

Default
{{CriminalRecord/row|Date= |Status= |Reporter= |Context= }}
Templatesuggested