Template:DAO: Difference between revisions

From Edd's Almanac
Jump to navigation Jump to search
No edit summary
No edit summary
 
(3 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 68: Line 71:
|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.