User:Vaileasys/sandbox: Difference between revisions

From PZwiki
(moving contents to other sandboxes)
(add more todo and vector-2022.css)
 
(37 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{languages|Items}}
<div class="sitenotice-card">
{{header|The Game World|Items|pagename=Items|version=Version 40|incver=43}}
<div class="image-container-left">
{| class="nounderlines button" cellspacing="2px" align="center" style="text-align:center; font-size:16px;"
[[File:Spiffo rummage.png|64px]]
|{{#ifeq: {{FULLPAGENAME}} | User:Vaileasys/sandbox | style="width:100px; background-color:#821E21; " | class="button" style="width:100px;"}} | [[User:Vaileasys/sandbox|<span style="color:white;">Clothing</span>]]
</div>
|{{#ifeq: {{FULLPAGENAME}} | User:Vaileasys/sandbox 2 | style="width:100px; background-color:#821E21; " | class="button" style="width:100px;"}} | [[User:Vaileasys/sandbox 2|<span style="color:white;">Equipment</span>]]
<div>
|{{#ifeq: {{FULLPAGENAME}} | User:Vaileasys/sandbox 3 | style="width:100px; background-color:#821E21; " | class="button" style="width:100px;"}} | [[User:Vaileasys/Sandbox|<span style="color:white;">Food</span>]]
'''Wiki maintenance!'''
|{{#ifeq: {{FULLPAGENAME}} | User:Vaileasys/sandbox 4 | style="width:100px; background-color:#821E21; " | class="button" style="width:100px;"}} | [[User:Vaileasys/sandbox 3|<span style="color:white;">Other</span>]]
|}


<div style="float:right; margin-right:10px;">__TOC__</div>
The wiki will be undergoing some maintenance while we modify the default theme.<br>
This page contains a list of all '''items''' found in {{T|Project Zomboid}}.
Notice any oddities or want to provide feedback? Let us know on the [[PZwiki_talk:Community_portal/Wiki_theme|discussion page]] or the [https://discord.com/channels/136501320340209664/473467044050894858 pzwiki discord channel].
=={{Translation|Clothing}}==
</div>
{{Main|Clothing}}
<div class="image-container-right">
==={{Translation|Bag}}===
[[File:Be crafty.png|64px]]
{{See|Bags}}
</div>
{| class="pztable sortable" style="text-align:center;"
</div>
! width="50px" | Icon
! width="200px" | Name
! width="50px" | [[File:Moodle_heavyLoad.png|link=Moodles#Heavy Load|Weight]]
! width="220px" | Base ID
|-
| [[File:Duffelbag.png|link={{Translation|Big Hiking Bag}}]]
| {{T|Big Hiking Bag}}
| 0.5
| {{ID|Base.BigHikingBag}}
|-
| [[File:Duffelbag.png|link={{Translation|Duffelbag}}]]
| {{T|Duffelbag}}
| 1.0
| {{ID|Base.Duffelbag}}
|-
| [[File:FirstAid.png|link={{Translation|First Aid Kit}}]]
| {{T|First Aid Kit}}
| 1.0
| {{ID|Base.FirstAidKit}}
|-
| [[File:Garbagebag.png|link={{Translation|Garbage Bag}}]]
| {{T|Garbage Bag}}
| 0.1
| {{ID|Base.Garbagebag}}
|-
| [[File:Duffelbag.png|link={{Translation|Normal Hiking Bag}}]]
| {{T|Normal Hiking Bag}}
| 0.5
| {{ID|Base.NormalHikingBag}}
|-
| [[File:Plasticbag.png|link={{Translation|Plastic Bag}}]]
| {{T|Plastic Bag}}
| 0.1
| {{ID|Base.Plasticbag}}
|-
| [[File:Purse.png|link={{Translation|Purse}}]]
| {{T|Purse}}
| 0.5
| {{ID|Base.Purse}}
|-
| [[File:SandbagEmpty.png|link={{Translation|Sack}}]]
| {{T|Sack}}
| 0.1
| {{ID|Base.EmptySandbag}}
|-
| [[File:Backpack.png|link={{Translation|Schoolbag}}]]
| {{T|Schoolbag}}
| 0.5
| {{ID|Base.Schoolbag}}
|-
| [[File:Tote.png|link={{Translation|Tote Bag}}]]
| {{T|Tote Bag}}
| 0.5
| {{ID|Base.Tote}}
|-
|}


==={{Translation|Eyes}}===
'''[[MediaWiki:Common.css|Common.css]]'''
{| class="pztable sortable" style="text-align:center;"
<syntaxhighlight lang="css">
! width="50px" | Icon
/* Mediawiki:Sitenotice */
! width="200px" | Name
.sitenotice-card {
! width="50px" | [[File:Moodle_heavyLoad.png|link=Moodles#Heavy Load|Weight]]
    display: flex;
! width="220px" | Base ID
    justify-content: space-between;
|-
    align-items: center
| [[File:Glasses1.png|link={{Translation|Glasses}}]]
    text-align: center;
| {{T|Glasses}}
    background-color: #f8f9fa;
| 0.2
    padding: 0.5rem 1rem;
| {{ID|Base.Glasses}}
    border-bottom: 1px solid #eaecf0;
|-
    width: auto;
| [[File:Glasses2.png|link={{Translation|Glasses}}]]
}
| {{T|Glasses}}
| 0.2
| {{ID|Base.Glasses2}}
|-
|}


==={{Translation|Face}}===
.sitenotice-card > div {
{| class="pztable sortable" style="text-align:center;"
    display: flex;
! width="50px" | Icon
    flex-direction: column
! width="200px" | Name
}
! width="50px" | [[File:Moodle_heavyLoad.png|link=Moodles#Heavy Load|Weight]]
! width="220px" | Base ID
|-
| [[File:WeldingMask.png|link={{Translation|Welding Mask}}]]
| {{T|Welding Mask}}
| 0.2
| {{ID|Base.WeldingMask}}
|-
|}


==={{Translation|Feet}}===
.sitenotice-card .image-container-left {
{| class="pztable sortable" style="text-align:center;"
    margin-right: 1rem
! width="50px" | Icon
}
! width="200px" | Name
! width="50px" | [[File:Moodle_heavyLoad.png|link=Moodles#Heavy Load|Weight]]
! width="220px" | Base ID
|-
| [[File:Shoes.png|link={{Translation|Shoes}}]]
| {{T|Shoes}}
| 1.0
| {{ID|Base.Shoes}}
|-
| [[File:Socks1.png|link={{Translation|Socks}}]]
| {{T|Socks}}
| 0.01
| {{ID|Base.Socks1}}
|-
| [[File:Socks2.png|link={{Translation|Socks}}]]
| {{T|Socks}}
| 0.01
| {{ID|Base.Socks2}}
|-
|}


==={{Translation|Hands}}===
.sitenotice-card .image-container-right {
{| class="pztable sortable" style="text-align:center;"
    margin-left: 1rem
! width="50px" | Icon
}
! width="200px" | Name
/* hide images if screen size is less than 720px */
! width="50px" | [[File:Moodle_heavyLoad.png|link=Moodles#Heavy Load|Weight]]
@media screen and (max-width: 719px) {
! width="220px" | Base ID
    .sitenotice-card .image-container-left,
|-
    .sitenotice-card .image-container-right {
|}
        display:none
    }
}
</syntaxhighlight>


==={{Translation|Hat}}===
'''[[MediaWiki:Vector-2022.css|Vector-2022.css]]'''
{| class="pztable sortable" style="text-align:center;"
<syntaxhighlight lang="css">
! width="50px" | Icon
.vector-sitenotice-container {
! width="200px" | Name
    display: flex;
! width="50px" | [[File:Moodle_heavyLoad.png|link=Moodles#Heavy Load|Weight]]
    justify-content: center;
! width="220px" | Base ID
    align-items: center;
|-
}
|}


==={{Translation|Jacket}}===
.sitenotice-card {
{| class="pztable sortable" style="text-align:center;"
    box-sizing: border-box;
! width="50px" | Icon
    max-width: 1000px;
! width="200px" | Name
    width: 944px;
! width="50px" | [[File:Moodle_heavyLoad.png|link=Moodles#Heavy Load|Weight]]
}
! width="220px" | Base ID
</syntaxhighlight>
|-
| [[File:Jacket.png|link={{Translation|Jacket}}]]
| {{T|Jacket}}
| 1.0
| {{ID|Base.Jacket}}
|-
| [[File:JacketPadded.png|link={{Translation|Padded Jacket}}]]
| {{T|Padded Jacket}}
| 1.0
| {{ID|Base.PaddedJacket}}
|-
|}


==={{Translation|Legs}}===
===TODO===
{| class="pztable sortable" style="text-align:center;"
*add <code>class="text-container"</code> for div with the text, so it can be modified per skin.
! width="50px" | Icon
<syntaxhighLight lang="css">
! width="200px" | Name
.sitenotice-card .text-container {
! width="50px" | [[File:Moodle_heavyLoad.png|link=Moodles#Heavy Load|Weight]]
    /* styles go here */
! width="220px" | Base ID
}
|-
</syntaxhighlight>
| [[File:ShortsLong.png|link={{Translation|Long Shorts}}]]
*consider adding {{code|<p>}} or {{code|<div>}} tag with <code>class="title"</code> for styling the title.
| {{T|Long Shorts}}
<syntaxhighLight lang="css">
| 1.0
.sitenotice-card .text-container .title {
| {{ID|Base.ShortsLong}}
    /* styles go here */
|-
}
| [[File:PaddedTrousers.png|link={{Translation|Padded Pants}}]]
</syntaxhighlight>
| {{T|Padded Pants}}
*create an [[MediaWiki:Anonnotice|anonnotice]] for users that aren't logged in
| 1.0
**wording will be adjusted directing them to create an account to change the theme
| {{ID|Base.PaddedTrousers}}
*Once style implemented, modify to advise how to change the theme
|-
| [[File:Skirt_White.png|link={{Translation|Skirt}}]]
| {{T|Skirt}}
| 1.0
| {{ID|Base.Skirt}}
|-
| [[File:Trousers_White.png|link={{Translation|Pants}}]]
| {{T|Pants}}
| 1.0
| {{ID|Base.Trousers}}
|-
| [[File:Underwear1.png|link={{Translation|Underwear}}]]
| {{T|Underwear}}
| 0.1
| {{ID|Base.Underwear1}}
|-
| [[File:Underwear2.png|link={{Translation|Underwear}}]]
| {{T|Underwear}}
| 0.1
| {{ID|Base.Underwear2}}
|-
|}
 
==={{Translation|Neck}}===
{| class="pztable sortable" style="text-align:center;"
! width="50px" | Icon
! width="200px" | Name
! width="50px" | [[File:Moodle_heavyLoad.png|link=Moodles#Heavy Load|Weight]]
! width="220px" | Base ID
|-
|}
 
==={{Translation|Torso}}===
{| class="pztable sortable" style="text-align:center;"
! width="50px" | Icon
! width="200px" | Name
! width="50px" | [[File:Moodle_heavyLoad.png|link=Moodles#Heavy Load|Weight]]
! width="220px" | Base ID
|-
| [[File:Vest_White.png|link={{Translation|Vest}}]]
| {{T|Vest}}
| 1.0
| {{ID|Base.Vest}}
|-
| [[File:Sweater_White.png|link={{Translation|Blouse}}]]
| {{T|Blouse}}
| 1.0
| {{ID|Base.Blouse}}
|-
| [[File:Sweater_White.png|link={{Translation|Sweater}}]]
| {{T|Sweater}}
| 1.0
| {{ID|Base.Sweater}}
|-
|}

Latest revision as of 09:40, 29 March 2024

Spiffo rummage.png

Wiki maintenance!

The wiki will be undergoing some maintenance while we modify the default theme.
Notice any oddities or want to provide feedback? Let us know on the discussion page or the pzwiki discord channel.

Be crafty.png

Common.css

/* Mediawiki:Sitenotice */
.sitenotice-card {
    display: flex;
    justify-content: space-between;
    align-items: center
    text-align: center;
    background-color: #f8f9fa;
    padding: 0.5rem 1rem;
    border-bottom: 1px solid #eaecf0;
    width: auto;
}

.sitenotice-card > div {
    display: flex;
    flex-direction: column
}

.sitenotice-card .image-container-left {
    margin-right: 1rem
}

.sitenotice-card .image-container-right {
    margin-left: 1rem
}
/* hide images if screen size is less than 720px */
@media screen and (max-width: 719px) {
    .sitenotice-card .image-container-left,
    .sitenotice-card .image-container-right {
        display:none
    }
}

Vector-2022.css

.vector-sitenotice-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.sitenotice-card {
    box-sizing: border-box;
    max-width: 1000px;
    width: 944px;
}

TODO

  • add class="text-container" for div with the text, so it can be modified per skin.
.sitenotice-card .text-container {
    /* styles go here */
}
  • consider adding <p> or <div> tag with class="title" for styling the title.
.sitenotice-card .text-container .title {
    /* styles go here */
}
  • create an anonnotice for users that aren't logged in
    • wording will be adjusted directing them to create an account to change the theme
  • Once style implemented, modify to advise how to change the theme