Difference between revisions of "Template:Infobox book"
Dinoguy1000 (talk | contribs) (automate =P ) |
(Handle multiple ISBNs. Although we should probably add separate parameters for different languages.) |
||
Line 130: | Line 130: | ||
| label7 = ISBN | | label7 = ISBN | ||
− | | data7 = {{ #if: {{{isbn<includeonly>|</includeonly>}}} | | + | | data7 = {{ #if: {{{isbn<includeonly>|</includeonly>}}} |
+ | | {{IfSemantics | ||
+ | | {{ #arraymap: {{{isbn}}} | ||
+ | |* | ||
+ | |$isbn | ||
+ | |* [[ISBN::$isbn| ]] [[Special:BookSources/$isbn|$isbn]] | ||
+ | |\n | ||
+ | }} | ||
+ | | {{{isbn}}} | ||
+ | }} | ||
| label8 = ISBN-13 | | label8 = ISBN-13 | ||
− | | data8 = {{ #if: {{{isbn-13<includeonly>|</includeonly>}}} | | + | | data8 = {{ #if: {{{isbn-13<includeonly>|</includeonly>}}} |
+ | | {{IfSemantics | ||
+ | | {{ #arraymap: {{{isbn-13}}} | ||
+ | |* | ||
+ | |$isbn13 | ||
+ | |* [[ISBN-13::$isbn13| ]] [[Special:BookSources/$isbn13|$isbn13]] | ||
+ | |\n | ||
+ | }} | ||
+ | | {{{isbn-13}}} | ||
+ | }} | ||
| label9 = Length | | label9 = Length |
Revision as of 14:30, 27 January 2013
{{Infobox | above = Infobox book | image = [[File:{{{image}}}|229px|{{{caption}}}]]
| abovestyle = font-style: italic; | bodyclass = list-noicon | labelstyle = vertical-align: middle; background: #DDF; | headerstyle = background: #CCF;
| data1 =
- {{{en_name}}}
French{{{fr_name}}} German{{{de_name}}} Italian{{{it_name}}} Portuguese{{{pt_name}}} Spanish{{{es_name}}}
JapaneseKanji{{{ja_name}}}Furigana{{{ja_name}}}Rōmaji{{{romaji_name}}}Translated{{{ja_trans_name}}}
KoreanKorean{{{ko_name}}}Base text{{{ko_name}}}Hangul{{{ko_name}}}Hanja{{{hanja_name}}}Revised Romanization{{{ko_rr_name}}}Translated{{{ko_trans_name}}} | data2 = {{Infobox | child = yes | headerstyle = background: #CCF; | labelstyle = vertical-align: middle; background: #DDF; | header1 = Book information | label2 = Language | data2 = {{{language}}} | label3 = Author | data3 = {{{author}}} | label4 = Illustrator | data4 = {{{illustrator}}} | label5 = Publisher | data5 = {{{publisher}}} | label6 = Release date | data6 = {{{release_date}}} | label7 = ISBN | data7 =
- [[Special:BookSources/{{{isbn}}}|{{{isbn}}}]]