Template:Character: Difference between revisions

From Morrowind
Jump to navigation Jump to search
No edit summary
No edit summary
 
(28 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
{{#cargo_declare:
{{#template_params:Race (property=Race)|Location (property=Location)|Affiliation (property=Affiliation)|Shoptype (label=Shop types;property=Shoptype)|Money (property=Money)|Bartercategories (property=Bartercategories)|Trainingskills (property=Trainingskills)}}
_table=Characters
|name=Page
|shoptype=String
|money=Integer
}}
</noinclude>
</noinclude>


{{#cargo_store:
<includeonly>
_table=Characters
{| style="width: 30em; font-size: 90%; border: 1px solid #aaaaaa; background-color: #f9f9f9; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; text-align:left;"
|name={{{name|}}}
|shoptype={{{shoptype|}}}
|money={{{money|}}}
}}
 
<noinclude>
{{#template_params:Name (property=Name)|Race (property=Race)|Affiliation (property=Affiliation)|Shoptype (label=Shop types;property=Shoptype)|Money (property=Money)}}
</noinclude><includeonly>{| style="width: 30em; font-size: 90%; border: 1px solid #aaaaaa; background-color: #f9f9f9; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; text-align:left;"
! style="text-align: center; background-color:#ccccff;" colspan="2" |<span style="font-size: larger;">{{PAGENAME}}</span>
! style="text-align: center; background-color:#ccccff;" colspan="2" |<span style="font-size: larger;">{{PAGENAME}}</span>
|-
|-
! Name
! Race
| [[Name::{{{Name|}}}]]
| {{{Race|}}}
|-
|-
! Race
! Location
| [[Race::{{{Race|}}}]]
| {{{Location|}}}
|-
|-
! Affiliation
! Affiliation
| [[Affiliation::{{{Affiliation|}}}]]
| {{{Affiliation|}}}
|-
|-
! Shop types
! Shop types
| {{#arraymap:{{{Shoptype|}}}|,|x|[[Shoptype::{{#replace:x| |}}]]}}
| {{{Shoptype|}}}
|-
|-
! Money
! Money
| [[Money::{{{Money|}}}]]
| {{{Money|}}}
|-
! Training skills
| {{{Trainingskills|}}}
|-
|-
!  
! Barter categories
|{{#ask:[[Foaf:homepage::{{SUBJECTPAGENAME}}]]|format=list}}
| {{{Bartercategories|}}}
|}
|}
<div style="display:none">
[[Name::{{PAGENAME}}]]
[[Race::{{{Race|}}}]]
[[Location::{{{Location|}}}]]
[[Affiliation::{{{Affiliation|}}}]]
[[Shoptype::{{{Shoptype|}}}]]
[[Money::{{{Money|}}}]]
[[Trainingskills::{{{Trainingskills|}}}]]
[[Bartercategories::{{{Bartercategories|}}}]]
</div>


[[Category:Character]]
[[Category:Character]]
</includeonly>
</includeonly>
<div style="display:none">
[[Is a::Character]]
[[Race::{{{race|}}}]]
[[Gender::{{{gender|}}}]]
[[Occupation::{{{occupation|}}}]]
[[Location::{{{location|}}}]]
{{#arraymap:{{{shoptype|}}}|,|x|[[Shoptype::{{#replace:x| |}}]]}}
[[Shop money::{{{shop_money|}}}]]
</div>

Latest revision as of 11:55, 18 July 2025

This is the "Character" template.

It should be called in the following format:

{{Character
|Race=
|Location=
|Affiliation=
|Shoptype=
|Money=
|Bartercategories=
|Trainingskills=
}}

Edit the page to see the template text.