Template:DAO: Difference between revisions

From Edd's Almanac
Jump to navigation Jump to search
No edit summary
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 15: Line 15:
|Linkedin=
|Linkedin=
|Reddit=
|Reddit=
|OtherCategories1=
|OtherCategories2=
|OtherCategories3=
}}
}}
</pre>
</pre>
Edit the page to see the template text.
Edit the page to see the template text.
{{#cargo_declare:_table=DAOs|URL=URL|XTwitter=URL|Discord=URL|GitHub=URL|Instagram=URL|YouTube=URL|Blog=URL|Telegram=URL|Facebook=URL|Linkedin=URL|Reddit=URL}}
{{#cargo_declare:_table=DAOs|URL=URL|XTwitter=URL|Discord=URL|GitHub=URL|Instagram=URL|YouTube=URL|Blog=URL|Telegram=URL|Facebook=URL|Linkedin=URL|Reddit=URL|OtherCategories1=String|OtherCategories2=String|OtherCategories3=String}}
</noinclude><includeonly>{{#cargo_store:_table=DAOs}}{| class="wikitable" style="width: 30em; font-size: 90%; border: 1px solid #aaaaaa; background-color: #f0f4f7; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; text-align:left;"
</noinclude><includeonly>{{#cargo_store:_table=DAOs}}{| class="wikitable" style="width: 30em; font-size: 90%; border: 1px solid #aaaaaa; background-color: #f0f4f7; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; text-align:left;"
! style="text-align: center; background-color:#86c8fc;" colspan="2" |<span style="font-size: larger;">{{PAGENAME}}</span>
! style="text-align: center; background-color:#86c8fc;" colspan="2" |<span style="font-size: larger;">{{PAGENAME}}</span>
Line 63: Line 66:
tables=SatelliteEvents
tables=SatelliteEvents
|fields=MainEvent,StartDate,EventName,URL,EventType,CONCAT('[[',LocationName,']]')=LocationName,Address1,Address2,City,ZipCode,MapLink,CONCAT('[[',Host1,']]')=Host1,CONCAT(', [[',Host2,']]')=Host2,CONCAT(', [[',Host3,']]')=Host3,CONCAT(', [[',Host4,']]')=Host4,CONCAT(', [[',Host5,']]')=Host5,CONCAT(', [[',Host6,']]')=Host6,CONCAT(', [[',Host7,']]')=Host7,CONCAT(', [[',Host8,']]')=Host8,CONCAT(', [[',Host9,']]')=Host9,CONCAT(', [[',Host10,']]')=Host10,CONCAT(', [[',Host11,']]')=Host11,CONCAT(', [[',Host12,']]')=Host12,CONCAT(', [[',Host13,']]')=Host13,CONCAT(', [[',Host14,']]')=Host14,CONCAT(', [[',Host15,']]')=Host15
|fields=MainEvent,StartDate,EventName,URL,EventType,CONCAT('[[',LocationName,']]')=LocationName,Address1,Address2,City,ZipCode,MapLink,CONCAT('[[',Host1,']]')=Host1,CONCAT(', [[',Host2,']]')=Host2,CONCAT(', [[',Host3,']]')=Host3,CONCAT(', [[',Host4,']]')=Host4,CONCAT(', [[',Host5,']]')=Host5,CONCAT(', [[',Host6,']]')=Host6,CONCAT(', [[',Host7,']]')=Host7,CONCAT(', [[',Host8,']]')=Host8,CONCAT(', [[',Host9,']]')=Host9,CONCAT(', [[',Host10,']]')=Host10,CONCAT(', [[',Host11,']]')=Host11,CONCAT(', [[',Host12,']]')=Host12,CONCAT(', [[',Host13,']]')=Host13,CONCAT(', [[',Host14,']]')=Host14,CONCAT(', [[',Host15,']]')=Host15
|where= SatelliteEvents.Host1= '{{PAGENAME}}' OR SatelliteEvents.Host2= '{{PAGENAME}}' OR SatelliteEvents.Host3= '{{PAGENAME}}' OR SatelliteEvents.Host4= '{{PAGENAME}}' OR SatelliteEvents.Host5= '{{PAGENAME}}'
|where= SatelliteEvents.Host1= '{{PAGENAME}}' OR SatelliteEvents.Host2= '{{PAGENAME}}' OR SatelliteEvents.Host3= '{{PAGENAME}}' OR SatelliteEvents.Host4= '{{PAGENAME}}' OR SatelliteEvents.Host5= '{{PAGENAME}}' OR SatelliteEvents.Host6= '{{PAGENAME}}' OR SatelliteEvents.Host7= '{{PAGENAME}}' OR SatelliteEvents.Host8= '{{PAGENAME}}' OR SatelliteEvents.Host9= '{{PAGENAME}}' OR SatelliteEvents.Host10= '{{PAGENAME}}' OR SatelliteEvents.Host11= '{{PAGENAME}}' OR SatelliteEvents.Host12= '{{PAGENAME}}' OR SatelliteEvents.Host13= '{{PAGENAME}}' OR SatelliteEvents.Host14= '{{PAGENAME}}' OR SatelliteEvents.Host15= '{{PAGENAME}}'
|format=template
|format=template
|template=CityTemplateRowDisplay
|template=CityTemplateRowDisplay
|named args=yes
|named args=yes
|order by=StartDate DESC
|order by=StartDate DESC
}}
{{#cargo_query:
tables=DAOs
|fields=CONCAT('[[Category:',OtherCategories1,']]')=OtherCategories1,CONCAT(' [[Category:',OtherCategories2,']]')=OtherCategories2,CONCAT('[[Category:',OtherCategories3,']]')=OtherCategories3
|where=DAOs._pageName= '{{PAGENAME}}'
|format=template
|template=Web3OrgMultipleCategories
|named args=yes
}}
}}


[[Category:DAOs]]
[[Category:DAOs]]
</includeonly>
</includeonly>

Latest revision as of 03:57, 29 January 2024

This is the "DAO" template. It should be called in the following format:

{{DAO
|URL=
|XTwitter=
|Discord=
|GitHub=
|Instagram=
|YouTube=
|Blog=
|Telegram=
|Facebook=
|Linkedin=
|Reddit=
|OtherCategories1=
|OtherCategories2=
|OtherCategories3=
}}

Edit the page to see the template text. This template defines the table "DAOs". View table.