Unterschied: Vorlage:Person
Aus DevWiki Articles
Ansichten
Aktionen
Namensräume
Varianten
Werkzeuge
Markierung: 2017-Quelltext-Bearbeitung |
Markierung: 2017-Quelltext-Bearbeitung |
||
(62 dazwischenliegende Versionen desselben Benutzers 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: | ||
name | name | ||
Zeile 16: | Zeile 17: | ||
|believerSource | |believerSource | ||
|regions | |||
|regionsSource | |||
|groups | |groups | ||
|groupsSource | |groupsSource | ||
Zeile 62: | Zeile 65: | ||
{{#cargo_declare:_table=bwk_person | {{#cargo_declare:_table=bwk_person | ||
|name=String | |name=String | ||
|nameSource=Page | |nameSource=List (/) of Page | ||
|visibleNames=List (/) of | |visibleNames=List (/) of Page | ||
|visibleNamesSource=List (/) of Page | |visibleNamesSource=List (/) of Page | ||
|invisibleNames=List (/) of | |invisibleNames=List (/) of Page | ||
|singular=String | |singular=String | ||
|singularSource=Page | |singularSource=List (/) of Page | ||
|description=Text | |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 | ||
|level=Rating | |level=Rating | ||
|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=Page | |believerSource=List (/) of Page | ||
|regions=List (/) of Page | |||
|regionsSource=List (/) of Page | |||
|groups=List (/) of Page | |groups=List (/) of Page | ||
|groupsSource=List (/) of Page | |groupsSource=List (/) of Page | ||
|father=Page | |father=Page | ||
|fatherAge=Integer | |fatherAge=Integer | ||
|fatherSource=Page | |fatherSource=List (/) of Page | ||
|mother=Page | |mother=Page | ||
|motherSource=Page | |motherSource=List (/) of Page | ||
|children=List (/) of Page | |children=List (/) of Page | ||
|childrenSource=List (/) of Page | |childrenSource=List (/) of Page | ||
Zeile 96: | Zeile 103: | ||
|afterChristBirth=Boolean | |afterChristBirth=Boolean | ||
|roughlyBirth=Integer | |roughlyBirth=Integer | ||
|birthSource=Page | |birthSource=List (/) of Page | ||
|dayDeath=Integer | |dayDeath=Integer | ||
Zeile 103: | Zeile 110: | ||
|afterChristDeath=Boolean | |afterChristDeath=Boolean | ||
|roughlyDeath=Integer | |roughlyDeath=Integer | ||
|deathSource=Page | |deathSource=List (/) of Page | ||
|dayProfStart=Integer | |dayProfStart=Integer | ||
Zeile 110: | Zeile 117: | ||
|afterChristProfStart=Boolean | |afterChristProfStart=Boolean | ||
|roughlyProfStart=Integer | |roughlyProfStart=Integer | ||
|profStartSource=Page | |profStartSource=List (/) of Page | ||
|dayProfEnd=Integer | |dayProfEnd=Integer | ||
Zeile 117: | Zeile 124: | ||
|afterChristProfEnd=Boolean | |afterChristProfEnd=Boolean | ||
|roughlyProfEnd=Integer | |roughlyProfEnd=Integer | ||
|profEndSource=Page | |profEndSource=List (/) of Page | ||
}} | }} | ||
</noinclude><includeonly> | </noinclude><includeonly> | ||
[[Category:Personen]] | |||
{| class="infobox person" | {| class="infobox person" | ||
| colspan="2" | {{InfoboxImage | | colspan="2" | {{InfoboxImage | ||
Zeile 127: | Zeile 134: | ||
|believer={{{believer|}}} | |believer={{{believer|}}} | ||
|believerSource={{{believerSource|}}} | |believerSource={{{believerSource|}}} | ||
|status={{{status|}}} | |||
}} | }} | ||
|- | |- | ||
| {{InfoboxField | | {{InfoboxField | ||
|label=Name | |label=Name | ||
|field= | |field={{#switch:{{{gender|}}}|Mann={{#fas:male}}|Frau={{#fas:female}}|}} {{{name|}}} | ||
|source={{{nameSource|}}} | |source={{{nameSource|}}} | ||
|required=1 | |required=1 | ||
Zeile 142: | Zeile 150: | ||
}} | }} | ||
|- | |- | ||
| {{InfoboxField | | colspan="2" | {{InfoboxField | ||
|label=Weitere Namen | |label=Weitere Namen | ||
|field={{#arraymap:{{{visibleNames|}}}|/|x| | |field={{#arraymap:{{{visibleNames|}}}|/|x|<span class="list-with-comma">x</span>|}} | ||
|source={{#arraymap:{{{visibleNamesSource|}}}|/|x|x; |}} | |source={{#arraymap:{{{visibleNamesSource|}}}|/|x|x; |}} | ||
}} | }} | ||
Zeile 183: | Zeile 191: | ||
| colspan="2" | {{InfoboxField | | colspan="2" | {{InfoboxField | ||
|label=Kinder | |label=Kinder | ||
|field={{#arraymap:{{{children|}}}|/| | |field={{#arraymap:{{{children|}}}|/|y|[[y|{{#explode:y|,}}]]{{#related:y}}|}} | ||
|source={{#arraymap:{{{childrenSource|}}}|/|x|x; |}} | |source={{#arraymap:{{{childrenSource|}}}|/|x|x; |}} | ||
|class=number | |class=number | ||
Zeile 190: | Zeile 198: | ||
| colspan="2" | {{InfoboxField | | colspan="2" | {{InfoboxField | ||
|label=Menschengruppen | |label=Menschengruppen | ||
|field={{#arraymap:{{{groups|}}}|/| | |field={{#arraymap:{{{groups|}}}|/|y|[[y|{{#explode:y|,}}]]{{#related:y}}|}} | ||
|source={{#arraymap:{{{groupsSource|}}}|/|x|x; |}} | |source={{#arraymap:{{{groupsSource|}}}|/|x|x; |}} | ||
|class=number | |class=number | ||
Zeile 197: | Zeile 205: | ||
| colspan="2" | {{InfoboxField | | colspan="2" | {{InfoboxField | ||
|label=Beziehungen | |label=Beziehungen | ||
|field={{#arraymap:{{{relationships|}}}|/| | |field={{#arraymap:{{{relationships|}}}|/|y|[[y|{{#explode:y|,}}]]{{#related:y}}|}} | ||
|field2={{#arraymap:{{{relationshipsType|}}}|/|x|x|}} | |field2={{#arraymap:{{{relationshipsType|}}}|/|x|<span class="table-right">x</span>|}} | ||
|source={{#arraymap:{{{relationshipsSource|}}}|/|x|x; |}} | |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 | |class=number | ||
}} | }} | ||
Zeile 205: | Zeile 220: | ||
| colspan="2" | {{InfoboxField | | colspan="2" | {{InfoboxField | ||
|label=Berufe | |label=Berufe | ||
|field={{#arraymap:{{{proficiencies|}}}|/|x|x|}} | |field={{#arraymap:{{{proficiencies|}}}|/|x|<span class="list-with-comma">x</span>|}} | ||
|source={{#arraymap:{{{proficienciesSource|}}}|/|x|x; |}} | |source={{#arraymap:{{{proficienciesSource|}}}|/|x|x; |}} | ||
}} | }} | ||
|- | |- | ||
Zeile 229: | Zeile 243: | ||
}} | }} | ||
|} | |} | ||
= | <h3 class="hideExtractor">Kurzbeschreibung</h3> | ||
< | <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> | ||
{{#cargo_store:_table=bwk_person}} | {{#cargo_store:_table=bwk_person}} | ||
{{#default_form:Person}} | {{#default_form:Person}} | ||
</includeonly> | </includeonly> | ||
<noinclude> | <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".
Parameter | Beschreibung | Typ | Status | |||
---|---|---|---|---|---|---|
Keine Parameter angegeben |