|
|
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,
| |
| 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}}}
| |
| |Platform = {{{Platform}}}
| |
| |Views = {{{Views}}}
| |
| |GainedFollowers = {{{GainedFollowers}}}
| |
| |Followers = {{{Followers}}}
| |
| |Activities = {{{Activities}}}
| |
| }}
| |
|
| |
| <!-- Query and display all dissemination records in a table -->
| |
| {{#ask: [[-Has subobject::{{FULLPAGENAME}}]]
| |
| |?DisseminationID
| |
| |?Platform
| |
| |?Views
| |
| |?GainedFollowers
| |
| |?Followers
| |
| |?Activities
| |
| |format=table
| |
| |class=datatable
| |
| |format=datatables
| |
| |mainlabel=-
| |
| |header=show
| |
| }}
| |