Difference between revisions of "Template:Infobox project"

From Archiveteam
Jump to navigation Jump to search
(to heck with it, let's remove [[User:]] so that there can be multiple leads.)
(Fix treatment of 'empty' (whitespace-only) values of 'irc' in channel category assignment)
 
(18 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{| width=300px style="border: 1px solid #aaa; background-color: #f9f9f9; color: black; margin: 0.5em 0 0.5em 1em; padding: 0.2em; font-size: 90%;clear: right; float: right;"
{| width=350px style="border: 1px solid #aaa; background-color: #f9f9f9; color: black; margin: 0.5em 0 0.5em 1em; padding: 0.2em; font-size: 90%;clear: right; float: right;"
|-
|-
| colspan=2 align=center | <big>'''{{{title|No title}}}'''</big>
| colspan=2 align=center | <big>'''{{#if:{{{title|}}}|{{{title}}}|{{PAGENAME}}}}'''</big>
|-
|-
| colspan=2 align=center | [[File:{{{logo|Dummy.png}}}|100px|{{PAGENAME}} logo]]
{{ #if: {{{logo|}}}
  | {{!}} colspan=2 align=center {{!}} [[File:{{{logo}}}|100px|{{PAGENAME}} logo]]
    {{!}}-
}}
{{ #if: {{{image|}}}
  | {{!}} colspan=2 align=center {{!}} [[File:{{{image}}}|280px|{{{description|}}}]]{{ #if: {{{description|}}} | <br/>{{{description}}} }}
    {{!}}-
}}
{{ #if: {{{URL|{{{url|}}}}}}
  | {{!}} width=125px {{!}} '''URL''' {{!}}{{!}} {{{URL|{{{url|None}}}}}}
    {{!}}-
}}
| width=125px | '''Status''' || {{#if:{{{project_status|}}}|{{{project_status}}}|{{Grey|Unknown}}}}
|-
|-
| colspan=2 align=center | [[File:{{{image|Employee captured tearing page.png}}}|280px|{{{description|}}}]]<br/>{{{description|}}}
| width=125px | '''Archiving status''' || {{#if:{{{archiving_status|}}}|{{{archiving_status}}}|<includeonly>{{Unknown}}</includeonly><noinclude>{{Grey|Unknown}}</noinclude>}}
|-
|-
| width=125px | '''URL''' || {{{URL|{{{url|None}}}}}}
| width=125px | '''Archiving type''' || {{ #if: {{{archiving_type|}}}
  | {{ #ifeq: {{#replace:{{#replace:{{#replace:{{#replace:,{{{archiving_type}}},| |}}|,DPoS,|,}}|,ArchiveBot,|,}}|,other,|,}} |,
      | {{#replace:{{#replace:{{#replace:{{#replace:{{{archiving_type}}}| |}}|,|,<nowiki/> <nowiki/>}}|DPoS|[[DPoS]]}}|ArchiveBot|[[ArchiveBot]]}}
      | '''{{Red|Error parsing archiving_type: {{{archiving_type}}}}}'''
    }}
  | {{Grey|Unknown}}
}}
|-
|-
| width=125px | '''Project status''' || {{{project_status|{{Grey|Unknown}}}}}
{{ #if: {{{source|}}} {{#pos:,{{#replace:{{lc:{{{archiving_type|}}}}}| |}},|,DPoS,}}
  | {{!}} width=125px {{!}} '''Project source''' {{!}}{{!}} {{{source|{{Grey|Unknown}}}}}
    {{!}}-
}}
{{ #if: {{{tracker|}}} {{#pos:,{{#replace:{{lc:{{{archiving_type|}}}}}| |}},|,DPoS,}}
  | {{!}} width=125px {{!}} '''Project tracker''' {{!}}{{!}} {{{tracker|{{Grey|Unknown}}}}}
    {{!}}-
}}
| width=125px | '''IRC channel''' || {{#if:{{{irc|}}}|{{IRC|{{{irc}}}|network={{{irc_network|}}}|abandoned={{{irc_abandoned|}}}|abandoned_render_mode=br+small}}|{{IRC|archiveteam-bs}}}}
|-
|-
| width=125px | '''Archiving status''' || {{{archiving_status|<includeonly>{{Unknown}}</includeonly><noinclude>{{Grey|Unknown}}</noinclude>}}}
{{ #if: {{{lead|}}}
|-
  | {{!}} width=125px {{!}} '''Project lead''' {{!}}{{!}} {{{lead|{{Grey|Unknown}}}}}
| width=125px | '''Project source''' || {{{source|{{Grey|Unknown}}}}}
    {{!}}-
|-
}}
| width=125px | '''Project tracker''' || {{{tracker|{{Grey|Unknown}}}}}
{{ #if: {{{data|}}}
|-
  | {{!}} width=125px {{!}} '''Data'''<sup><nowiki>[</nowiki>[[Frequently Asked Questions#faq_data_access|how to use]]<nowiki>]</nowiki></sup> {{!}}{{!}} {{{data}}}
| width=125px | '''IRC channel''' || {{IRC|{{{irc|archiveteam}}}}}
    {{!}}-
|-
}}
| width=125px | '''Project lead''' || {{{lead|{{Grey|Unknown}}}}}
|}<includeonly>{{ #if: {{#pos:,{{#replace:{{{archiving_type|}}}| |}},|,DPoS,}} | [[Category:DPoS project]] }}{{ #if: {{#pos:,{{#replace:{{{archiving_type|}}}| |}},|,ArchiveBot,}} | [[Category:ArchiveBot project]] }}{{ #ifeq: {{#replace:{{#replace:{{{irc|archiveteam-bs}}}| |}}|archiveteam-bs|}} |||{{ #if: {{{irc_abandoned|}}}|[[Category:Project with a decommissioned dedicated IRC channel]]|[[Category:Project with an active dedicated IRC channel]]}}}}</includeonly><noinclude>
|}<noinclude>


== Help ==
== Help ==
Line 32: Line 57:
| project_status =  
| project_status =  
| archiving_status =  
| archiving_status =  
| source =
| archiving_type =
| source =  
| tracker =  
| tracker =  
| irc =  
| irc =  
| leader =
| irc_network =
| irc_abandoned =
| lead =
| data =  
}}
}}
</pre>
</pre>


* Title: name of the project
* Title: name of the website/service/company/... (defaults to the page title)
* Image: screenshot of website, real photo...
* Logo: a logo of the entity, if relevant; if specified, it must be the name of a file uploaded to the wiki, e.g. <tt>Dummy.png</tt> to use [[:File:Dummy.png]].
* Description: image caption
* 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
* URL: Internet URL if available
* Project status: {{tl|online}}, {{tl|closing}}, {{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|onhiatus}}, {{tl|lost}}, {{tl|unknown}}
* Source: a link to the respository holding the source code for the projects archiving scripts, GitHub or otherwise
* 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>.
* Project tracker: For projects that use a tracking server for coordination, the url of the tracker's status page
* 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>.
* IRC: IRC channel in efnet for coordination, if any (no # needed, for example: archiveteam or urlteam)
* 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 on hackint for coordination, if any (no # needed, for example: archiveteam or urlteam)
* IRC network: IRC network, if not hackint. See {{tl|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 ({{IRC|archiveteam-bs}}) instead.
* Project lead: The person responsible for this project, to be contacted with, for instance, questions on dormant projects.
* 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 {{tl|IA id}} or {{tl|Job}}


[[Category:Templates]]</noinclude>
[[Category:Templates]]</noinclude>

Latest revision as of 19:50, 8 September 2023

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

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}}, {{onhiatus}}, {{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 on hackint for coordination, if any (no # needed, for example: archiveteam or urlteam)
  • IRC network: IRC network, if not hackint. 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}} or {{Job}}