User:Vaileasys/sandbox: Difference between revisions

From PZwiki
(more data and adjustments)
(add more todo and vector-2022.css)
 
(18 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{Infobox
<div class="sitenotice-card">
|bodystyle  = width:350px; -moz-box-shadow: 0px 0px 2px 2px #{{Infobox nc|{{{name_colour|}}}}};    <!-- Firefox
<div class="image-container-left">
                        --> -webkit-box-shadow: 0px 0px 2px 2px #{{Infobox nc|{{{name_colour|}}}}}; <!-- Safari & Chrome
[[File:Spiffo rummage.png|64px]]
                        --> box-shadow: 0px 0px 2px 2px #{{Infobox nc|{{{name_colour|}}}}};        <!-- Opera & Edge
</div>
                        --> border: 1px solid #{{Infobox nc|{{{name_colour|}}}}};
<div>
'''Wiki maintenance!'''


| above      = <div style="background: #{{Infobox nc|{{{name_colour|}}}}}; <!--
The wiki will be undergoing some maintenance while we modify the default theme.<br>
                        --> padding: 5px; font-weight: bold; <!--
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].
                        --> text-align: center; font-size: 120%; <!--
</div>
                        --> color:#{{Infobox nc|{{{name_text_colour|}}}|text}};"> <!--
<div class="image-container-right">
                        --> <span class="fn">{{Translation|{{{name|{{{display_name|}}}{{BASEPAGENAME}}}}}}}</span></div>
[[File:Be crafty.png|64px]]
</div>
</div>


| image      = {{#if: {{{model|}}}|[[File:{{{model}}}{{!}}{{Translation|{{{display_name|{{{name|}}}}}}}}{{!}}{{{model_width|200px}}}{{!}}class=pixelart]]|<!--
'''[[MediaWiki:Common.css|Common.css]]'''
          --> {{#if: {{{image|}}}|[[File:{{{image}}}|{{Translation|{{{display_name|{{{name|}}}}}}}}|{{{image_width|128px}}}|class=pixelart]]}} }}
<syntaxhighlight lang="css">
| caption    = {{#if: {{{image_caption|{{{model_caption|}}}}}}|{{{image_caption|{{{model_caption|}}}}}}}}
/* 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;
}


| image2    = {{#if: {{{alternate_image|{{{alternate_image2|{{{alternate_image3|{{{alternate_image4|{{{alternate_image5|{{{alternate_image6|{{{alternate_image7|{{{alternate_image8|{{{alt_image|{{{alt_image2|{{{alt_image3|{{{alt_image4|{{{alt_image5|{{{alt_image6|{{{alt_image7|{{{alt_image8|}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}} <!-- check if any alternate images exist -->
.sitenotice-card > div {
|<table style="margin:auto; border-spacing:4px 2px;"><tr> <!-- create table and table row --> <!--
    display: flex;
alt_image
    flex-direction: column
-->{{#if: {{{alternate_image|{{{alt_image|}}}}}}
}
  |<td style="width:32px; padding:2px; background-color:#eee; border: 1px solid #{{Infobox nc|{{{name_colour|}}}}}; margin:auto;"> <!--
                        --> [[File:{{{alternate_image|{{{alt_image}}}}}}{{#if:{{{alternate_link|{{{alt_link|}}}}}}|{{!}}link={{{alternate_link|{{{alt_link}}}}}}}}{{#if: {{{alternate_name|{{{alt_name|}}}}}} |{{!}}{{Translation|{{{alternate_name|{{{alt_name}}}}}}}} }}|{{{alternate_width|{{{alt_width|32px}}}}}}]]</td>}}<!--
alt_image2
-->{{#if: {{{alternate_image2|{{{alt_image2|}}}}}}
  |<td style="width:32px; padding:2px; background-color:#eee; border: 1px solid #{{Infobox nc|{{{name_colour|}}}}}; margin:auto;"> <!--
                        --> [[File:{{{alternate_image2|{{{alt_image2}}}}}}{{#if:{{{alternate_link2|{{{alt_link2|}}}}}}|{{!}}link={{{alternate_link2|{{{alt_link2}}}}}}}}{{#if: {{{alternate_name2|{{{alt_name2|}}}}}} |{{!}}{{Translation|{{{alternate_name2|{{{alt_name2}}}}}}}} }}|{{{alternate_width2|{{{alt_width2|32px}}}}}}]]</td>}}<!--
alt_image3
-->{{#if: {{{alternate_image3|{{{alt_image3|}}}}}}
  |<td style="width:32px; padding:2px; background-color:#eee; border: 1px solid #{{Infobox nc|{{{name_colour|}}}}}; margin:auto;"> <!--
                        --> [[File:{{{alternate_image3|{{{alt_image3}}}}}}{{#if:{{{alternate_link3|{{{alt_link3|}}}}}}|{{!}}link={{{alternate_link3|{{{alt_link3}}}}}}}}{{#if: {{{alternate_name3|{{{alt_name3|}}}}}} |{{!}}{{Translation|{{{alternate_name3|{{{alt_name3}}}}}}}} }}|{{{alternate_width3|{{{alt_width3|32px}}}}}}]]</td>}}<!--
alt_image4
-->{{#if: {{{alternate_image4|{{{alt_image4|}}}}}}
  |<td style="width:32px; padding:2px; background-color:#eee; border: 1px solid #{{Infobox nc|{{{name_colour|}}}}}; margin:auto;"> <!--
                        --> [[File:{{{alternate_image4|{{{alt_image4}}}}}}{{#if:{{{alternate_link4|{{{alt_link4|}}}}}}|{{!}}link={{{alternate_link4|{{{alt_link4}}}}}}}}{{#if: {{{alternate_name4|{{{alt_name4|}}}}}} |{{!}}{{Translation|{{{alternate_name4|{{{alt_name4}}}}}}}} }}|{{{alternate_width4|{{{alt_width4|32px}}}}}}]]</td>}}<!--
alt_image5
-->{{#if: {{{alternate_image5|{{{alt_image5|}}}}}}
  |<td style="width:32px; padding:2px; background-color:#eee; border: 1px solid #{{Infobox nc|{{{name_colour|}}}}}; margin:auto;"> <!--
                        --> [[File:{{{alternate_image5|{{{alt_image5}}}}}}{{#if:{{{alternate_link5|{{{alt_link5|}}}}}}|{{!}}link={{{alternate_link5|{{{alt_link5}}}}}}}}{{#if: {{{alternate_name5|{{{alt_name5|}}}}}} |{{!}}{{Translation|{{{alternate_name5|{{{alt_name5}}}}}}}} }}|{{{alternate_width5|{{{alt_width5|32px}}}}}}]]</td>}}<!--
alt_image6
-->{{#if: {{{alternate_image6|{{{alt_image6|}}}}}}
  |<td style="width:32px; padding:2px; background-color:#eee; border: 1px solid #{{Infobox nc|{{{name_colour|}}}}}; margin:auto;"> <!--
                        --> [[File:{{{alternate_image6|{{{alt_image6}}}}}}{{#if:{{{alternate_link6|{{{alt_link6|}}}}}}|{{!}}link={{{alternate_link6|{{{alt_link6}}}}}}}}{{#if: {{{alternate_name6|{{{alt_name6|}}}}}} |{{!}}{{Translation|{{{alternate_name6|{{{alt_name6}}}}}}}} }}|{{{alternate_width6|{{{alt_width6|32px}}}}}}]]</td>}}<!--
alt_image7
-->{{#if: {{{alternate_image7|{{{alt_image7|}}}}}}
  |<td style="width:32px; padding:2px; background-color:#eee; border: 1px solid #{{Infobox nc|{{{name_colour|}}}}}; margin:auto;"> <!--
                        --> [[File:{{{alternate_image7|{{{alt_image7}}}}}}{{#if:{{{alternate_link7|{{{alt_link7|}}}}}}|{{!}}link={{{alternate_link7|{{{alt_link7}}}}}}}}{{#if: {{{alternate_name7|{{{alt_name7|}}}}}} |{{!}}{{Translation|{{{alternate_name7|{{{alt_name7}}}}}}}} }}|{{{alternate_width7|{{{alt_width7|32px}}}}}}]]</td>}}<!--
alt_image8
-->{{#if: {{{alternate_image8|{{{alt_image8|}}}}}}
  |<td style="width:32px; padding:2px; background-color:#eee; border: 1px solid #{{Infobox nc|{{{name_colour|}}}}}; margin:auto;"> <!--
                        --> [[File:{{{alternate_image8|{{{alt_image8}}}}}}{{#if:{{{alternate_link8|{{{alt_link8|}}}}}}|{{!}}link={{{alternate_link8|{{{alt_link8}}}}}}}}{{#if: {{{alternate_name8|{{{alt_name8|}}}}}} |{{!}}{{Translation|{{{alternate_name8|{{{alt_name8}}}}}}}} }}|{{{alternate_width8|{{{alt_width8|32px}}}}}}]]</td>}}
</tr></table>}}
{{#if: {{{alternate_image9|{{{alternate_image10|{{{alternate_image11|{{{alternate_image12|{{{alternate_image13|{{{alternate_image14|{{{alternate_image15|{{{alternate_image16|{{{alt_image9|{{{alt_image10|{{{alt_image11|{{{alt_image12|{{{alt_image13|{{{alt_image14|{{{alt_image15|{{{alt_image16|}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}} <!-- check if alternate images 9-16 exist -->
|<table style="margin:auto; border-spacing:4px 2px;"><tr> <!-- create table and new table row --> <!--
alt_image9
-->{{#if: {{{alternate_image9|{{{alt_image9|}}}}}}
  |<td style="width:32px; padding:2px; background-color:#eee; border: 1px solid #{{Infobox nc|{{{name_colour|}}}}}; margin:auto;"> <!--
                        --> [[File:{{{alternate_image9|{{{alt_image9}}}}}}{{#if:{{{alternate_link9|{{{alt_link9|}}}}}}|{{!}}link={{{alternate_link9|{{{alt_link9}}}}}}}}{{#if: {{{alternate_name9|{{{alt_name9|}}}}}} |{{!}}{{Translation|{{{alternate_name9|{{{alt_name9}}}}}}}} }}|{{{alternate_width9|{{{alt_width9|32px}}}}}}]]</td>}} <!--
alt_image10
-->{{#if: {{{alternate_image10|{{{alt_image10|}}}}}}
  |<td style="width:32px; padding:2px; background-color:#eee; border: 1px solid #{{Infobox nc|{{{name_colour|}}}}}; margin:auto;"> <!--
                        --> [[File:{{{alternate_image10|{{{alt_image10}}}}}}{{#if:{{{alternate_link10|{{{alt_link10|}}}}}}|{{!}}link={{{alternate_link10|{{{alt_link10}}}}}}}}{{#if: {{{alternate_name10|{{{alt_name10|}}}}}} |{{!}}{{Translation|{{{alternate_name10|{{{alt_name10}}}}}}}} }}|{{{alternate_width10|{{{alt_width10|32px}}}}}}]]</td>}} <!--
alt_image11
-->{{#if: {{{alternate_image11|{{{alt_image11|}}}}}}
  |<td style="width:32px; padding:2px; background-color:#eee; border: 1px solid #{{Infobox nc|{{{name_colour|}}}}}; margin:auto;"> <!--
                        --> [[File:{{{alternate_image11|{{{alt_image11}}}}}}{{#if:{{{alternate_link11|{{{alt_link11|}}}}}}|{{!}}link={{{alternate_link11|{{{alt_link11}}}}}}}}{{#if: {{{alternate_name11|{{{alt_name11|}}}}}} |{{!}}{{Translation|{{{alternate_name11|{{{alt_name11}}}}}}}} }}|{{{alternate_width11|{{{alt_width11|32px}}}}}}]]</td>}} <!--
alt_image12
-->{{#if: {{{alternate_image12|{{{alt_image12|}}}}}}
  |<td style="width:32px; padding:2px; background-color:#eee; border: 1px solid #{{Infobox nc|{{{name_colour|}}}}}; margin:auto;"> <!--
                        --> [[File:{{{alternate_image12|{{{alt_image12}}}}}}{{#if:{{{alternate_link12|{{{alt_link12|}}}}}}|{{!}}link={{{alternate_link12|{{{alt_link12}}}}}}}}{{#if: {{{alternate_name12|{{{alt_name12|}}}}}} |{{!}}{{Translation|{{{alternate_name12|{{{alt_name12}}}}}}}} }}|{{{alternate_width12|{{{alt_width12|32px}}}}}}]]</td>}} <!--
alt_image13
-->{{#if: {{{alternate_image13|{{{alt_image13|}}}}}}
  |<td style="width:32px; padding:2px; background-color:#eee; border: 1px solid #{{Infobox nc|{{{name_colour|}}}}}; margin:auto;"> <!--
                        --> [[File:{{{alternate_image13|{{{alt_image13}}}}}}{{#if:{{{alternate_link13|{{{alt_link13|}}}}}}|{{!}}link={{{alternate_link13|{{{alt_link13}}}}}}}}{{#if: {{{alternate_name13|{{{alt_name13|}}}}}} |{{!}}{{Translation|{{{alternate_name13|{{{alt_name13}}}}}}}} }}|{{{alternate_width13|{{{alt_width13|32px}}}}}}]]</td>}} <!--
alt_image14
-->{{#if: {{{alternate_image14|{{{alt_image14|}}}}}}
  |<td style="width:32px; padding:2px; background-color:#eee; border: 1px solid #{{Infobox nc|{{{name_colour|}}}}}; margin:auto;"> <!--
                        --> [[File:{{{alternate_image14|{{{alt_image14}}}}}}{{#if:{{{alternate_link14|{{{alt_link14|}}}}}}|{{!}}link={{{alternate_link14|{{{alt_link14}}}}}}}}{{#if: {{{alternate_name14|{{{alt_name14|}}}}}} |{{!}}{{Translation|{{{alternate_name14|{{{alt_name14}}}}}}}} }}|{{{alternate_width14|{{{alt_width14|32px}}}}}}]]</td>}} <!--
alt_image15
-->{{#if: {{{alternate_image15|{{{alt_image15|}}}}}}
  |<td style="width:32px; padding:2px; background-color:#eee; border: 1px solid #{{Infobox nc|{{{name_colour|}}}}}; margin:auto;"> <!--
                        --> [[File:{{{alternate_image15|{{{alt_image15}}}}}}{{#if:{{{alternate_link15|{{{alt_link15|}}}}}}|{{!}}link={{{alternate_link15|{{{alt_link15}}}}}}}}{{#if: {{{alternate_name15|{{{alt_name15|}}}}}} |{{!}}{{Translation|{{{alternate_name15|{{{alt_name15}}}}}}}} }}|{{{alternate_width15|{{{alt_width15|32px}}}}}}]]</td>}} <!--
alt_image16
-->{{#if: {{{alternate_image16|{{{alt_image16|}}}}}}
  |<td style="width:32px; padding:2px; background-color:#eee; border: 1px solid #{{Infobox nc|{{{name_colour|}}}}}; margin:auto;"> <!--
                        --> [[File:{{{alternate_image16|{{{alt_image16}}}}}}{{#if:{{{alternate_link16|{{{alt_link16|}}}}}}|{{!}}link={{{alternate_link16|{{{alt_link16}}}}}}}}{{#if: {{{alternate_name16|{{{alt_name16|}}}}}} |{{!}}{{Translation|{{{alternate_name16|{{{alt_name16}}}}}}}} }}|{{{alternate_width16|{{{alt_width16|32px}}}}}}]]</td>}}
</tr></table>}}


| imagestyle = padding:10px;
.sitenotice-card .image-container-left {
| headerstyle = background-color: #{{Infobox nc|{{{name_colour|}}}}}; color: #{{Infobox nc|{{{name_text_colour|}}}|text}};
    margin-right: 1rem
| labelstyle = background-color:#eee; width:50%;
}
| datastyle  = width:50%;


<!-- ## GENERAL ## -->
.sitenotice-card .image-container-right {
| header1    = {{Translation|General}}
    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
    }
}
</syntaxhighlight>


| label2    = {{Translation|Category}}
'''[[MediaWiki:Vector-2022.css|Vector-2022.css]]'''
| data2      = {{{category|}}}
<syntaxhighlight lang="css">
.vector-sitenotice-container {
    display: flex;
    justify-content: center;
    align-items: center;
}


| label6     = {{Translation|Equipped}}
.sitenotice-card {
| data6      = {{{body_location|{{{equipped|}}}}}}
    box-sizing: border-box;
     max-width: 1000px;
    width: 944px;
}
</syntaxhighlight>


| label3    = {{Translation|Encumbrance}} [[File:Moodle_Icon_HeavyLoad.png|right|link=Moodles{{Subpage}}#{{Translation|Heavy Load}}|{{Translation|Heavy Load}}]]
===TODO===
| data3      = {{{weight|}}}
*add <code>class="text-container"</code> for div with the text, so it can be modified per skin.
 
<syntaxhighLight lang="css">
| label4    = {{Translation|Function}}
.sitenotice-card .text-container {
| data4    = {{{function|}}}
     /* styles go here */
 
}
| label5    = {{Translation|Secondary}}
</syntaxhighlight>
| data5      = {{{secondary_item|}}}
*consider adding {{code|<p>}} or {{code|<div>}} tag with <code>class="title"</code> for styling the title.
 
<syntaxhighLight lang="css">
| label7    = {{Translation|Slots added}}
.sitenotice-card .text-container .title {
| data7      = {{{attachments_provided|}}}
    /* styles go here */
 
}
| label8    = {{Translation|Used in}}
</syntaxhighlight>
| data8      = {{{weapons|}}} <!-- TODO: add weapon# (1-5) -->
*create an [[MediaWiki:Anonnotice|anonnotice]] for users that aren't logged in
 
**wording will be adjusted directing them to create an account to change the theme
| label9    = {{Translation|Part type}}
*Once style implemented, modify to advise how to change the theme
| data9      = {{{part_type|}}}
 
| label10    = {{Translation|Skill type}}
| data10      = {{{skill_type|}}}
 
| label11    = {{Translation|Ammunition}}
| data11    = {{{ammo|}}}
 
| label12    = {{Translation|Magazine size}}
| data12    = {{{clip_size|}}}
 
<!-- ## Properties ## -->
| header31  = {{Translation|Properties}}
 
| label32    = {{Translation|Material}}
| data32    = {{{material|}}}
 
| label33    = {{Translation|{{{material|Material}}}}} {{Translation|quantity}}
| data33    = {{{material_value|}}}
 
| label34    = {{Translation|Contents}}
| data34    = {{{contents|}}}
 
| label35    = {{Translation|Max units}}
| data35    = {{{max_units|}}}
 
| label36    = {{Translation|Capacity}}
| data36    = {{{capacity|}}}
 
| label39    = {{Translation|Weight reduction}}
| data39    = {{{weight_reduction|}}}
 
| label40    = {{Translation|Can boil water}}
| data40    = {{{can_boil_water|}}}
 
| label42    = {{Translation|Consumed}}
| data42    = {{{consumed|}}}
 
| label43    = {{Translation|Writable}}
| data43    = {{{writable|}}}
 
| label44    = {{Translation|Total pages}}
| data44    = {{{page_number|}}}
 
| label45    = {{Translation|Total volumes}}
| data45    = {{{vol_number|}}}
 
| label49    = {{Translation|Packaged}}
| data49    = {{{packaged|}}}
 
| label50    = {{Translation|Rain factor}}
| data50    = {{{rain_factor|}}}
 
| label51    = {{Translation|Days fresh}}
| data51    = {{{days_fresh|}}}
 
| label52    = {{Translation|Days until rotten}}
| data52    = {{{days_rotten|}}}
 
| label53    = {{Translation|Can't be frozen}}
| data53    = {{{cant_be_frozen|}}}
 
| label54    = {{Translation|Condition max.}}
| data54    = {{{condition_max|}}}
 
| label55    = {{Translation|Run speed}}
| data55    = {{{run_speed|}}}
 
| label56    = {{Translation|Combat speed}}
| data56    = {{{combat_speed|}}}
 
| label57    = {{Translation|Scratch defence}}
| data57    = {{{scratch_defense|}}}
 
| label58    = {{Translation|Bite defence}}
| data58    = {{{bite_defense|}}}
 
| label59    = {{Translation|Bullet defence}}
| data59    = {{{bullet_defense|}}}
 
| label60    = {{Translation|Neck protection}}
| data60    = {{{neck_protection|}}}
 
| label61    = {{Translation|Insulation}}
| data61    = {{{insulation|}}}
 
| label62    = {{Translation|Wind resistance}}
| data62    = {{{wind_resistance|}}}
 
| label63    = {{Translation|Water resistance}}
| data63    = {{{water_resistance|}}}
 
| label64    = {{Translation|Light distance}}
| data64    = {{{light_distance|}}}
 
| label65    = {{Translation|Light strength}}
| data65    = {{{light_strength|}}}
 
| label66    = {{Translation|Torch cone}}
| data66    = {{{torch_cone|}}}
 
| label67    = {{Translation|Sensor range}}
| data67    = {{{sensor_range|}}}
 
| label68    = {{Translation|Energy source}}
| data68    = {{{energy_source|}}}
 
| label69    = {{Translation|Portable}}
| data69    = {{{portable|}}}
 
| label70    = {{Translation|Two-way}}
| data70    = {{{two_way|}}}
 
| label71    = {{Translation|Mic range}}
| data71     = {{{mic_range|}}}
 
| label72    = {{Translation|Transmit range}}
| data72    = {{{transmit_range|}}}
 
| label73    = {{Translation|Frequency range}}
| data73    = {{#if:{{{min_channel|{{{max_channel|}}}}}}|{{{min_channel|}}}–{{{max_channel|}}}}}
 
<!-- ## PERFORMANCE ## -->
| header81  = {{Translation|Performance}}
 
| label82    = {{Translation|Damage type}}
| data82    = {{{damage_type|}}}
 
| label83    = {{Translation|Damage}}
| data83    = {{#if:{{{min_damage|{{{max_damage|}}}}}}|{{{min_damage|}}}–{{{max_damage|}}}{{#if:{{{door_damage|}}}|<br>{{{door_damage|}}} <small>([[Door]]s)</small>}}{{#if:{{{tree_damage|}}}|<br>{{{tree_damage|}}} <small>([[Tree]]s)</small>}} }}
 
| label84    = {{Translation|Damage}}
| data84    = {{{DamageModifier|{{{damage_mod|}}}}}}
 
| label85    = {{Translation|Range}}
| data85    = {{#if:{{{min_range|{{{max_range|}}}}}}|{{{min_range|}}}–{{{max_range|}}}}}
 
| label86    = {{Translation|Min. range}}
| data86    = {{{min_range_mod|}}}
 
| label87    = {{Translation|Max. range}}
| data87    = {{{max_range_mod|}}}
 
| label88    = {{Translation|Accuracy}}
| data88    = {{{hit_chance|{{{hit_chance_mod|{{{accuracy_mod|}}}}}}}}}
 
| label89    = {{Translation|Recoil}}
| data89    = {{{recoil_delay|{{{recoil_mod|{{{recoil_delay_mod|}}}}}}}}}
 
| label90    = {{Translation|Noise radius}}
| data90    = {{{sound_radius|}}}
 
| label91    = {{Translation|Attack speed}}
| data91    = {{{base_speed|}}}
 
| label92    = {{Translation|Knockback}}
| data92    = {{{push_back|}}}
 
| label94    = {{Translation|Knockdown}}
| data94    = {{{knockdown|}}}
 
| label95    = {{Translation|Aiming time}}
| data95    = {{{aiming_time|{{{aiming_time_mod|{{{aiming_mod|}}}}}}}}}
 
| label96    = {{Translation|Reload time}}
| data96    = {{{reload_time|{{{reload_time_mod|{{{reload_mod|}}}}}}}}}
 
| label97    = {{Translation|Crit chance}}
| data97    = {{#if:{{{crit_chance|}}}|{{#if:{{{crit_multiplier|}}}|{{tooltip|{{{crit_chance}}}%|Damage multiplied by {{{crit_multiplier}}}}}|{{{crit_chance}}}%}}}}
 
| label98    = {{Translation|Spread}}
| data98    = {{{angle_mod|{{{spread_mod|}}}}}}
 
| label99    = {{Translation|Execution}}
| data99    = {{{kill_move|}}}
 
| label100  = {{Translation|Encumberance mod.}}
| data100    = {{{weight_mod|}}}
 
| label101  = {{Translation|{{{effect_type}}}}} {{Translation|power}}
| data101    = {{{effect_power|}}}
 
| label102  = {{Translation|{{{effect_type}}}}} {{Translation|range}}
| data102    = {{#if:{{{effect_range|}}}|{{{effect_range}}} {{Translation|tiles}}}}
 
| label103  = {{Translation|{{{effect_type}}}}} {{Translation|timer}}
| data103    = {{{effect_timer|}}}
 
<!-- ## NUTRITION ## -->
| header111  = {{Translation|Nutrition}}
 
| label112 = {{Translation|Hunger}} [[File:Moodle_Icon_Hungry.png|right|link=Moodles{{Subpage}}#{{Translation|Hungry}}|{{Translation|Hunger}}]]
| data112 = {{{hunger_change|}}}
 
| label113 = {{Translation|Thirst}} [[File:Moodle_Icon_Thirsty.png|right|link=Moodles{{Subpage}}#{{Translation|Thirsty}}|{{Translation|Thirst}}]]
| data113 = {{{thirst_change|}}}
 
| label114 = {{Translation|Calories}} [[File:UI_Calories.png|24px|right|link=Nutrition{{Subpage}}#{{Translation|Calories}}|{{Translation|Calories}}]]
| data114 = {{{calories|}}}
 
| label115 = {{Translation|Carbohydrates}} [[File:UI_Carbohydrates.png|24px|right|link=Nutrition{{Subpage}}#{{Translation|Carbohydrates}}|{{Translation|Carbohydrates}}]]
| data115 = {{{carbohydrates|}}}
 
| label116 = {{Translation|Proteins}} [[File:UI_Protein.png|24px|right|link=Nutrition{{Subpage}}#{{Translation|Proteins}}|{{Translation|Proteins}}]]
| data116 = {{{proteins|}}}
 
| label117 = {{Translation|Fat}} [[File:UI_Fats.png|24px|right|link=Nutrition{{Subpage}}#{{Translation|Lipids}}|{{Translation|Fat}}]]
| data117 = {{{lipids|{{{fat|}}}}}}
 
<!-- ## EFFECT ## -->
| header121  = {{Translation|Effect}}
 
| label122 = {{Translation|Unhappiness}} [[File:Moodle_Icon_Unhappy.png|right|link=Moodles{{Subpage}}#{{Translation|Unhappy}}|{{Translation|Unhappiness}}]]
| data122 = {{{unhappy_change|}}}
 
| label123 = {{Translation|Boredom}} [[File:Moodle_Icon_Bored.png|right|link=Moodles{{Subpage}}#{{Translation|Bored}}|{{Translation|Boredom}}]]
| data123= {{{boredom_change|}}}
 
| label124 = {{Translation|Stress}} [[File:Moodle_Icon_Stressed.png|right|link=Moodles{{Subpage}}#{{Translation|Stressed}}|{{Translation|Stress}}]]
| data124 = {{{stress_change|}}}
 
| label125 = {{Translation|Fatigue}} [[File:Moodle_Icon_Tired.png|right|link=Moodles{{Subpage}}#{{Translation|Tired}}|{{Translation|Tired}}]]
| data125 = {{{fatigue_change|}}}
 
| label126 = {{Translation|Endurance}} [[File:Moodle_Icon_Endurance.png|right|link=Moodles{{Subpage}}#{{Translation|Endurance}}|{{Translation|Endurnace}}]]
| data126 = {{{endurance_change|}}}
 
| label127 = {{Translation|Cold}} [[File:Moodle_Icon_Cold.png|right|link=Moodles{{Subpage}}#{{Translation|Cold}}|{{Translation|Cold}}]]
| data127 = {{{flu_change|}}}
 
| label128 = {{Translation|Pain}} [[File:Moodle_Icon_Pain.png|right|link=Moodles{{Subpage}}#{{Translation|Pain}}|{{Translation|Pain}}]]
| data128 = {{{pain_change|}}}
 
| label129 = {{Translation|Sick}} [[File:Moodle_Icon_Sick.png|right|link=Moodles{{Subpage}}#{{Translation|Sick}}|{{Translation|Sick}}]]
| data129 = {{{sick_change|}}}
 
| label130 = {{Translation|Alcohol}} [[File:Moodle_Icon_Drunk.png|right|Moodles{{Subpage}}#{{Translation|Drunk}}|{{Translation|Drunk}}]]
| data130 = {{{alcoholic|}}}
 
| label131 = {{Translation|Alcohol power}} [[File:Alcohol.png|right|link=First Aid{{Subpage}}#{{Translation|Disinfection}}|{{Translation|Disinfection}}]]
| data131 = {{{alcohol_power|}}}
 
| label132 = {{Translation|Antibiotic level}} [[File:Antibiotics.png|right|link=Health{{Subpage}}#{{Translation|Infections}}|{{Translation|Infections}}]]
| data132 = {{{reduce_infection_power|}}}
 
| label133 = {{Translation|Bandage power}} [[File:Moodle_Icon_Bleeding.png|right|link=Moodles{{Subpage}}#{{Translation|Bleeding}}|{{Translation|Bleeding}}]]
| data133 = {{{bandage_power|}}}
 
| label134 = <div style="Padding-right:11px;">{{Translation|Poison}} [[File:SkullPoison.png|right]]</div>
| data134 = {{{poison_power|}}}
 
<!-- ## COOKING ## -->
| header141  = {{Translation|Cooking}}
 
| label142 = {{Translation|Time until cooked}}
| data142 = {{#if: {{{cook_minutes|}}}|{{{cook_minutes}}} {{Translation|minutes}}}}
 
| label143 = {{Translation|Time until burned}}
| data143 = {{#if: {{{burn_minutes|}}}|{{{burn_minutes}}} {{Translation|minutes}}}}
 
| label144 = {{Translation|Dangerous uncooked}}
| data144 = {{{dangerous_uncooked|}}}
 
| label145 = {{Translation|Bad microwaved}}
| data145 = {{{bad_microwaved|}}}
 
| label146 = {{Translation|Good hot}}
| data146 = {{{good_hot|}}}
 
| label147 = {{Translation|Bad cold}}
| data147 = {{{bad_cold|}}}
 
| label148 = {{Translation|Spice}}
| data148 = {{{spice|}}}
 
| label149 = {{Translation|Custom recipe}}
| data149 = {{{evolved_recipe|}}}
 
<!-- ## CRAFTING ## -->
| header171  = {{Translation|Crafting}}
 
| label172    = {{Translation|Ingredients}}
| data172    = {{{ingredients|}}}
 
<!-- ## TECHNICAL ## -->
| header181  = {{Translation|Technical}}
 
| label182    = {{Translation|Item ID}}
| data182    = {{#if:{{{class_name|{{{item_id|}}}}}}|{{ID|{{{class_name|{{{item_id}}}}}}}}|[[#{{Translation|Item IDs}}|{{Translation|Item IDs}}]]}}
 
}}</includeonly><noinclude><div class="mw-collapsible mw-collapsed" style="width:100%">{{User:Vaileasys/sandbox
| model=Image.png
| alt_image=Image.png
| alt_image2=Image.png
| alt_image3=Image.png
| alt_image4=Image.png
| alt_image5=Image.png
| alt_image6=Image.png
| alt_image7=Image.png
| alt_image8=Image.png
<!-- new row -->
| alt_image9=Image.png
| alt_image10=Image.png
| alt_image11=Image.png
| alt_image12=Image.png
| alt_image13=Image.png
| alt_image14=Image.png
| alt_image15=Image.png
| alt_image16=Image.png
<!--GENERAL-->
| category=category
| equipped=equipped
| secondary_item=secondary_item
| body_location=body_location
| attachments_provided=attachments_provided
| weapons=weapons
| part_type=part_type
| skill_type=skill_type
| ammo=ammo
| clip_size=clip_size
<!--CHARACTERISTICS-->
| weight=weight
| contents=contents
| max_units=max_units
| days_fresh=days_fresh
| days_rotten=days_rotten
| cant_be_frozen=cant_be_frozen
| packaged=packaged
| weight_reduction=weight_reduction
| condition_max=condition_max
| sound_radius=sound_radius
| recoil_delay=recoil_delay
| reload_time=reload_time
| aiming_time=aiming_time
| run_speed=run_speed
| combat_speed=combat_speed
| scratch_defense=scratch_defense
| bite_defense=bite_defense
| bullet_defense=bullet_defense
| neck_protection=neck_protection
| insulation=insulation
| wind_resistance=wind_resistance
| water_resistance=water_resistance
| light_distance=light_distance
| light_strength=light_strength
| torch_cone=torch_cone
| sensor_range=sensor_range
| energy_source=energy_source
| portable=portable
| two_way=two_way
| volume_range=volume_range
| mic_range=mic_range
| transmit_range=transmit_range
| min_channel=min_channel
| max_channel=max_channel
<!-- DAMAGE -->
| damage_type = damage_type
| base_speed = base_speed
| min_range = min_range
| max_range = max_range
| hit_chance = hit_chance
| min_damage = min_damage
| max_damage = max_damage
| crit_chance = crit_chance
| crit_multiplier = crit_multiplier
| tree_damage = tree_damage
| door_damage = door_damage
| push_back = push_back
| knockdown = knockdown
| kill_move = kill_move
| effect_power = effect_power
| effect_range = effect_range
| effect_timer = effect_timer
| effect_type = effect_type
<!-- NUTRITION -->
| hunger_change = hunger_change
| thirst_change = thirst_change
| calories = calories
| lipids = lipids
| proteins = proteins
| carbohydrates = carbohydrates
<!-- EFFECT -->
| unhappy_change = unhappy_change
| boredom_change = boredom_change
| stress_change = stress_change
| fatigue_change = fatigue_change
| endurance_change = endurance_change
| flu_change = flu_change
| pain_change = pain_change
| sick_change = sick_change
| alcoholic = alcoholic
| alcohol_power = alcohol_power
| reduce_infection_power = reduce_infection_power
| poison_power = poison_power
| bandage_power = bandage_power
<!--COOKING-->
| cook_minutes = cook_minutes
| burn_minutes = burn_minutes
| dangerous_uncooked = dangerous_uncooked
| bad_microwaved = bad_microwaved
| good_hot = good_hot
| bad_cold = bad_cold
| spice = spice
| evolved_recipe = evolved_recipe
<!--MODIFIERS-->
| weight_mod = weight_mod
| reload_mod = reload_mod
| min_range_mod = min_range_mod
| max_range_mod = max_range_mod
| accuracy_mod = accuracy_mod
| recoil_mod = recoil_mod
| aiming_mod = aiming_mod
| spread_mod = spread_mod
| damage_mod = damage_mod
<!-- USAGE -->
| function = function
| can_boil_water = can_boil_water
| rain_factor = rain_factor
| consumed = consumed
| writable = writable
| page_number = page_number
| vol_number = vol_number
<!-- CRAFTING -->
| ingredients = ingredients
| material = material
| material_value = material_value
<!--TECHNICAL-->
| item_id = item_id
}}</div></noinclude>

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