Difference between revisions of "Template:Book"

From The Kingkiller Chronicle Wiki
Jump to navigation Jump to search
(Created page with "<includeonly>{| class="rsw-infobox plainlinks" id="infobox-character" cellpadding="0" cellspacing="0" |- ! class="infobox-header" colspan=2 | '''{{PAGENAME}}''' |- | class="in...")
 
Line 1: Line 1:
<includeonly>{| class="rsw-infobox plainlinks" id="infobox-character" cellpadding="0" cellspacing="0"
+
<includeonly>
|-
+
<infobox layout="stacked">
! class="infobox-header" colspan=2 | '''{{PAGENAME}}'''
+
  <title source="title">
|-
+
    <default>'''{{PAGENAME}}'''</default>
| class="infobox-image" colspan="2" | {{#if:{{{image|}}}|{{{image}}}|[[Category:Needs image]][[Special:Upload|Please upload an image!]]}}
+
  </title>
|-
+
  <image source="image">
! class="infobox-header" colspan=2 | '''General information'''
+
    <caption source="caption"/>
|-
+
  </image>
! nowrap="nowrap" | Type
+
  <group>
| {{#if:{{{type|}}}|{{{type}}}|Unknown <small>[{{fullurl:{{FULLPAGENAME}}|action=edit}} edit]</small>}}
+
    <header>Genral information</header>
|-
+
    <data source="fullname">
! class="infobox-header" colspan=2 | '''Publication information'''
+
      <label>Full name</label>
|-
+
      <default>Unknown</default>
! nowrap="nowrap" | Publication date
+
    </data>
| {{#if:{{{publicationdate|}}}|{{{publicationdate}}}|Unknown <small>[{{fullurl:{{FULLPAGENAME}}|action=edit}} edit]</small>}}
+
    <data source="gender">
|-
+
      <label>Gender</label>
! nowrap="nowrap" | Published by
+
      <default>Unknown</default>
| {{#if:{{{publishedby|}}}|{{{publishedby}}}|Unknown <small>[{{fullurl:{{FULLPAGENAME}}|action=edit}} edit]</small>}}
+
    </data>
|-
+
    <data source="status">
| colspan="2" class="infobox-template-links" | [[Template:Book|Template]] {{*}} [[Template talk:Book|Talk page]]
+
      <label>Status</label>
|-
+
      <default>Unknown</default>
|}
+
    </data>
 +
  </group>
 +
  <group>
 +
    <header>Publication information</header>
 +
    <data source="eyecolor">
 +
      <label>Eye color</label>
 +
      <default>Unknown</default>
 +
    </data>
 +
    <data source="haircolor">
 +
      <label>Hair color</label>
 +
      <default>Unknown</default>
 +
    </data>
 +
  </group>
 +
  <group row-items="3">
 +
    <header>Chronology</header>
 +
    <data source="precededby">
 +
      <label>Preceded by</label>
 +
      <default>Unknown</default>
 +
    </data>
 +
    <data source="followedby">
 +
      <label>Followed by</label>
 +
      <default>Unknown</default>
 +
    </data>
 +
  </group>
 +
</infobox>
  
 
[[Category:The Kingkiller Chronicle]]</includeonly>
 
[[Category:The Kingkiller Chronicle]]</includeonly>

Revision as of 04:44, 25 December 2018