Anonymous

Template:Local/help: Difference between revisions

From OER in Education
No edit summary
Line 64: Line 64:


== With default, blanking one value ==
== With default, blanking one value ==
With a default setting, the default text is displayed for all countries, except where specific values are given:
With a default setting, the default text is displayed for all countries, except where specific values are given, including a blank value:
  <nowiki>{{</nowiki>Local
  <nowiki>{{</nowiki>Local
  |default=default
  |default=default
  |Rwanda=Rwandan version
  |Rwanda=
|Zambia=
  }}
  }}
gives
gives
"{{Local
"{{Local
|default=default value
|default=default value
|Rwanda=Rwandan version
|Rwanda=
|Zambia=
}}", see [[Template:Local/help/rw]] (which displays "" in the Rwandan version) and  [[Template:Local/help/zm]] (which displays "default value").
}}", see [[Template:Local/help/rw]] (which displays "Rwandan version") and  [[Template:Local/help/zm]] (which displays "default value").