DevWiki Articles Unterschied: Vorlage:Person

Unterschied: Vorlage:Person

Aus DevWiki Articles
Markierungen: Zurückgesetzt 2017-Quelltext-Bearbeitung
Markierung: 2017-Quelltext-Bearbeitung
 
(92 dazwischenliegende Versionen von 2 Benutzern werden nicht angezeigt)
Zeile 1: Zeile 1:
<noinclude>
<noinclude>
Um eine Person zu erstellen wechsle zu der <span class="plainlinks">[https://dev.articles.biblewiki.one/view/Kategorie:Personen Kategorie Personen]</span>.
{{#template_params:
{{#template_params:
image
name
|name
|nameSource
|nameSource
|visibleNames
|visibleNamesSource
|invisibleNames
|singular
|singularSource
|description
|description
|descriptionSource
 
|image
|level
|gender
|gender
|believer
|believer
|believerSource
|believerSource
|level
 
|regions
|regionsSource
|groups
|groupsSource
|father
|fatherAge
|fatherSource
|mother
|motherSource
|children
|childrenSource
|relationships
|relationshipsType
|relationshipsSource
|proficiencies
|proficienciesSource
 
|dayBirth
|dayBirth
|monthBirth
|monthBirth
Zeile 16: Zeile 40:
|roughlyBirth
|roughlyBirth
|birthSource
|birthSource
|dayDeath
|dayDeath
|monthDeath
|monthDeath
Zeile 22: Zeile 47:
|roughlyDeath
|roughlyDeath
|deathSource
|deathSource
|father
 
|fatherSource
|mother
|motherSource
|children
|childrenSource
|proficiencies
|proficienciesSource
|dayProfStart
|dayProfStart
|monthProfStart
|monthProfStart
Zeile 36: Zeile 54:
|roughlyProfStart
|roughlyProfStart
|profStartSource
|profStartSource
|dayProfEnd
|dayProfEnd
|monthProfEnd
|monthProfEnd
Zeile 42: Zeile 61:
|roughlyProfEnd
|roughlyProfEnd
|profEndSource
|profEndSource
|groups
|groupsSource
|visibleNames
|visibleNamesSource
|invisibleNames
}}
}}


{{#cargo_declare:_table=person
{{#cargo_declare:_table=bwk_person
|name=String
|nameSource=List (/) of Page
|visibleNames=List (/) of Page
|visibleNamesSource=List (/) of Page
|invisibleNames=List (/) of Page
|singular=String
|singularSource=List (/) of Page
|description=Text
 
|status=String (allowed values=Unvollständig,Infobox vollständig,Artikel vollständig)
|statusBefore=String (allowed values=Unvollständig,Infobox vollständig,Artikel vollständig)
|image=String
|image=String
|name=String
|level=Rating
|nameSource=String
|description=String
|descriptionSource=String
|gender=String (allowed values=Mann,Frau)
|gender=String (allowed values=Mann,Frau)
|believer=String (allowed values=Ja,Nein)
|believer=String (allowed values=Ja,Nein)
|believerSource=String
|believerSource=List (/) of Page
|level=Page
 
|regions=List (/) of Page
|regionsSource=List (/) of Page
|groups=List (/) of Page
|groupsSource=List (/) of Page
|father=Page
|fatherAge=Integer
|fatherSource=List (/) of Page
|mother=Page
|motherSource=List (/) of Page
|children=List (/) of Page
|childrenSource=List (/) of Page
|relationships=List (/) of Page
|relationshipsType=List (/) of Page
|relationshipsSource=List (/) of Page
|proficiencies=List (/) of Page
|proficienciesSource=List (/) of Page
 
|dayBirth=Integer
|dayBirth=Integer
|monthBirth=Integer
|monthBirth=Integer
Zeile 64: Zeile 103:
|afterChristBirth=Boolean
|afterChristBirth=Boolean
|roughlyBirth=Integer
|roughlyBirth=Integer
|birthSource=String
|birthSource=List (/) of Page
 
|dayDeath=Integer
|dayDeath=Integer
|monthDeath=Integer
|monthDeath=Integer
Zeile 70: Zeile 110:
|afterChristDeath=Boolean
|afterChristDeath=Boolean
|roughlyDeath=Integer
|roughlyDeath=Integer
|deathSource=String
|deathSource=List (/) of Page
|father=Page
 
|fatherSource=String
|mother=Page
|motherSource=String
|children=Page
|childrenSource=String
|proficiencies=String
|proficienciesSource=String
|dayProfStart=Integer
|dayProfStart=Integer
|monthProfStart=Integer
|monthProfStart=Integer
Zeile 84: Zeile 117:
|afterChristProfStart=Boolean
|afterChristProfStart=Boolean
|roughlyProfStart=Integer
|roughlyProfStart=Integer
|profStartSource=String
|profStartSource=List (/) of Page
 
|dayProfEnd=Integer
|dayProfEnd=Integer
|monthProfEnd=Integer
|monthProfEnd=Integer
Zeile 90: Zeile 124:
|afterChristProfEnd=Boolean
|afterChristProfEnd=Boolean
|roughlyProfEnd=Integer
|roughlyProfEnd=Integer
|profEndSource=String
|profEndSource=List (/) of Page
|groups=Page
|groupsSource=String
|visibleNames=String
|visibleNamesSource=String
|invisibleNames=String
}}
}}
</noinclude><includeonly>
</noinclude><includeonly>
{{#cargo_store:_table=person}}
[[Category:Personen]]
{{#default_form:Person}}
{| class="infobox person"
{| class="infobox person"
| colspan="2" | {{InfoboxImage
| colspan="2" | {{InfoboxImage
Zeile 106: Zeile 134:
|believer={{{believer|}}}
|believer={{{believer|}}}
|believerSource={{{believerSource|}}}
|believerSource={{{believerSource|}}}
|status={{{status|}}}
}}
}}
|-
|-
| {{InfoboxField
| {{InfoboxField
|label=Name
|label=Name
|field={{{name|}}} {{#switch: {{{gender|}}}|Mann={{#fas:mars}}|Frau={{#fas:venus}}|}}
|field={{#switch:{{{gender|}}}|Mann={{#fas:male}}|Frau={{#fas:female}}|}} {{{name|}}}
|source={{{nameSource|}}}
|source={{{nameSource|}}}
|required=1
|required=1
Zeile 116: Zeile 145:
| {{InfoboxField
| {{InfoboxField
|label=Eindeutigkeit
|label=Eindeutigkeit
|field={{{description|}}}
|field={{{singular|}}}
|source={{{descriptionSource|}}}
|source={{{singularSource|}}}
|required=1
|required=1
}}
|-
| colspan="2" | {{InfoboxField
|label=Weitere Namen
|field={{#arraymap:{{{visibleNames|}}}|/|x|<span class="list-with-comma">x</span>|}}
|source={{#arraymap:{{{visibleNamesSource|}}}|/|x|x; |}}
}}
}}
|-
|-
Zeile 143: Zeile 178:
|label=Vater
|label=Vater
|field={{{father|}}}
|field={{{father|}}}
|field2={{#if:{{{fatherAge|}}}| {{{fatherAge|}}}J|}}
|source={{{fatherSource|}}}
|source={{{fatherSource|}}}
|link=1
|link=1
Zeile 155: Zeile 191:
| colspan="2" | {{InfoboxField
| colspan="2" | {{InfoboxField
|label=Kinder
|label=Kinder
|field={{{children|}}}
|field={{#arraymap:{{{children|}}}|/|y|[[y|{{#explode:y|,}}]]{{#related:y}}|}}
|source={{{childrenSource|}}}
|source={{#arraymap:{{{childrenSource|}}}|/|x|x; |}}
|link=1
|class=number
}}
|-
| colspan="2" | {{InfoboxField
|label=Menschengruppen
|field={{#arraymap:{{{groups|}}}|/|y|[[y|{{#explode:y|,}}]]{{#related:y}}|}}
|source={{#arraymap:{{{groupsSource|}}}|/|x|x; |}}
|class=number
}}
|-
| colspan="2" | {{InfoboxField
|label=Beziehungen
|field={{#arraymap:{{{relationships|}}}|/|y|[[y|{{#explode:y|,}}]]{{#related:y}}|}}
|field2={{#arraymap:{{{relationshipsType|}}}|/|x|<span class="table-right">x</span>|}}
|source={{#arraymap:{{{relationshipsSource|}}}|/|x|x; |}}
|class=number table
}}
|-
| colspan="2" | {{InfoboxField
|label=Wohnorte
|field={{#arraymap:{{{regions|}}}|/|y|[[y|{{#explode:y|,}}]]{{#related:y}}|}}
|source={{#arraymap:{{{regionsSource|}}}|/|x|x; |}}
|class=number
}}
}}
|-
|-
| colspan="2" | {{InfoboxField
| colspan="2" | {{InfoboxField
|label=Berufe
|label=Berufe
|field={{{proficiencies|}}}
|field={{#arraymap:{{{proficiencies|}}}|/|x|<span class="list-with-comma">x</span>|}}
|source={{{proficienciesSource|}}}
|source={{#arraymap:{{{proficienciesSource|}}}|/|x|x; |}}
}}
}}
|-
|-
| {{InfoboxFieldDate
| {{InfoboxFieldDate
|label=Start der Lebensaufgabe
|label=Start der Wirkungszeit
|year={{{yearProfStart|}}}
|year={{{yearProfStart|}}}
|month={{{monthProfStart|}}}
|month={{{monthProfStart|}}}
Zeile 176: Zeile 234:
}}
}}
| {{InfoboxFieldDate
| {{InfoboxFieldDate
|label=Ende der Lebensaufgabe
|label=Ende der Wirkungszeit
|year={{{yearProfEnd|}}}
|year={{{yearProfEnd|}}}
|month={{{monthProfEnd|}}}
|month={{{monthProfEnd|}}}
Zeile 183: Zeile 241:
|roughly={{{roughlyProfEnd|}}}
|roughly={{{roughlyProfEnd|}}}
|source={{{profEndSource|}}}
|source={{{profEndSource|}}}
}}
|-
| colspan="2" | {{InfoboxField
|label=Menschengruppen
|field={{{groups|}}}
|source={{{groupsSource|}}}
|link=1
}}
|-
| {{InfoboxField
|label=Weitere Namen
|field={{{visibleNames|}}}
|source={{{visibleNamesSource|}}}
}}
| {{InfoboxField
|label=Alternative Schreibweisen (unsichtbar)
|field={{{invisibleNames|}}}
}}
}}
|}
|}
{{#related:{{{father|}}}}}
<h3 class="hideExtractor">Kurzbeschreibung</h3>
{{#related:{{{mother|}}}}}
<p>{{#if:{{{nameSource|}}}|<span class="hidden">{{{nameSource|}}}</span>|}}{{#if:{{{nameSource|}}}|{{#if:{{{description|}}}|<span class="hidden"> - </span>|}}|}}{{#if:{{{description|}}}|{{{description|}}}|<p class="required hideExtractor">Eine Kurzbeschreibung muss gesetzt sein. <span class="plainlinks">[{{fullurl:{{FULLPAGENAME}}|action=formedit}} Klicke dazu hier]</span></p>}}</p>
[[Category:Personen]]
{{#cargo_store:_table=bwk_person}}
{{#default_form:Person}}
</includeonly>
</includeonly>
<noinclude>
<templatedata>
{
"params": {},
"description": "Bitte hier nichts anpassen. Klicke dafür auf \"Infobox bearbeiten\"."
}
</templatedata>
</noinclude>

Aktuelle Version vom 27. März 2024, 11:10 Uhr

Um eine Person zu erstellen wechsle zu der Kategorie Personen. Dies ist die Vorlage „Person“.

Sie hat die folgende Struktur:

{{Person
|name=
|nameSource=
|visibleNames=
|visibleNamesSource=
|invisibleNames=
|singular=
|singularSource=
|description=
|image=
|level=
|gender=
|believer=
|believerSource=
|regions=
|regionsSource=
|groups=
|groupsSource=
|father=
|fatherAge=
|fatherSource=
|mother=
|motherSource=
|children=
|childrenSource=
|relationships=
|relationshipsType=
|relationshipsSource=
|proficiencies=
|proficienciesSource=
|dayBirth=
|monthBirth=
|yearBirth=
|afterChristBirth=
|roughlyBirth=
|birthSource=
|dayDeath=
|monthDeath=
|yearDeath=
|afterChristDeath=
|roughlyDeath=
|deathSource=
|dayProfStart=
|monthProfStart=
|yearProfStart=
|afterChristProfStart=
|roughlyProfStart=
|profStartSource=
|dayProfEnd=
|monthProfEnd=
|yearProfEnd=
|afterChristProfEnd=
|roughlyProfEnd=
|profEndSource=
}}

Klick auf „Bearbeiten“, um den Quelltext der Vorlage anzusehen.

Diese Vorlage definiert die Tabelle „bwk_person“. Diese Tabelle wurde noch nicht erstellt.


Bitte hier nichts anpassen. Klicke dafür auf "Infobox bearbeiten".

Vorlagenparameter

ParameterBeschreibungTypStatus
Keine Parameter angegeben
Cookies helfen uns bei der Bereitstellung von DevWiki Articles. Durch die Nutzung von DevWiki Articles erklärst du dich damit einverstanden, dass wir Cookies speichern.