Difference between revisions of "Template:Infobox project sandbox"

From Archiveteam
Jump to navigation Jump to search
(Print a fat, red error if the user doesn't specify the title; document new options)
(Yet another attempt to fix the issue with linebreaks if rows are hidden)
Line 3: Line 3:
| colspan=2 align=center | <big>'''{{{title|<includeonly><strong class="error">Error: No title</strong></includeonly><noinclude>No title</noinclude>}}}'''</big>
| colspan=2 align=center | <big>'''{{{title|<includeonly><strong class="error">Error: No title</strong></includeonly><noinclude>No title</noinclude>}}}'''</big>
|-
|-
{{ #if: {{{logo|}}} |
{{ #if: {{{logo|}}}
   {{!}} colspan=2 align=center {{!}} [[File:{{{logo}}}|100px|{{PAGENAME}} logo]]
   | {{!}} colspan=2 align=center {{!}} [[File:{{{logo}}}|100px|{{PAGENAME}} logo]]
  {{!}}-
    {{!}}-
}}
}}
{{ #if: {{{image|}}} |
{{ #if: {{{image|}}}
   {{!}} colspan=2 align=center {{!}} [[File:{{{image}}}|280px|{{{description|}}}]]{{ #if: {{{description|}}} | <br/>{{{description}}} }}
   | {{!}} colspan=2 align=center {{!}} [[File:{{{image}}}|280px|{{{description|}}}]]{{ #if: {{{description|}}} | <br/>{{{description}}} }}
  {{!}}-
    {{!}}-
}}
}}
{{ #if: {{{URL|{{{url|}}}}}} |
{{ #if: {{{URL|{{{url|}}}}}}
   {{!}} width=125px {{!}} '''URL''' {{!}}{{!}} {{{URL|{{{url|None}}}}}}
   | {{!}} width=125px {{!}} '''URL''' {{!}}{{!}} {{{URL|{{{url|None}}}}}}
  {{!}}-
    {{!}}-
}}
}}
|-
|-
Line 22: Line 22:
| 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: {{{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}}}}} }} }}
|-
|-
{{ #if: {{{source|}}} {{ #ifeq: {{{archiving_type|}}} | warrior | warrior | }} |
{{ #if: {{{source|}}} {{ #ifeq: {{{archiving_type|}}} | 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: {{{archiving_type|}}} | warrior | warrior | }}
   {{!}} width=125px {{!}} '''Project tracker''' {{!}}{{!}} {{{tracker|{{Grey|Unknown}}}}}
   | {{!}} width=125px {{!}} '''Project tracker''' {{!}}{{!}} {{{tracker|{{Grey|Unknown}}}}}
  {{!}}-
    {{!}}-
}}
}}
| width=125px | '''IRC channel''' || {{IRC|{{{irc|archiveteam}}}}}
| width=125px | '''IRC channel''' || {{IRC|{{{irc|archiveteam}}}}}
|{{ #if: {{{lead|}}} |
{{ #if: {{{lead|}}} |
   {{!}} width=125px {{!}} '''Project lead''' {{!}}{{!}} {{{lead|{{Grey|Unknown}}}}}
   | {{!}} width=125px {{!}} '''Project lead''' {{!}}{{!}} {{{lead|{{Grey|Unknown}}}}}
  {{!}}-
    {{!}}-
}}
}}
|{{ #if: {{{data|}}} |
{{ #if: {{{data|}}}
   {{!}} width=125px {{!}} '''Data''' {{!}}{{!}} {{{data}}}
   | {{!}} width=125px {{!}} '''Data''' {{!}}{{!}} {{{data}}}
  {{!}}-
    {{!}}-
}}
}}
|}<noinclude>
|}<noinclude>

Revision as of 00:55, 25 September 2018

No title
Status Unknown
Archiving status Unknown
Archiving type Unknown
IRC channel #archiveteam (on hackint) Project lead Unknown

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/... (mandatory)
  • Logo: a logo of the entity, if relevant; 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.)
  • 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}}