DevWiki Articles Unterschied: Vorlage:Zeitepoche

Unterschied: Vorlage:Zeitepoche

Aus DevWiki Articles
(Die Seite wurde neu angelegt: „<noinclude> {{#template_params: image |name |nameSource |description |descriptionSource }} {{#cargo_declare:_table=bwk_epoch |image=String |name=String |nameS…“)
Markierung: 2017-Quelltext-Bearbeitung
 
Markierung: 2017-Quelltext-Bearbeitung
Zeile 1: Zeile 1:
<noinclude>
<noinclude>
Um eine Zeitepoche zu erstellen wechsle zu der [https://dev.articles.biblewiki.one/view/Kategorie:Zeitepochen Kategorie Zeitepochen].
{{#template_params:
{{#template_params:
image
name
|name
|nameSource
|nameSource
|visibleNames
|visibleNamesSource
|invisibleNames
|singular
|singularSource
|description
|description
|descriptionSource
 
|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
}}
}}


{{#cargo_declare:_table=bwk_epoch
{{#cargo_declare:_table=bwk_epoch
|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
|image=String
|image=String
|name=String
|level=Rating
|nameSource=String
|gender=String (allowed values=Mann,Frau)
|description=String
|believer=String (allowed values=Ja,Nein)
|descriptionSource=String
|believerSource=List (/) of 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
|monthBirth=Integer
|yearBirth=Integer
|afterChristBirth=Boolean
|roughlyBirth=Integer
|birthSource=List (/) of Page
 
|dayDeath=Integer
|monthDeath=Integer
|yearDeath=Integer
|afterChristDeath=Boolean
|roughlyDeath=Integer
|deathSource=List (/) of Page
 
|dayProfStart=Integer
|monthProfStart=Integer
|yearProfStart=Integer
|afterChristProfStart=Boolean
|roughlyProfStart=Integer
|profStartSource=List (/) of Page
 
|dayProfEnd=Integer
|monthProfEnd=Integer
|yearProfEnd=Integer
|afterChristProfEnd=Boolean
|roughlyProfEnd=Integer
|profEndSource=List (/) of Page
}}
}}
</noinclude><includeonly>
</noinclude><includeonly>
{{#cargo_store:_table=bwk_epoch}}
{{#default_form:Zeitepochen}}
{| class="infobox epoch"
{| class="infobox epoch"
| colspan="2" | {{InfoboxImage
| colspan="2" | {{InfoboxImage
|image={{{image|}}}
|image={{{image|}}}
|level={{{level|}}}
|believer={{{believer|}}}
|believerSource={{{believerSource|}}}
}}
}}
|-
|-
| {{InfoboxField
| {{InfoboxField
|label=Name
|label=Name
|field={{{name|}}}
|field={{{name|}}} {{#switch:{{{gender|}}}|Mann={{#fas:mars}}|Frau={{#fas:venus}}|}}
|source={{{nameSource|}}}
|source={{{nameSource|}}}
|required=1
|required=1
Zeile 31: Zeile 141:
| {{InfoboxField
| {{InfoboxField
|label=Eindeutigkeit
|label=Eindeutigkeit
|field={{{description|}}}
|field={{{singular|}}}
|source={{{descriptionSource|}}}
|source={{{singularSource|}}}
|required=1
|required=1
}}
|-
| {{InfoboxField
|label=Weitere Namen
|field={{#arraymap:{{{visibleNames|}}}|/|x|[[x]]|}}
|source={{#arraymap:{{{visibleNamesSource|}}}|/|x|x; |}}
}}
|-
| {{InfoboxFieldDate
|label=Geburt
|year={{{yearBirth|}}}
|month={{{monthBirth|}}}
|day={{{dayBirth|}}}
|afterChrist={{{afterChristBirth|}}}
|roughly={{{roughlyBirth|}}}
|source={{{birthSource|}}}
}}
| {{InfoboxFieldDate
|label=Tod
|year={{{yearDeath|}}}
|month={{{monthDeath|}}}
|day={{{dayDeath|}}}
|afterChrist={{{afterChristDeath|}}}
|roughly={{{roughlyDeath|}}}
|source={{{deathSource|}}}
}}
|-
| {{InfoboxField
|label=Vater
|field={{{father|}}}
|field2={{#if:{{{fatherAge|}}}| {{{fatherAge|}}}J|}}
|source={{{fatherSource|}}}
|link=1
}}
| {{InfoboxField
|label=Mutter
|field={{{mother|}}}
|source={{{motherSource|}}}
|link=1
}}
|-
| colspan="2" | {{InfoboxField
|label=Kinder
|field={{#arraymap:{{{children|}}}|/|x|[[x]]{{#related:x}}|}}
|source={{#arraymap:{{{childrenSource|}}}|/|x|x; |}}
|class=number
}}
|-
| colspan="2" | {{InfoboxField
|label=Menschengruppen
|field={{#arraymap:{{{groups|}}}|/|x|[[x]]{{#related:x}}|}}
|source={{#arraymap:{{{groupsSource|}}}|/|x|x; |}}
|class=number
}}
|-
| colspan="2" | {{InfoboxField
|label=Beziehungen
|field={{#arraymap:{{{relationships|}}}|/|x|[[x]]{{#related:x}}|}}
|field2=<br>{{#arraymap:{{{relationshipsType|}}}|/|x|<span class="list-with-comma">x</span>|}}
|source={{#arraymap:{{{relationshipsSource|}}}|/|x|x; |}}
|class=number
}}
|-
| colspan="2" | {{InfoboxField
|label=Wohnorte
|field={{#arraymap:{{{regions|}}}|/|x|[[x]]{{#related:x}}|}}
|source={{#arraymap:{{{regionsSource|}}}|/|x|x; |}}
|class=number
}}
|-
| colspan="2" | {{InfoboxField
|label=Berufe
|field={{#arraymap:{{{proficiencies|}}}|/|x|<span class="list-with-comma">x</span>|}}
|source={{#arraymap:{{{proficienciesSource|}}}|/|x|x; |}}
}}
|-
| {{InfoboxFieldDate
|label=Start der Wirkungszeit
|year={{{yearProfStart|}}}
|month={{{monthProfStart|}}}
|day={{{dayProfStart|}}}
|afterChrist={{{afterChristProfStart|}}}
|roughly={{{roughlyProfStart|}}}
|source={{{profStartSource|}}}
}}
| {{InfoboxFieldDate
|label=Ende der Wirkungszeit
|year={{{yearProfEnd|}}}
|month={{{monthProfEnd|}}}
|day={{{dayProfEnd|}}}
|afterChrist={{{afterChristProfEnd|}}}
|roughly={{{roughlyProfEnd|}}}
|source={{{profEndSource|}}}
}}
}}
|}
|}
[[Category:Zeitepochen]]
=== Kurzbeschreibung ===
<p>{{#if:{{{description|}}}|{{{description|}}}|<p class="required">Ein Kurzbeschreibung muss gesetzt sein, wechsle dafür auch "Infobox bearbeiten".</p>}}</p>
{{#cargo_store:_table=bwk_epoch}}
{{#default_form:Zeitepochen}}
[[Category:Personen]]
</includeonly>
</includeonly>
<noinclude>
<templatedata>
{
"params": {},
"description": "Bitte hier nichts anpassen. Klicke dafür auf \"Infobox bearbeiten\"."
}
</templatedata>
</noinclude>

Version vom 16. September 2021, 15:25 Uhr

Um eine Zeitepoche zu erstellen wechsle zu der Kategorie Zeitepochen. Dies ist die Vorlage „Zeitepoche“.

Sie hat die folgende Struktur:

{{Zeitepoche
|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_epoch“. 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.