Template:Beach Event: Difference between revisions

From zunagi

mNo edit summary
mNo edit summary
Β 
(One intermediate revision by the same user not shown)
Line 33: Line 33:
! ABVRS Rating
! ABVRS Rating
{{!}} {{#invoke:ABVRS Points|ratingLabel|rating={{{abvrs_rating|}}}}}
{{!}} {{#invoke:ABVRS Points|ratingLabel|rating={{{abvrs_rating|}}}}}
}}{{#ifeq:{{lc:{{{registration-display|}}}}}|no||
}}
{{!}}-
|-{{#ifeq:{{lc:{{{register_display|}}}}}|no| style="display:none;"}}
! Registration
! Registration
{{!}} {{#if:{{{register_url|}}}|[{{{register_url}}} {{{register_text|Register / Event Information}}}]|{{#if:{{#invoke:Beach Org|url|org_code={{{org_code|}}}|region_code={{{region_code|}}}|org_url={{{org_url|}}}}}|''Not available yet – check with <span class="zunagi-registration-organiser-link">[{{#invoke:Beach Org|url|org_code={{{org_code|}}}|region_code={{{region_code|}}}|org_url={{{org_url|}}}}} organiser]</span>''|''Not available yet''}}}}}}{{#ifeq:{{lc:{{{nominations-display|}}}}}|no||
| {{#if:{{{register_url|}}}|[{{{register_url}}} {{{register_text|Register / Event Information}}}]|{{#if:{{#invoke:Beach Org|url|org_code={{{org_code|}}}|region_code={{{region_code|}}}|org_url={{{org_url|}}}}}|''Not available yet – check with <span class="zunagi-registration-organiser-link">[{{#invoke:Beach Org|url|org_code={{{org_code|}}}|region_code={{{region_code|}}}|org_url={{{org_url|}}}}} organiser]</span>''|''Not available yet''}}}}
{{!}}-
|-{{#ifeq:{{lc:{{{nominations_display|}}}}}|no| style="display:none;"}}
! Nominations
! Nominations
{{!}} {{#if:{{{nominations|}}}|{{{nominations}}}|{{#if:{{{nominations_url|}}}|[{{{nominations_url}}} {{{nominations_text|Registered Teams}}}]|''Not available yet''}}}}}}{{#ifeq:{{lc:{{{results-display|}}}}}|no||
| {{#if:{{{nominations|}}}|{{{nominations}}}|{{#if:{{{nominations_url|}}}|[{{{nominations_url}}} {{{nominations_text|Registered Teams}}}]|''Not available yet''}}}}
{{!}}-
|-{{#ifeq:{{lc:{{{results_display|}}}}}|no| style="display:none;"}}
! Results
! Results
{{!}} {{#if:{{{results|}}}|{{{results}}}|{{#if:{{{results_url|}}}|[{{{results_url}}} {{{results_text|View Results}}}]|''Not available yet''}}}}}}
| {{#if:{{{results|}}}|{{{results}}}|{{#if:{{{results_url|}}}|[{{{results_url}}} {{{results_text|View Results}}}]|''Not available yet''}}}}
|}
|}
<div class="zunagi-calendar-disclaimer" style="background-color:#fdf6e0; border:1px solid #f0d979; border-radius:12px; padding:1em 1.25em; margin:1em 0 0 0; color:#8a6a13;">⚠️ '''Please note:''' Event information is provided as a guide only and may be subject to change. Refer to the relevant organiser's website for the latest event details and registration information.</div>
<div class="zunagi-calendar-disclaimer" style="background-color:#fdf6e0; border:1px solid #f0d979; border-radius:12px; padding:1em 1.25em; margin:1em 0 0 0; color:#8a6a13;">⚠️ '''Please note:''' Event information is provided as a guide only and may be subject to change. Refer to the relevant organiser's website for the latest event details and registration information.</div>
Line 62: Line 62:
|org_code=
|org_code=
|org_url=
|org_url=
|register_display=
|register_url=
|register_url=
|registration-display=
|nominations_display=
|nominations_url=
|nominations_url=
|nominations-display=
|nominations=
|results_display=
|results_url=
|results_url=
|results=
|results=
|results-display=
}}
}}
</pre>
</pre>
'''Note:''' <code>org_code</code> is the current parameter and should be used on all new/updated pages β€” it drives both the state icon and the default Organisation link/label, looked up from [[Module:Beach Org]]. <code>region_code</code> is deprecated but still supported as a fallback so existing pages keep working until they're migrated to <code>org_code</code>. <code>org</code> and <code>org_url</code> are optional overrides β€” leave them out (or blank) to use the automatic default for the given <code>org_code</code>; a blank <code>|org=</code> or <code>|org_url=</code> line is treated the same as leaving it out entirely, it will not suppress the default.
'''Note:''' <code>org_code</code> is the current parameter and should be used on all new/updated pages β€” it drives both the state icon and the default Organisation link/label, looked up from [[Module:Beach Org]]. <code>region_code</code> is deprecated but still supported as a fallback so existing pages keep working until they're migrated to <code>org_code</code>. <code>org</code> and <code>org_url</code> are optional overrides β€” leave them out (or blank) to use the automatic default for the given <code>org_code</code>; a blank <code>|org=</code> or <code>|org_url=</code> line is treated the same as leaving it out entirely, it will not suppress the default.


'''Note:''' <code>registration-display</code>, <code>nominations-display</code> and <code>results-display</code> are optional per-row visibility flags. Set one to <code>no</code> to hide that row entirely (e.g. an event with no nominations process at all) β€” any other value, or leaving it out, renders the row exactly as before.
'''Note:''' <code>register_display</code>, <code>nominations_display</code> and <code>results_display</code> are optional per-row visibility flags. Set one to <code>no</code> to hide that row (it stays in the page's HTML, just hidden via CSS `display:none`, so any surrounding borders/spacing stay clean) β€” any other value, or leaving it out, renders the row exactly as before.
[[Category:Templates]]
[[Category:Templates]]
</noinclude>
</noinclude>

Latest revision as of 19:43, 18 September 2026

{{{title}}}
{{{series}}} · {{{season}}} Season

← Back to Calendar

Organisation Not available yet
Date {{{date}}}
Venue Not available yet
Region {{{region}}}
Category {{{category}}}
Level {{{level}}}
Registration Not available yet
Nominations Not available yet
Results Not available yet
⚠️ Please note: Event information is provided as a guide only and may be subject to change. Refer to the relevant organiser's website for the latest event details and registration information.


Usage

{{Beach Event
|title=
|series=
|season=
|date=
|venue=
|venue_url=
|region=
|org=
|org_code=
|org_url=
|register_display=
|register_url=
|nominations_display=
|nominations_url=
|nominations=
|results_display=
|results_url=
|results=
}}

Note: org_code is the current parameter and should be used on all new/updated pages β€” it drives both the state icon and the default Organisation link/label, looked up from Module:Beach Org. region_code is deprecated but still supported as a fallback so existing pages keep working until they're migrated to org_code. org and org_url are optional overrides β€” leave them out (or blank) to use the automatic default for the given org_code; a blank |org= or |org_url= line is treated the same as leaving it out entirely, it will not suppress the default.

Note: register_display, nominations_display and results_display are optional per-row visibility flags. Set one to no to hide that row (it stays in the page's HTML, just hidden via CSS `display:none`, so any surrounding borders/spacing stay clean) β€” any other value, or leaving it out, renders the row exactly as before.