Difference between revisions of "Template:ResearcherNotes"

From Jackpoint
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
<onlyinclude><includeonly>{{Template:TextBox
+
<onlyinclude>{{Template:TextBox
|headercolor=lavender
+
|headercolor={{#if: {{{spoken|}}} | #dbfade | lavender}}
|size=50em
+
|size=800px
 
|1={{{name|{{{1|<name>}}}}}}
 
|1={{{name|{{{1|<name>}}}}}}
 
|2=<center>'''{{{metatype|{{{2|<metatype>}}}}}}''' - {{{SIN|{{{3|<SIN>}}}}}}</center>
 
|2=<center>'''{{{metatype|{{{2|<metatype>}}}}}}''' - {{{SIN|{{{3|<SIN>}}}}}}</center>
* {{{position|<position>}}}
+
<table class="wikitable">
* {{{qualifications|<qualifications>}}}
+
<tr><td>{{{position|<position>}}}</td><td>{{{qualifications|<qualifications>}}}</td></tr>
 +
</table>
 
{{{notes|{{{4|<notes>}}}}}}
 
{{{notes|{{{4|<notes>}}}}}}
}}</includeonly></onlyinclude>
+
}}</onlyinclude>
  
 
== Usage ==
 
== Usage ==
Line 27: Line 28:
 
|qualifications=PhD
 
|qualifications=PhD
 
|notes=Will frag you over
 
|notes=Will frag you over
 +
}}
 +
Add a (non-empty) ''spoken'' flag to set the header colour to green;
 +
The first three parameters and the notes don't have to be named (though beware line break issues).
 +
<pre>
 +
{{Template:ResearcherNotes
 +
|Mr. Johnson|Human|MCT-0000-0000-00000
 +
|Will frag you over
 +
|position=Fixer
 +
|qualifications=PhD
 +
|spoken=1
 +
}}
 +
</pre>
 +
{{Template:ResearcherNotes
 +
|Mr. Johnson|Human|MCT-0000-0000-00000
 +
|Will frag you over
 +
|position=Fixer
 +
|qualifications=PhD
 +
|spoken=1
 
}}
 
}}

Latest revision as of 20:18, 24 July 2021

<name>
<metatype> - <SIN>
<position><qualifications>

<notes>

Usage

{{Template:ResearcherNotes
|name=
|metatype=
|SIN=
|position=
|qualifications=
|notes=
}}
Mr. Johnson
Human - MCT-0000-0000-00000
FixerPhD

Will frag you over

Add a (non-empty) spoken flag to set the header colour to green; The first three parameters and the notes don't have to be named (though beware line break issues).

{{Template:ResearcherNotes
|Mr. Johnson|Human|MCT-0000-0000-00000
|Will frag you over
|position=Fixer
|qualifications=PhD
|spoken=1
}}
Mr. Johnson
Human - MCT-0000-0000-00000
FixerPhD

Will frag you over