Template:Event: Difference between revisions

From IFWiki

(Changing IFDB event series field to require String rather than full URL)
(Adding "Total" for total number of entries)
Line 11: Line 11:
|Website=URL
|Website=URL
|Organisers=List (,) of Page
|Organisers=List (,) of Page
|Total=String (hidden)
|IFDB_event_id=String
|IFDB_event_id=String
|IFDB_event_series=String
|IFDB_event_series=String
Line 46: Line 47:
|- {{#if:{{{IFDB event series|}}} | | style="display: none" }}
|- {{#if:{{{IFDB event series|}}} | | style="display: none" }}
! IFDB series page
! IFDB series page
| [https://ifdb.org/search?comp&searchfor=series%3A{{urlencode:{{{IFDB event series|}}} }} Series]<!--
| [https://ifdb.org/search?comp&searchfor=series%3A{{urlencode:{{{IFDB event series|}}} }} Series]
 
|- {{#if:{{{Total|}}} | | style="display: none" }}
! Total entries
| {{{Total|}}}<!--
 
//-->{{#if:{{{Event dates|}}}|<tr><th colspan="2" class="ifwiki-infobox-center">Event dates</th></tr>{{{Event dates|}}} }}<!--
//-->{{#if:{{{Event dates|}}}|<tr><th colspan="2" class="ifwiki-infobox-center">Event dates</th></tr>{{{Event dates|}}} }}<!--
//-->{{#if:{{{Awards|}}}|<tr><th colspan="2" class="ifwiki-infobox-center">Results</th></tr>{{{Awards|}}} }}<!--
//-->{{#if:{{{Awards|}}}|<tr><th colspan="2" class="ifwiki-infobox-center">Results</th></tr>{{{Awards|}}} }}<!--

Revision as of 19:39, 14 October 2024

This is the "Event" template.

It should be called in the following format:

{{Event
|Type=
|Series=
|Part of series=
|Image=
|Website=
|Organisers=
|Awards=
|Event dates=
|IFDB_event_id=
|IFDB_event_series=
}}

Edit the page to see the template text.

This template defines the table "Events". View table.