More actions
GamingTwist (talk | contribs) No edit summary |
GamingTwist (talk | contribs) No edit summary |
||
(19 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
This is the " | This is the "Season" template. | ||
It should be called in the following format: | It should be called in the following format: | ||
<pre> | <pre> | ||
{{ | {{Infobox Season | ||
| | |gamemode= | ||
|season= | |season= | ||
|created= | |created= | ||
|ended= | |ended= | ||
| | |version_start= | ||
|version_end= | |||
|seed= | |seed= | ||
}} | }} | ||
</pre> | </pre> | ||
Edit the page to see the template text. | Edit the page to see the template text. | ||
{{#cargo_declare:_table= | {{#cargo_declare:_table=Season|friendly_name=String|gamemode=Page|season=Integer|created=Start date|ended=End date|version_start=String|version_end=String|seed=String}}</noinclude><includeonly>{{#cargo_store:_table=Season | ||
</noinclude><includeonly>{{#cargo_store:_table= | |friendly_name={{{gamemode|}}} - Season {{{season|}}} | ||
}} | |||
{{Infobox | |||
| name = {{{gamemode|}}} - Season {{{season|}}} | |||
| image = {{#if: {{{image|}}}|[[File:{{{image|}}}|250px|alt=Alt text|Caption]]}} | |||
| caption = | |||
| above = {{#if: {{{name|}}}|{{{name|}}}|{{#titleparts:{{SUBPAGENAME}}}} }} | |||
| header1 = Season Details | |||
| label2 = Gamemode | |||
| data2 = {{{gamemode|}}} | |||
| label3 = Season | |||
| data3 = {{{season|}}} | |||
| label4 = Created | |||
| data4 = {{{created|}}} | |||
| label5 = Ended | |||
| data5 = {{{ended|}}} | |||
| label6 = Versions Start | |||
| data6 = {{{version_start|}}} | |||
| label7 = Versions End | |||
| data7 = {{{version_end|}}} | |||
| label8 = Seed | |||
| data8 = {{{seed|}}} | |||
}} | |||
'''Pages:''' | |||
{{#cargo_query: | {{#cargo_query: | ||
tables=Project | tables=Project | ||
|fields=Project._pageName, Project.name, Project.image | |fields=Project._pageName, Project.name, Project.image | ||
|where=Project. | |where=Project.season = "{{PAGENAME}}" | ||
|format=table | |format=table | ||
}} | }}[[Category:Servers]] | ||
[[Category:Servers]] | |||
</includeonly> | </includeonly> |
Latest revision as of 18:24, 23 December 2024
This is the "Season" template. It should be called in the following format:
{{Infobox Season |gamemode= |season= |created= |ended= |version_start= |version_end= |seed= }}
Edit the page to see the template text. This template defines the table "Season". View table.