Template:Lp-layout-endowment: Difference between revisions

From Donate
Jump to navigation Jump to search
Content deleted Content added
oof this is nasty. {{{appeal}}} always defaults to Appeal-default, so check if it isn't that
Tag: Reverted
but of course we need to account for when it's not passed from above...
Tag: Reverted
Line 3: Line 3:
<div id="appeal">
<div id="appeal">
{{#invoke:Main|get_appeal
{{#invoke:Main|get_appeal
| appeal = {{ifeq:{{{appeal}}}|Appeal-default|Endowment|{{{appeal}}}}}
| appeal = {{ifeq:{{{appeal|Appeal-default}}}|Appeal-default|Endowment|{{{appeal}}}}}
| language = {{int:lang}}
| language = {{int:lang}}
| country = {{uc:{{{country|XX}}}}}
| country = {{uc:{{{country|XX}}}}}

Revision as of 18:13, 2 October 2020

Lua error in Module:Main at line 17: attempt to index local 'p1' (a nil value).