Jump to content

Template:Infobox book: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Undid revision 1141877284 by Bumm13 (talk) restored correct version; see talk;
rm redundant italics for native title that are added by the lang template when the lang code is appropriate. Tested in sandbox
Line 126: Line 126:
| label36 = {{longitem|Original text}}
| label36 = {{longitem|Original text}}
| data36 = {{#if:{{both|{{{native_wikisource|}}}|{{{orig_lang_code|}}}}} <!--
| data36 = {{#if:{{both|{{{native_wikisource|}}}|{{{orig_lang_code|}}}}} <!--
then:-->| ''{{lang |{{{orig_lang_code|}}}
then:-->| {{lang |{{{orig_lang_code|}}}
| [[s:{{#if:{{{orig_lang_code|}}}|{{{orig_lang_code|}}}:}}{{{native_wikisource|}}}|{{{title_orig|{{{name|{{PAGENAME}}}}}}}}]]<!--
| [[s:{{#if:{{{orig_lang_code|}}}|{{{orig_lang_code|}}}:}}{{{native_wikisource|}}}|{{{title_orig|{{{name|{{PAGENAME}}}}}}}}]]<!--
-->}}'' at <!--
-->}} at <!--
-->{{#if:{{#invoke:lang|is_ietf_tag|{{{orig_lang_code}}}}}|{{#invoke:lang|name_from_tag|{{{orig_lang_code}}}}}}} [[Wikisource]]<!--
-->{{#if:{{#invoke:lang|is_ietf_tag|{{{orig_lang_code}}}}}|{{#invoke:lang|name_from_tag|{{{orig_lang_code}}}}}}} [[Wikisource]]<!--
-->{{main other|[[Category:Articles that link to foreign-language Wikisources]]}} <!--(create hidden category to be monitored by WikiProject:Wikisource)
-->{{main other|[[Category:Articles that link to foreign-language Wikisources]]}} <!--(create hidden category to be monitored by WikiProject:Wikisource)
else:-->| {{#if:{{both|{{{native_external_url|}}}|{{{orig_lang_code|}}}}}
else:-->| {{#if:{{both|{{{native_external_url|}}}|{{{orig_lang_code|}}}}}
| ''{{lang |{{{orig_lang_code|}}}
| {{lang |{{{orig_lang_code|}}}
| [{{{native_external_url|}}} {{{title_orig|{{{name|{{PAGENAME}}}}}}}}]<!--
| [{{{native_external_url|}}} {{{title_orig|{{{name|{{PAGENAME}}}}}}}}]<!--
-->}}'' <!--
-->}} <!--
-->{{#if:{{{native_external_host|}}} |at {{{native_external_host|}}} |online}}
-->{{#if:{{{native_external_host|}}} |at {{{native_external_host|}}} |online}}
}} }}
}} }}

Revision as of 04:04, 18 October 2023