User:Clément Combier: Difference between revisions
No edit summary Tag: Reverted |
No edit summary Tag: Manual revert |
||
(32 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{#get_web_data: | |||
|url = https://unitapedia.univ-unita.eu/strapi/api/public-disseminations?populate=*,Dissemination.social-media | |||
{{# | |format = json | ||
|data = | |||
DisseminationID = id, | |||
EntryDate = EntryDate, | |||
Platform = platform, | |||
Views = views, | |||
GainedFollowers = gained_followers, | |||
Followers = followers, | |||
Activities = activities | |||
|debug = 1 | |||
}} | |||
{{# | <!-- Store each dissemination as a subobject --> | ||
| | {{#store_external_table: StrapiPublicDissemination | ||
|DisseminationID = {{{DisseminationID}}} | |||
|EntryDate = {{{EntryDate}}} | |||
|Platform = {{{Platform}}} | |||
|Views = {{{Views}}} | |||
|GainedFollowers = {{{GainedFollowers}}} | |||
|Followers = {{{Followers}}} | |||
| | |Activities = {{{Activities}}} | ||
| | |||
| | |||
| | |||
| | |||
| | |||
}} | }} | ||
<!-- Query and display all dissemination records in a table --> | |||
{{#ask: [[-Has subobject::{{FULLPAGENAME}}]] | {{#ask: [[-Has subobject::{{FULLPAGENAME}}]] | ||
|? | |?DisseminationID | ||
|class=datatable | |?EntryDate | ||
|format=datatables | |?Platform | ||
|mainlabel=- | |?Views | ||
|?GainedFollowers | |||
|?Followers | |||
|?Activities | |||
|format=table | |||
|class=datatable | |||
|format=datatables | |||
|mainlabel=- | |||
|header=show | |||
}} | }} |
Latest revision as of 13:52, 28 January 2025