Difference between revisions of "Template:Infobox project sandbox"

From Archiveteam
Jump to navigation Jump to search
(Update docs)
(Add a warrior+other type for projects which have both)
Line 19: Line 19:
| width=125px | '''Archiving status''' || {{{archiving_status|<includeonly>{{Unknown}}</includeonly><noinclude>{{Grey|Unknown}}</noinclude>}}}
| width=125px | '''Archiving status''' || {{{archiving_status|<includeonly>{{Unknown}}</includeonly><noinclude>{{Grey|Unknown}}</noinclude>}}}
|-
|-
| width=125px | '''Archiving type''' || {{ #ifeq: {{{archiving_type|}}} | warrior | <includeonly>{{warrior project}}</includeonly><noinclude>TODO</noinclude> | {{ #ifeq: {{{archiving_type|}}} | other | <includeonly>{{other project}}</includeonly><noinclude>TODO</noinclude> | {{{archiving_type|{{Grey|Unknown}}}}} }} }}
| width=125px | '''Archiving type''' || {{ #ifeq: {{#sub:{{{archiving_type|}}}|0|7}} | warrior | <includeonly>{{warrior project}}</includeonly><noinclude>TODO</noinclude>{{ #ifeq: {{{archiving_type|}}} | warrior+other | <br /> }} | {{ #ifeq: {{#sub:{{{archiving_type|}}}|-5}} | other | <includeonly>{{other project}}</includeonly><noinclude>TODO</noinclude> | {{{archiving_type|{{Grey|Unknown}}}}} }} }}
|-
|-
{{ #if: {{{source|}}} {{ #ifeq: {{{archiving_type|}}} | warrior | warrior | }}
{{ #if: {{{source|}}} {{ #ifeq: {{#sub:{{{archiving_type|}}}|0|7}} | warrior | warrior | }}
   | {{!}} width=125px {{!}} '''Project source''' {{!}}{{!}} {{{source|{{Grey|Unknown}}}}}
   | {{!}} width=125px {{!}} '''Project source''' {{!}}{{!}} {{{source|{{Grey|Unknown}}}}}
     {{!}}-
     {{!}}-
}}
}}
{{ #if: {{{tracker|}}} {{ #ifeq: {{{archiving_type|}}} | warrior | warrior | }}
{{ #if: {{{tracker|}}} {{ #ifeq: {{#sub:{{{archiving_type|}}}|0|7}} | warrior | warrior | }}
   | {{!}} width=125px {{!}} '''Project tracker''' {{!}}{{!}} {{{tracker|{{Grey|Unknown}}}}}
   | {{!}} width=125px {{!}} '''Project tracker''' {{!}}{{!}} {{{tracker|{{Grey|Unknown}}}}}
     {{!}}-
     {{!}}-
Line 69: Line 69:
* Project status: {{tl|online}}, {{tl|closing}}, {{tl|endangered}}, {{tl|specialcase}}, {{tl|offline}}
* Project status: {{tl|online}}, {{tl|closing}}, {{tl|endangered}}, {{tl|specialcase}}, {{tl|offline}}
* Archiving status: {{tl|upcoming}}, {{tl|inprogress}}, {{tl|saved}}, {{tl|partiallysaved}}, {{tl|selfsaved}}, {{tl|nosavedyet}}, {{tl|lost}}, {{tl|unknown}}
* Archiving status: {{tl|upcoming}}, {{tl|inprogress}}, {{tl|saved}}, {{tl|partiallysaved}}, {{tl|selfsaved}}, {{tl|nosavedyet}}, {{tl|lost}}, {{tl|unknown}}
* Archiving type: <tt>warrior</tt> for warrior projects, <tt>other</tt> for anything else (ArchiveBot, manual grabs, etc.)
* Archiving type: <code>warrior</code> for warrior projects, <code>other</code> for anything else (ArchiveBot, manual grabs, etc.), <code>warrior+other</code> in case of both
* Source: a link to the respository holding the source code for the projects archiving scripts, GitHub or otherwise; only displayed when specified or if the archiving type is warrior.
* Source: a link to the respository holding the source code for the projects archiving scripts, GitHub or otherwise; only displayed when specified or if the archiving type is warrior.
* Project tracker: For projects that use a tracking server for coordination, the url of the tracker's status page; only displayed when specified or if the archiving type is warrior.
* Project tracker: For projects that use a tracking server for coordination, the url of the tracker's status page; only displayed when specified or if the archiving type is warrior.

Revision as of 20:35, 25 September 2018

Infobox project sandbox
Status Unknown
Archiving status Unknown
Archiving type Unknown
IRC channel #archiveteam (on hackint)

This is a sandbox for playing around with the {{Infobox project}} template. It should never be used anywhere outside of tests.

Help

{{Infobox project
| title = 
| logo = 
| image = 
| description = 
| URL = 
| project_status = 
| archiving_status = 
| archiving_type = 
| source = 
| tracker = 
| irc = 
| lead = 
| data = 
}}
  • Title: name of the website/service/company/... (defaults to the page title)
  • Logo: a logo of the entity, if relevant; if specified, it must be the name of a file uploaded to the wiki, e.g. Dummy.png to use File:Dummy.png.
  • Image: screenshot of website, real photo... If specified, must be the name of a file uploaded to the wiki, like the logo.
  • Description: image caption (only shown if an image is specified)
  • URL: Internet URL if available
  • Project status: {{online}}, {{closing}}, {{endangered}}, {{specialcase}}, {{offline}}
  • Archiving status: {{upcoming}}, {{inprogress}}, {{saved}}, {{partiallysaved}}, {{selfsaved}}, {{nosavedyet}}, {{lost}}, {{unknown}}
  • Archiving type: warrior for warrior projects, other for anything else (ArchiveBot, manual grabs, etc.), warrior+other in case of both
  • Source: a link to the respository holding the source code for the projects archiving scripts, GitHub or otherwise; only displayed when specified or if the archiving type is warrior.
  • Project tracker: For projects that use a tracking server for coordination, the url of the tracker's status page; only displayed when specified or if the archiving type is warrior.
  • IRC: IRC channel in efnet for coordination, if any (no # needed, for example: archiveteam or urlteam)
  • Project lead: The person responsible for this project, to be contacted with, for instance, questions on dormant projects.
  • Data: link to the archived data, e.g. using {{IA id}}/{{IA item}} or {{Job}}