Template:Repository fetch: Difference between revisions

From Indian River Lagoon Project
mNo edit summary
mNo edit summary
Line 20: Line 20:
|format=CSV with header
|format=CSV with header
|data=Title=Title,Type=Type,Count=Count,Size=Size,Author=Author,Publication=Publication,Publisher=Publisher,Published=Published,Waterbody=Waterbody,Region=Region,Description=Description,Image=Image,URL=URL,Archived=Archived,ArchiveURL=ArchiveURL }}
|data=Title=Title,Type=Type,Count=Count,Size=Size,Author=Author,Publication=Publication,Publisher=Publisher,Published=Published,Waterbody=Waterbody,Region=Region,Description=Description,Image=Image,URL=URL,Archived=Archived,ArchiveURL=ArchiveURL }}


<!-- Store Fetched Data -->
<!-- Store Fetched Data -->
{{#display_external_table:template=Repository store|data=Title=Title,Type=Type,Count=Count,Size=Size,Author=Author,Publication=Publication,Publisher=Publisher,Published=Published,Waterbody=Waterbody,Region=Region,Description=Description,Image=Image,URL=URL,Archived=Archived,ArchiveURL=ArchiveURL }}
{{#display_external_table:template=Repository store|data=Title=Title,Type=Type,Count=Count,Size=Size,Author=Author,Publication=Publication,Publisher=Publisher,Published=Published,Waterbody=Waterbody,Region=Region,Description=Description,Image=Image,URL=URL,Archived=Archived,ArchiveURL=ArchiveURL }}

Revision as of 17:59, April 30, 2023

View Repository Data Table | View Repository Page

This template uses Extension:externaldata to fetch data from a local csv file, and then sends it to Template:Repository_store, which creates a database table (if doesn't exist), and stores the fetched data.

Edit this template for instructions.