Jump to content

Template:Infobox short story and Template:Infobox short story/sandbox: Difference between pages

(Difference between pages)
Content deleted Content added
Make arrows use no_link so readers are less likely to click on the wrong thing and get taken to a file page
 
m combine duplicate parms
 
Line 2: Line 2:
}}{{Infobox
}}{{Infobox
| bodystyle = {{#if:{{{infoboxwidth|{{{width|}}} }}} |width:{{{infoboxwidth|{{{width}}} }}} }}
| bodystyle = {{#if:{{{infoboxwidth|{{{width|}}} }}} |width:{{{infoboxwidth|{{{width}}} }}} }}
| labelstyle = white-space: nowrap
| labelstyle = white-space: nowrap


| abovestyle = font-size:125%; background: #ededed;
| abovestyle = font-size:125%; background: #ededed;
Line 10: Line 10:
| subheader = {{#if:{{{author}}}|[[Short story]] by {{{author}}}}}
| subheader = {{#if:{{{author}}}|[[Short story]] by {{{author}}}}}
| subheaderclass1 = summary
| subheaderclass1 = summary
| subheaderstyle = font-weight: bold; background:whitesmoke;
| subheaderstyle = font-weight: bold;


| headerstyle = background: #ededed;
| headerstyle = background: #ededed;
Line 32: Line 32:
}} }}
}} }}


| label3 = Original title
| label3 = Original title
| data3 = {{#if:{{{title_orig|}}} |{{#if:{{{orig_lang_code|}}}|{{lang|{{{orig_lang_code|}}} |{{{title_orig}}} |italics={{#invoke:infobox/utilities|set_italics|{{{orig_lang_code|}}}|{{{title_orig}}}}}}}|''{{{title_orig}}}''}} }}
| data3 = {{#if:{{{title_orig|}}} |{{#if:{{{orig_lang_code|}}}|{{lang|{{{orig_lang_code|}}} |{{{title_orig}}} |italics={{#invoke:infobox/utilities|set_italics|{{{orig_lang_code|}}}|{{{title_orig}}}}}}}|''{{{title_orig}}}''}} }}


| label4 = Translator
| label4 = Translator
| data4 = {{{translator|}}}
| data4 = {{{translator|}}}
| label5 = Country
| label5 = Country
| data5 = {{{country|}}}
| data5 = {{{country|}}}
| label6 = Language
| label6 = Language
| data6 = {{{language|}}}
| data6 = {{{language|}}}
| label8 = Genre(s)
| label8 = Genre(s)
| data8 = {{{genre|}}}
| data8 = {{{genre|}}}
| header9 = Publication
| =
| data16 = {{{pages|}}}
| label10 = Published in
| = Publication
| data10 = {{{published_in|{{{released_in|}}}}}}
| label11 = Publication type
| =
| data11 = {{{publication_type|}}}
| = {{{|}}}
| label11 = Publication <br>type
| label12 = Publisher
| data12 = {{{publisher|}}}
| = {{{|}}}
| label12 = Publisher
| label13 = Media type
| data13 = {{{media_type|}}}
| = {{{|}}}
| label13 = Media type
| label14 = Publication date
| data14 = {{{pub_date|{{{release_date|}}}}}}
| = {{{|}}}
| label14 = Publication <br>date
| label15 = Published in English
| data15 = {{{english_pub_date|{{{english_release_date|}}}}}}
| = {{{|{{{|}}}}}}
| = Published in
| label16 = Pages
| data16 = {{{pages|}}}
| = {{{|}}}


| header55 = {{#if:{{{preceded_by|}}}{{{followed_by|}}}{{{preceded_by_italics|}}}{{{followed_by_italics|}}}|Chronology}}
| header55 = {{#if:{{{preceded_by|}}}{{{followed_by|}}}{{{preceded_by_italics|}}}{{{followed_by_italics|}}}|Chronology}}


| label56 = Series
| label56 = Series
| data56 = {{{series|}}}
| data56 = {{{series|}}}


| data57 = {{#if:{{{preceded_by|}}}{{{followed_by|}}}{{{preceded_by_italics|}}}{{{followed_by_italics|}}}|
| data57 = {{#if:{{{preceded_by|}}}{{{followed_by|}}}{{{preceded_by_italics|}}}{{{followed_by_italics|}}}|
{{{!}} style="width:100%;"
{{{!}} style="width:100%;"
{{!}} style="width: 50%; padding: 0.2em 0.1em 0.2em 0; text-align: center;" {{!}} [[File:Arrleft.svg|10px|link=]]&nbsp;<br />{{#if:{{{preceded_by_italics|}}}|''{{{preceded_by_italics}}}''|{{#if:{{{preceded_by|}}}|{{{preceded_by}}}|&mdash;}}}}
{{!}} style="width: 50%; padding: 0.2em 0.1em 0.2em 0; text-align: center;" {{!}} [[File:Arrleft.svg|10px]]&nbsp;<br />{{#if:{{{preceded_by_italics|}}}|''{{{preceded_by_italics}}}''|{{#if:{{{preceded_by|}}}|{{{preceded_by}}}|&mdash;}}}}
{{!}} style="width: 50%; padding: 0.2em 0 0.2em 0.1em; text-align: center;" {{!}} &nbsp; [[File:Arrright.svg|10px|link=]] <br />{{#if:{{{followed_by_italics|}}}|''{{{followed_by_italics}}}''|{{#if:{{{followed_by|}}}|{{{followed_by}}}|&mdash;}}}}
{{!}} style="width: 50%; padding: 0.2em 0 0.2em 0.1em; text-align: center;" {{!}} &nbsp; [[File:Arrright.svg|10px]] <br />{{#if:{{{followed_by_italics|}}}|''{{{followed_by_italics}}}''|{{#if:{{{followed_by|}}}|{{{followed_by}}}|&mdash;}}}}
{{!}}}
{{!}}}
}}
}}