Template:Infobox book: Difference between revisions

From Vigyanwiki
Template>Mr. Stradivarius
(allow links to texts in their original language, fix broken Wikisource links when "name" is missing, and add a "Working title" field, per protected edit request)
Template>Mr. Stradivarius
(language code fix per protected edit request)
Line 10: Line 10:
| data1        = {{{author|}}}
| data1        = {{{author|}}}
| label2      = Original title
| label2      = Original title
| data2        = {{#if:{{{title_orig|}}}|''{{{title_orig}}}''}}
| data2        = {{#if:{{{title_orig|}}}|{{lang|{{{orig_lang_code|}}}|''{{{title_orig}}}''}}}}
| label3      = Working title
| label3      = Working title
| data3        = {{#if:{{{title_working|}}}|''{{{title_working}}}''}}
| data3        = {{#if:{{{title_working|}}}|''{{{title_working}}}''}}
Line 54: Line 54:
| data23      = {{#if:{{{followed_by|}}}|''{{{followed_by|}}}''|{{#if:{{{followed_by_quotation_marks|}}}|"{{{followed_by_quotation_marks|}}}"}}}}
| data23      = {{#if:{{{followed_by|}}}|''{{{followed_by|}}}''|{{#if:{{{followed_by_quotation_marks|}}}|"{{{followed_by_quotation_marks|}}}"}}}}
| label24      = Original text
| label24      = Original text
| data24      = {{#if:{{{native_wikisource|}}}|''[[s:{{#if:{{{native_wikisource_lang|}}}|{{{native_wikisource_lang|}}}:}}{{{native_wikisource|}}}|{{{title_orig|{{{name|{{PAGENAME}}}}}}}}]]'' at [[Wikisource]][[Category:Articles that link to foreign language Wikisource]]<!--create hidden category to be monitored by Wikiproject:Wikisource-->|{{#if:{{{native_external_url|}}}|''[{{{native_external_url|}}} {{{title_orig|{{{name|{{PAGENAME}}}}}}}}]'' {{#if:{{{native_external_host|}}}|at {{{native_external_host|}}}|online}}}}}}
| data24      = {{#if:{{{native_wikisource|}}}|''{{lang|{{{orig_lang_code|}}}|[[s:{{#if:{{{orig_lang_code|}}}|{{{orig_lang_code|}}}:}}{{{native_wikisource|}}}|{{{title_orig|{{{name|{{PAGENAME}}}}}}}}]]}}'' at {{#ifeq:{{#language:{{{orig_lang_code}}}}}|{{{orig_lang_code}}}||{{Iso2lang|{{{orig_lang_code}}}}}}} [[Wikisource]][[Category:Articles that link to foreign language Wikisource]]<!--create hidden category to be monitored by Wikiproject:Wikisource-->|{{#if:{{{native_external_url|}}}|''{{lang|{{{orig_lang_code|}}}|[{{{native_external_url|}}} {{{title_orig|{{{name|{{PAGENAME}}}}}}}}]}}'' {{#if:{{{native_external_host|}}}|at {{{native_external_host|}}}|online}}}}}}
| label25      = {{#if:{{{native_wikisource|}}}|Translation|{{#if:{{{native_external_url|}}}|Translation|Text}}}}
| label25      = {{#if:{{{native_wikisource|}}}|Translation|{{#if:{{{native_external_url|}}}|Translation|Text}}}}
| data25      = {{#if:{{{wikisource|}}}|''[[s:{{{wikisource|}}}|{{{name|{{PAGENAME}}}}}]]'' at {{#if:{{{native_wikisource|}}}|Wikisource|[[Wikisource]]}}[[Category:Articles that link to Wikisource]]<!--create hidden category to be monitored by Wikiproject:Wikisource-->|{{#if:{{{external_url|}}}|''[{{{external_url|}}} {{{name|{{PAGENAME}}}}}]'' {{#if:{{{external_host|}}}|at {{{external_host|}}}|online}}}}}}}}<noinclude>
| data25      = {{#if:{{{wikisource|}}}|''[[s:{{{wikisource|}}}|{{{name|{{PAGENAME}}}}}]]'' at {{#if:{{{native_wikisource|}}}|Wikisource|[[Wikisource]]}}[[Category:Articles that link to Wikisource]]<!--create hidden category to be monitored by Wikiproject:Wikisource-->|{{#if:{{{external_url|}}}|''[{{{external_url|}}} {{{name|{{PAGENAME}}}}}]'' {{#if:{{{external_host|}}}|at {{{external_host|}}}|online}}}}}}}}<noinclude>
{{documentation}}
{{documentation}}
</noinclude>
</noinclude>

Revision as of 14:17, 9 August 2013

Lua error in Module:TNT at line 182: Missing Commons dataset I18n/Module:TNT.tab.