Template:Book

From TextbookRevolution

(Difference between revisions)
Jump to: navigation, search
 
(30 intermediate revisions not shown)
Line 1: Line 1:
-
{{#arraymaptemplate:{{{flags|}|Flag|,| }}
+
{{#ifeq: {{#rpos:{{{flags|}}}|Review}} | -1 | | {{review}} }}{{#ifeq: {{#rpos:{{{flags|}}}|Dead Link}} | -1 | | {{deadlink}} }}{{#ifeq: {{{duplicate|z}}} | z | | {{duplicate|{{{duplicate}}} }} }}
-
{{#arraymaptemplate:{{{duplicate|}|Duplicate|,| }}
+
==Bibliographical Data==
-
{| cellpadding="2" cellspacing="0" style="border:1px solid #aaa; font-size:small; background:#f9f9f9;  margin:5px 0px 5px 5px;"
+
{{#Set: Book={{PAGENAME}} }}
-
|
+
{|
-
| style="font-size:large; text-align:center; background:#3b9fca; color:white; text-align:left;"|'''{{{title| }}}'''
+
|-  
 +
| '''Title:'''||{{{title| }}}
|-
|-
-
| style="text-align:center; background:#92c3d7; vtext-align:left;font-family: Ariel, helvetica;" |[[author::{{{author| }}}]]
+
| '''Author:'''||[[author::{{{author| }}}]]
|-
|-
-
| style="text-align:center; background:#e4f1f6; vtext-align:left;" |{{{url| }}}
+
| '''Subjects:'''||{{#arraymap:{{{subject|}}}|,|arrayval|[[subject::arrayval]]}}
|-
|-
-
| style="padding-top:0.5em; font-family:Times, serif;" | {{{description| }}}
+
| '''Key words:'''||{{#arraymap:{{{keywords|}}}|,|xargx|[[keywords::xargx]]}}
|-
|-
-
| style="text-align: left;" | '''Subject: ''' [[subject::{{{subject| }}}]]
+
| '''Education Level:'''||{{#arraymap:{{{edlevel|}}}|,|yargy|[[education level::yargy]]}}
|-
|-
-
| style="text-align: left;" | '''Key words: ''' {{#arraymap:{{{keywords|}}}|,|x|[[keywords::x]]}}
+
| '''License:'''||[[license::{{{license| }}}]]
|-
|-
-
| style="text-align: left;" | '''Education level: ''' {{#arraymap:{{{edlevel|}}}|,|y|[[education level::y]]}}
+
| '''Description:'''||{{{description| }}}
-
|-
+
|}
-
| style="text-align: left;" | '''Download: ''' {{{download|Not Provided}}}
+
 
 +
==Download==
 +
{|
 +
|-  
 +
| '''URL:'''||{{{url| }}}
|-
|-
-
| style="text-align: left;" | '''License: ''' [[license::{{{license| }}}]]
+
| '''Download link:'''||{{{download|Not Provided}}}
|}
|}
 +
{{#SET: Bookurl={{{url| }}} }}
 +
{{#SET: Download={{{url| }}} }}
<noinclude>
<noinclude>
Line 42: Line 49:
</noinclude>
</noinclude>
<includeonly>
<includeonly>
-
[[Special:EditData/Book/{{PAGENAME}}|Edit]] this page using the book editor.
+
{| style="border: 1px solid gray; border-collapse: collapse; background-color: lightgray;" align="left" width="100%"
-
<small>Flags: {{#arraymap:{{{flags|}}}|,|z|[[flags::z]]}}<br />
+
|<small>Flags: {{#arraymap:{{{flags|}}}|,|zargz|[[flags::zargz]]}}</small>
-
Duplicates: {{#arraymap:{{{duplicate|}}}|,|w|[[duplicate::w]]}}</small><br />
+
|-
-
[[Category:book]]
+
|<small>Duplicates: {{#arraymap:{{{duplicate|}}}|,|wargw|[[duplicate::wargw]]}}</small>
 +
|}
 +
[[Category:Book]]
 +
;
</includeonly>
</includeonly>

Current revision as of 12:24, 20 March 2018

Bibliographical Data

Title: 
Author: 
Subjects:
Key words:
Education Level:
License: 
Description: 

Download

URL: 
Download link:Not Provided



This is the 'book' template. It should be called in the following format:

{{book
|title=
|author=
|url=
|description=
|download=
|license=
|subject=
|edlevel=
|flags=
|duplicate=
}}

Edit the page to see the template text.