Template:Book

From TextbookRevolution

(Difference between revisions)
Jump to: navigation, search
(New page: <noinclude> This is the 'book' template. It should be called in the following format: <pre> {{book |title= |author= |url= |description= }} </pre> Edit the page to see the template text. </...)
 
(94 intermediate revisions not shown)
Line 1: Line 1:
 +
{{#ifeq: {{#rpos:{{{flags|}}}|Review}} | -1 | | {{review}} }}{{#ifeq: {{#rpos:{{{flags|}}}|Dead Link}} | -1 | | {{deadlink}} }}{{#ifeq: {{{duplicate|z}}} | z | | {{duplicate|{{{duplicate}}} }} }}
 +
==Bibliographical Data==
 +
{{#Set: Book={{PAGENAME}} }}
 +
{|
 +
|-
 +
| '''Title:'''||{{{title|&nbsp;}}}
 +
|-
 +
| '''Author:'''||[[author::{{{author|&nbsp;}}}]]
 +
|-
 +
| '''Subjects:'''||{{#arraymap:{{{subject|}}}|,|arrayval|[[subject::arrayval]]}}
 +
|-
 +
| '''Key words:'''||{{#arraymap:{{{keywords|}}}|,|xargx|[[keywords::xargx]]}}
 +
|-
 +
| '''Education Level:'''||{{#arraymap:{{{edlevel|}}}|,|yargy|[[education level::yargy]]}}
 +
|-
 +
| '''License:'''||[[license::{{{license|&nbsp;}}}]]
 +
|-
 +
| '''Description:'''||{{{description|&nbsp;}}}
 +
|}
 +
 +
==Download==
 +
{|
 +
|-
 +
| '''URL:'''||{{{url|&nbsp;}}}
 +
|-
 +
| '''Download link:'''||{{{download|Not Provided}}}
 +
|}
 +
{{#SET: Bookurl={{{url|&nbsp;}}} }}
 +
{{#SET: Download={{{url|&nbsp;}}} }}
 +
<noinclude>
<noinclude>
This is the 'book' template.
This is the 'book' template.
Line 8: Line 38:
|url=
|url=
|description=
|description=
 +
|download=
 +
|license=
 +
|subject=
 +
|edlevel=
 +
|flags=
 +
|duplicate=
}}
}}
</pre>
</pre>
Edit the page to see the template text.
Edit the page to see the template text.
-
</noinclude><includeonly>
+
</noinclude>
-
{| border="0" cellpadding="4" cellspacing="4"
+
<includeonly>
-
! Title
+
{| style="border: 1px solid gray; border-collapse: collapse; background-color: lightgray;" align="left" width="100%"
-
| {{{title|}}}
+
|<small>Flags: {{#arraymap:{{{flags|}}}|,|zargz|[[flags::zargz]]}}</small>
|-
|-
-
! Author:
+
|<small>Duplicates: {{#arraymap:{{{duplicate|}}}|,|wargw|[[duplicate::wargw]]}}</small>
-
| {{{author|}}}
+
-
|-
+
-
! URL
+
-
| {{{url|}}}
+
-
|-
+
-
! Description
+
-
| {{{description|}}}
+
|}
|}
-
 
+
[[Category:Book]]
-
[[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.