Difference between revisions of "Template:Book"

From Organic Design wiki
m
m (oops rv)
Line 1: Line 1:
<noinclude>{{info|This template should be included within any article which represents a video documentary. The article title should be the same as the title of its corresponding documentary.<br>Articles which use this template are automatically categorised into [[:Category:Documentaries]].}}
+
<noinclude>{{info|This template should be included within any article which represents a book. The article title should be the same as the title of its corresponding book.<br>Articles which use this template are automatically categorised into [[:Category:Books]].}}
 
<br>
 
<br>
 
Until we have a semantic form, you can copy and paste the following parameters from the box into your new book article and replace the asterisks with the correct values
 
Until we have a semantic form, you can copy and paste the following parameters from the box into your new book article and replace the asterisks with the correct values
 
<br>
 
<br>
 
<pre>
 
<pre>
{{Documentary
+
{{Book
| name = [[***]]
+
|name = [[***]]
| author = [[***]]
+
|author = [[***]]
| buy = [***]
+
|publisher = ***
| watch = [***]
+
|buy = ***
| keywords = ***
+
|ISBN = ***
| image = [[***]]
+
|keywords = ***
 +
|image = [[***]]
 
}}
 
}}
 
</pre>
 
</pre>
  
Once you have saved the new article with information about the documentary, an entry for that book will appear in the [[:Category:Documentaries|documentaries category]] which will look like the example below, with proper values filled in.
+
Once you have saved the new article with information about the book, an entry for that book will appear in the [[:Category:Books|books category]] which will look like the example below, with proper values filled in.
 +
[[Category:Required semantic forms]]
 
</noinclude>
 
</noinclude>
  
{{Wbox|name=Documentary: {{{name}}}|content=
+
{{Wbox|name=Book: {{{name}}}|content=
 
{{sbo}}{{!}}cellspacing=0 cellpadding=5 border=0
 
{{sbo}}{{!}}cellspacing=0 cellpadding=5 border=0
 
{{!}}-
 
{{!}}-
Line 23: Line 25:
 
{{!}}rowspan=5 valign=top{{!}}{{#if:{{{image|}}}|[[Image:{{{image}}}|100px|right]]}}
 
{{!}}rowspan=5 valign=top{{!}}{{#if:{{{image|}}}|[[Image:{{{image}}}|100px|right]]}}
 
{{!}}-
 
{{!}}-
{{!}}'''Watch'''{{!!}}{{{watch}}}
+
{{!}}'''Publisher'''{{!!}}{{{publisher}}}
 
{{!}}-
 
{{!}}-
 
{{!}}'''Buy from'''{{!!}}{{{buy}}}
 
{{!}}'''Buy from'''{{!!}}{{{buy}}}
 +
{{!}}-
 +
{{!}}'''ISBN'''{{!!}}{{{ISBN}}}
 
{{!}}-
 
{{!}}-
 
{{!}}'''Keywords'''{{!!}}{{{keywords}}}
 
{{!}}'''Keywords'''{{!!}}{{{keywords}}}
 
{{!}}{{sbc}}
 
{{!}}{{sbc}}
{{edit this form|Documentary}}
+
{{edit this form|Book}}
 
}}
 
}}
<includeonly>[[Category:Documentaries]]</includeonly>
+
<includeonly>[[Category:Books]]</includeonly>
 
<noinclude>[[Category:Records]][[Category:Organisational templates|{{PAGENAME}}]]</noinclude>
 
<noinclude>[[Category:Records]][[Category:Organisational templates|{{PAGENAME}}]]</noinclude>

Revision as of 05:03, 18 April 2011

Info.svg This template should be included within any article which represents a book. The article title should be the same as the title of its corresponding book.
Articles which use this template are automatically categorised into Category:Books.


Until we have a semantic form, you can copy and paste the following parameters from the box into your new book article and replace the asterisks with the correct values

{{Book
|name = [[***]]
|author = [[***]]
|publisher = ***
|buy = ***
|ISBN = ***
|keywords = ***
|image = [[***]]
}}

Once you have saved the new article with information about the book, an entry for that book will appear in the books category which will look like the example below, with proper values filled in.


Book: {{{name}}}
Author {{{author}}}
Publisher {{{publisher}}}
Buy from {{{buy}}}
ISBN {{{ISBN}}}
Keywords {{{keywords}}}

*edit this form here
*see Help:Templates for details about how to make wiki templates