Difference between revisions of "Template:Infobox project sandbox"
Jump to navigation
Jump to search
(Add link to FAQ entry about access) |
(archiving_type: link to DPoS when specified; because #replace isn't powerful enough (e.g. case-insensitive replaces), this requires restricting the case variations to just one casing again, else this template would become insane and difficult to extend in the future) |
||
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:,{{#replace | | width=125px | '''Archiving type''' || | ||
<includeonly> | |||
{{ #if: {{#pos:,{{#replace:{{{archiving_type|}}}| |}},|,DPoS,}} | [[Category:DPoS project]] }} | |||
{{ #if: {{#pos:,{{#replace:{{{archiving_type|}}}| |}},|,ArchiveBot,}} | [[Category:ArchiveBot project]] }} | |||
</includeonly> | |||
{{ #if: {{{archiving_type|}}} | |||
| {{ #ifeq: {{#replace:{{#replace:{{#replace:{{#replace:,{{{archiving_type}}},| |}}|,DPoS,|,}}|,ArchiveBot,|,}}|,other,|,}} |, | |||
| {{#replace:{{{archiving_type}}}|DPoS|[[DPoS]]}} | |||
| '''{{Red|Error parsing archiving_type: {{{archiving_type}}}}}''' | |||
}} | |||
| {{Grey|Unknown}} | |||
}} | |||
|- | |- | ||
{{ #if: {{{source|}}} {{#pos:,{{#replace:{{lc:{{{archiving_type|}}}}}| |}},|, | {{ #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:,{{#replace:{{lc:{{{archiving_type|}}}}}| |}},|, | {{ #if: {{{tracker|}}} {{#pos:,{{#replace:{{lc:{{{archiving_type|}}}}}| |}},|,DPoS,}} | ||
| {{!}} width=125px {{!}} '''Project tracker''' {{!}}{{!}} {{{tracker|{{Grey|Unknown}}}}} | | {{!}} width=125px {{!}} '''Project tracker''' {{!}}{{!}} {{{tracker|{{Grey|Unknown}}}}} | ||
{{!}}- | {{!}}- | ||
Line 71: | Line 82: | ||
* 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> | * 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> | * 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> | * 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 |
Revision as of 01:42, 27 October 2021
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 = | 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}}