Difference between revisions of "Template:BookHeader"

From Heroes Assemble MUSH
Jump to navigation Jump to search
(Created page with "Template:Books <noinclude> This is the "Book Template" template. It should be called in the following format: <pre> {{BookHeader | BookTitle = What is the Book Titl...")
 
m (Protected "Template:BookHeader" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
Template:Books
 
 
 
<noinclude>
 
<noinclude>
 
This is the "Book Template" template. It should be called in the following format:  
 
This is the "Book Template" template. It should be called in the following format:  
Line 31: Line 29:
 
|-
 
|-
 
|- class="LogRow"
 
|- class="LogRow"
! class="LogCell" | Cast: || class="LogCell" | {{#arraymap:{{{BookAuthors}}}|,|x|{{#set:Book Authors=x}}{{#if: {{#vardefineecho: x | {{#ask: [[Char_id::x]]}}}} | {{#var: x}} | x}}|,&#32;}}  
+
! class="LogCell" | Author(s): || class="LogCell" | {{#arraymap:{{{BookAuthors}}}|,|x|{{#set:Book Authors=x}}{{#if: {{#vardefineecho: x | {{#ask: [[Char_id::x]]}}}} | {{#var: x}} | x}}|,&#32;}}  
 
|}  [[Category:Books]]
 
|}  [[Category:Books]]
  
 
----
 
----
 
</includeonly>
 
</includeonly>

Latest revision as of 23:51, 18 July 2022

This is the "Book Template" template. It should be called in the following format:

{{BookHeader
| BookTitle          = What is the Book Title?
| Img                = link to Book image
| BookType           = What format Book is this? Movie? TV? Radio? News?
| BookReleaseDate    = When was the Book released?
| Synopsis           = What is the Book about?
| BookAuthors        = Who Wrote the book?
}} 

Edit the page to see the template text.