Template:Infobox book: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
add new param to parameter check |
test for required lang code before passing the if statement for wikisource or external URL; avoids lang template error message and category |
||
Line 125:
| label36 = {{longitem|Original text}}
| data36 = {{#if:{{both|{{{native_wikisource|}}}{{{orig_lang_code|}}}}} <!--
then:-->| ''{{lang |{{{orig_lang_code|}}}
| [[s:{{#if:{{{orig_lang_code|}}}|{{{orig_lang_code|}}}:}}{{{native_wikisource|}}}|{{{title_orig|{{{name|{{PAGENAME}}}}}}}}]]<!--
Line 133:
-->}} [[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|}}}}}
| ''{{lang |{{{orig_lang_code|}}}
| [{{{native_external_url|}}} {{{title_orig|{{{name|{{PAGENAME}}}}}}}}]<!--
|