Difference between revisions of "Template:Book"

From Chaosdorf Wiki
Jump to navigation Jump to search
m (foo)
 
(31 intermediate revisions by 3 users not shown)
Line 1: Line 1:
* Subtitle: [[Has description::{{{description|}}}]]
+
<includeonly>{{infobox start
* Author: [[Has author::{{{author|}}}]]
+
|headercolor=#ffffff
* ISBN: [[Has ISBN::{{{isbn|}}}]]
+
|name={{PAGENAME}}
* Ownership: [[Has ownership::{{{ownership|}}}]]
+
|description={{{description|}}}
{{#if:{{{owner|}}}|* Owner: {{U|{{{owner|}}}}}}}
+
}}<!--
  
{{#if:{{{lent|}}}|'''Lent by:''' {{U|{{{lent|}}}}}[[Lent by::{{{lent|}}}| ]]}}
+
-->{{ifnotempty|{{{author|}}}     | {{infobox row | name=Autor    | value=[[Has author::{{{author|}}}]] }}}}<!--
{{#if:{{{lent|}}}| at {{{lent at|}}}}}
+
-->{{ifnotempty|{{{isbn|}}}       | {{infobox row | name=ISBN      | value=[[Has ISBN::{{{isbn|}}}]]     }}}}<!--
 +
-->{{ifnotempty|{{{owner|}}}       | {{infobox row | name=User      | value={{U|{{{owner|}}}}}           }}}}<!--
  
{{#formlink:form=book
+
-->{{ifnotempty|{{{ownership|}}}  | {{infobox row | name=Eigentum | value=[[Has ownership::{{{ownership|}}}| ]]<!--
  | target=Book:{{PAGENAME}}
+
  -->{{#switch: {{{ownership|}}}
  | link type=post button
+
  | private = <span style="color: red">privat</span>
  | link text=ausleihen
+
  | lent = <span style="color: orange">Leihgabe</span>
  | query string=Book[lent]={{REVISIONUSER}}&Book[lent at]=now
+
  | club = <span style="color: green">Club</span>
| namespace=Book
+
| <span style="color: red; font-weight: bold;">???</span>
}}
+
}}}}}}<!--
{{#formlink:form=book
+
 
| target=Book:{{PAGENAME}}
+
-->{{ifnotempty|{{{use|}}}         | {{infobox row | name=Benutzung | value=[[Usage condition::{{{use|}}}| ]]{{Usage condition|{{{use|}}}}} }}}}<!--
| link type=post button
+
 
| link text=zurückgeben
+
-->{{#ifeq: {{{has label|}}} |Yes || {{infobox row | name=Label    | value={{Wikilabel|Bitte ausdrucken|{{FULLPAGENAME}}}} }}}}<!--
| query string=Book[lent]=&Book[lent at]=now
+
 
| namespace=Book
+
-->
}}
+
|}<!--
 +
 
 +
-->[[May be lent::{{{may be lent|Yes}}}| ]]<!--
 +
-->{{#ifeq: {{{has label|}}} | Yes | [[Has label::Yes| ]] | [[Has label::No| ]] }}
 +
 
 +
{{#if:{{{lent|}}}|'''Ausgeliehen''' von {{U|{{{lent|}}}}}[[Lent by::{{{lent|}}}| ]]}} {{#if:{{{lent|}}}| am {{{lent at|}}}}}
 +
</includeonly>

Latest revision as of 21:35, 15 November 2018