Difference between revisions of "Template:Infobox project sandbox"

From Archiveteam
Jump to navigation Jump to search
(archiving_type categories)
m (Fix spacing issue on archiving type row)
 
(7 intermediate revisions by the same user not shown)
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''' || <includeonly>{{ #if: {{#pos:,{{{archiving_type|}}},|,dpos,}} | [[Category:DPoS project]] }}{{ #if: {{#pos:,{{{archiving_type|}}},|,archivebot,}} | [[Category:ArchiveBot project]] }} }}</includeonly>{{{archiving_type|{{Grey|Unknown}}}}}
| width=125px | '''Archiving type''' || {{ #if: {{{archiving_type|}}}
  | {{ #ifeq: {{#replace:{{#replace:{{#replace:{{#replace:,{{{archiving_type}}},| |}}|,DPoS,|,}}|,ArchiveBot,|,}}|,other,|,}} |,
      | {{#replace:{{#replace:{{#replace:{{{archiving_type}}}| |}}|,|,<nowiki/> <nowiki/>}}|DPoS|[[DPoS]]}}
      | '''{{Red|Error parsing archiving_type: {{{archiving_type}}}}}'''
    }}
  | {{Grey|Unknown}}
}}
|-
|-
{{ #if: {{{source|}}} {{#pos:,{{{archiving_type|}}},|,dpos,}}
{{ #if: {{{source|}}} {{#pos:,{{#replace:{{lc:{{{archiving_type|}}}}}| |}},|,DPoS,}}
   | {{!}} width=125px {{!}} '''Project source''' {{!}}{{!}} {{{source|{{Grey|Unknown}}}}}
   | {{!}} width=125px {{!}} '''Project source''' {{!}}{{!}} {{{source|{{Grey|Unknown}}}}}
     {{!}}-
     {{!}}-
}}
}}
{{ #if: {{{tracker|}}} {{#pos:,{{{archiving_type|}}},|,dpos,}}
{{ #if: {{{tracker|}}} {{#pos:,{{#replace:{{lc:{{{archiving_type|}}}}}| |}},|,DPoS,}}
   | {{!}} width=125px {{!}} '''Project tracker''' {{!}}{{!}} {{{tracker|{{Grey|Unknown}}}}}
   | {{!}} width=125px {{!}} '''Project tracker''' {{!}}{{!}} {{{tracker|{{Grey|Unknown}}}}}
     {{!}}-
     {{!}}-
}}
}}
| width=125px | '''IRC channel''' || {{ #if: {{{irc_abandoned|}}} | {{IRC|archiveteam-bs}}<br /><small>(formerly {{IRC|{{{irc|archiveteam}}}|{{{irc_network|}}}}})</small> | {{IRC|{{{irc|archiveteam}}}|{{{irc_network|}}}}} }}
| width=125px | '''IRC channel''' || {{#if:{{{irc|}}}|{{IRC|{{{irc}}}|network={{{irc_network|}}}|abandoned={{{irc_abandoned|}}}|abandoned_render_mode=br+small}}|{{IRC|archiveteam-bs}}}}
|-
|-
{{ #if: {{{lead|}}}
{{ #if: {{{lead|}}}
Line 36: Line 42:
}}
}}
{{ #if: {{{data|}}}
{{ #if: {{{data|}}}
   | {{!}} width=125px {{!}} '''Data''' {{!}}{{!}} {{{data}}}
   | {{!}} width=125px {{!}} '''Data'''<sup>[[Frequently Asked Questions#faq_data_access|?]]</sup> {{!}}{{!}} {{{data}}}
     {{!}}-
     {{!}}-
}}
}}
|}<noinclude>
|}<includeonly>{{ #if: {{#pos:,{{#replace:{{{archiving_type|}}}| |}},|,DPoS,}} | [[Category:DPoS project]] }}{{ #if: {{#pos:,{{#replace:{{{archiving_type|}}}| |}},|,ArchiveBot,}} | [[Category:ArchiveBot project]] }}</includeonly><noinclude>


'''This is a sandbox for playing around with the {{tl|Infobox project}} template. It should never be used anywhere outside of tests.'''
'''This is a sandbox for playing around with the {{tl|Infobox project}} template. It should never be used anywhere outside of tests.'''
Line 71: Line 77:
* 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: <code>dpos</code> for DPoS projects (adds the page to [[:Category:DPoS projects]]), <code>archivebot</code> for things covered with [[ArchiveBot]] ([[:Category:ArchiveBot projects]]), <code>other</code> for anything else (manual grabs, etc.); can be combined with commas, e.g. <code>dpos,archivebot</code>.
* Archiving type: <code>DPoS</code> for DPoS projects (adds the page to [[:Category:DPoS projects]] and links to [[DPoS]]), <code>ArchiveBot</code> for things covered with [[ArchiveBot]] ([[:Category:ArchiveBot projects]]), <code>other</code> for anything else (manual grabs, etc.); can be combined with commas and optional spaces; e.g. <code>DPoS, ArchiveBot</code>.
* 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 includes <code>dpos</code>.
* 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 includes <code>DPoS</code>.
* 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 includes <code>dpos</code>.
* 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 includes <code>DPoS</code>.
* IRC: IRC channel in EFnet for coordination, if any (no # needed, for example: archiveteam or urlteam)
* IRC: IRC channel in EFnet for coordination, if any (no # needed, for example: archiveteam or urlteam)
* IRC network: IRC network, if not EFnet. See {{tl|IRC}} documentation for options
* IRC network: IRC network, if not EFnet. See {{tl|IRC}} documentation for options

Latest revision as of 01:27, 28 October 2021

Infobox project sandbox
Status Unknown
Archiving status Unknown
Archiving type Unknown
IRC channel #archiveteam-bs (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 = 
| irc_network = 
| irc_abandoned = 
| 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: DPoS for DPoS projects (adds the page to Category:DPoS projects and links to DPoS), ArchiveBot for things covered with ArchiveBot (Category:ArchiveBot projects), other for anything else (manual grabs, etc.); can be combined with commas and optional spaces; e.g. DPoS, ArchiveBot.
  • 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 includes DPoS.
  • 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 includes DPoS.
  • IRC: IRC channel in EFnet for coordination, if any (no # needed, for example: archiveteam or urlteam)
  • IRC network: IRC network, if not EFnet. See {{IRC}} documentation for options
  • IRC channel abandoned: Set this to a non-empty value after decommissioning a project to direct people to the general discussion channel (#archiveteam-bs (on hackint)) instead.
  • 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}}