Template:User project: Difference between revisions

From PZwiki
(Fix image)
m (Add Project Lore)
Line 17: Line 17:
:Will indicate that the user is a project ''leader'' instead of a ''contributor'' if not empty.
:Will indicate that the user is a project ''leader'' instead of a ''contributor'' if not empty.
;<code>hidecat</code>
;<code>hidecat</code>
:Usually keep it default. If not empty then it will not add the user to certain language category.
:Usually keep it default. If not empty, then it will not add the user to a certain language category.


{{Translation guide}}
{{Translation guide}}
Line 28: Line 28:
| logo = {{#switch:{{{1|}}}
| logo = {{#switch:{{{1|}}}
   | Build 41 Update = [[File:SpiffoBuilder.png|60px|link=PZwiki:Project Build 41 Update|Build 41 Update]]
   | Build 41 Update = [[File:SpiffoBuilder.png|60px|link=PZwiki:Project Build 41 Update|Build 41 Update]]
  | Build 42 Preparation = [[File:Bull Preview.png|40px|link=PZwiki:Project Build 42 Preparation|Build 42 Preparation]]
   | Electricals and Transmission = [[File:TvAntique World.png|60px|link=PZwiki:Project Electricals and Transmission|Electricals and Transmission]]
   | Electricals and Transmission = [[File:TvAntique World.png|60px|link=PZwiki:Project Electricals and Transmission|Electricals and Transmission]]
   | Locations and Maps = [[File:SpiffoMascot Nametag-copy jobs.png|40px|link=PZwiki:Project Locations and Maps|Locations and Maps]]
   | Locations and Maps = [[File:SpiffoMascot Nametag-copy jobs.png|40px|link=PZwiki:Project Locations and Maps|Locations and Maps]]
  | Lore = [[File:SpiffoMascot Nametag-copy jobs.png|40px|link=PZwiki:Project Lore|Lore]]
   | Navigation and Categories = [[File:Furniture Pickup.png|60px|link=PZwiki:Project Navigation and Categories|Navigation and Categories]]
   | Navigation and Categories = [[File:Furniture Pickup.png|60px|link=PZwiki:Project Navigation and Categories|Navigation and Categories]]
   | Seat Yourself Furniture = <!--[[File:RedDinnerChair.png|40px|link=]]-->[[File:DarkFancyChair.png|40px|link=PZwiki:Project Seat Yourself Furniture|Seat Yourself Furniture]]
   | Seat Yourself Furniture = <!--[[File:RedDinnerChair.png|40px|link=]]-->[[File:DarkFancyChair.png|40px|link=PZwiki:Project Seat Yourself Furniture|Seat Yourself Furniture]]
   | Spiffo's Construction Crew = <!--[[File:SmallTable1.png|60px|link=]]-->[[File:SmallTable3.png|60px|link=PZwiki:Project Spiffo's Construction Crew|Spiffo's Construction Crew]]
   | Spiffo's Construction Crew = <!--[[File:SmallTable1.png|60px|link=]]-->[[File:SmallTable3.png|60px|link=PZwiki:Project Spiffo's Construction Crew|Spiffo's Construction Crew]]
  | Build 42 Preparation = <!--[[File:Bull Preview.png|40px|link=]]-->[[File:Bull Preview.png|40px|link=PZwiki:Project Build 42 Preparation|Build 42 Preparation]]
   | Translations = [[File:AutoTranslated icon.png|60px|link=PZwiki:Project Translations|Translations]]
   | Translations = [[File:AutoTranslated icon.png|60px|link=PZwiki:Project Translations|Translations]]
   | Modding = [[File:Be crafty.png|60px|link=PZwiki:Project Modding|Modding]]
   | Modding = [[File:File:Spiffo computer.jpg|60px|link=PZwiki:Project Modding|Modding]]
   | #default = N/A
   | #default = N/A
   }}
   }}
Line 47: Line 48:
   | Translations
   | Translations
   | Build 42 Preparation
   | Build 42 Preparation
  | Lore
   | Modding = '''{{#ifeq:{{NAMESPACE}}|User|{{BASEPAGENAME}}|XXX}}''' is {{#if:{{{2|}}}|the project ''leader''|a ''contributor''}} of [[PZwiki:Project {{{1}}}|{{{1}}}]].
   | Modding = '''{{#ifeq:{{NAMESPACE}}|User|{{BASEPAGENAME}}|XXX}}''' is {{#if:{{{2|}}}|the project ''leader''|a ''contributor''}} of [[PZwiki:Project {{{1}}}|{{{1}}}]].
   | #default = ''Unknown project name. See [[PZwiki:Community projects]] for a list of projects.''[[Category:Incorrect template usage]]
   | #default = ''Unknown project name. See [[PZwiki:Community projects]] for a list of projects.''[[Category:Incorrect template usage]]

Revision as of 21:47, 22 April 2024

Notebook.pngTemplate Documentation

This userbox is for use on user pages to indicate that the user is a contributor/leader of a community project.

Will add the user page to the appropriate category.

Usage

Syntax

Build 41 Update

XXX is a contributor of Build 41 Update.

Build 41 Update

XXX is the project leader of Build 41 Update.

Parameters

1 Required
Name of the project. See community project for the list of projects. Should be exactly the same as the project page name, omitting the PZwiki:Project prefix.
2
Will indicate that the user is a project leader instead of a contributor if not empty.
hidecat
Usually keep it default. If not empty, then it will not add the user to a certain language category.

How to translate

This template doesn't need to/shouldn't be translated, but you can translate the documentation of this template with the following steps:

  1. Create a subpage of this template with the language code of the language you want to translate to.
  2. Copy the code wrapped in the <noinclude> tag in this template into the page you created.
    {{Translation guide}} template should be removed from the translated documentation.
  3. Translate the page according to the translation requirements of normal pages.

See also

Editors can experiment in this template's sandbox.