Template:Beach Event: Difference between revisions
mNo edit summary |
mNo edit summary Β |
||
| Line 34: | Line 34: | ||
{{!}} {{#invoke:ABVRS Points|ratingLabel|rating={{{abvrs_rating|}}}}} | {{!}} {{#invoke:ABVRS Points|ratingLabel|rating={{{abvrs_rating|}}}}} | ||
}} | }} | ||
|-{{#ifeq:{{lc:{{{ | |-{{#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''}}}} | | {{#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:{{{ | |-{{#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''}}}} | | {{#if:{{{nominations|}}}|{{{nominations}}}|{{#if:{{{nominations_url|}}}|[{{{nominations_url}}} {{{nominations_text|Registered Teams}}}]|''Not available yet''}}}} | ||
|-{{#ifeq:{{lc:{{{ | |-{{#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''}}}} | ||
| Line 62: | Line 62: | ||
|org_code= | |org_code= | ||
|org_url= | |org_url= | ||
|register_display= | |||
|register_url= | |register_url= | ||
| | |nominations_display= | ||
|nominations_url= | |nominations_url= | ||
|nominations | |nominations= | ||
|results_display= | |||
|results_url= | |results_url= | ||
|results= | |results= | ||
}} | }} | ||
</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> | '''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
| 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 |
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.