User:Vaileasys/sandbox 3: Difference between revisions

From PZwiki
(test (by SublimeText.Mediawiker))
(added quote to screen size 719px to appear after the infobox instead of overlapping)
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<!--test-->
{{User:Vaileasys/sandbox 3|text=this is some text|author=this is an author}}
==Container==
 
{{Infobox tile
<onlyinclude><div class="quote">
|name=Bar Corner
  <div class="quote-mark">&ldquo;</div>
|image=Bar Corner1.png
  <div class="quote-text">{{{text|}}}{{#if:{{{author|}}}|<div class="quote-author">&mdash; {{{author}}}</div>}}</div>
|image_name=Poorly Crafted Corner Counter
</div></onlyinclude>
|image2=Bar Corner2.png
 
|image_name2=Crafted Corner Counter
<syntaxhighlight lang="css">
|image3=Bar Corner3.png
/* Outer container */
|image_name3=Quality Crafted Corner Counter
.quote {
<!--General-->
    display: flex;
|category=Furniture
    font-family: 'Georgia', 'Times New Roman', 'Times', serif;
|weight=10
}
|size=1
/* Inner left quotation mark */
<!--Properties-->
.quote .quote-mark {
|type=Container
    font-weight: bold;
|container=Crate
    font-size: 4em;
|function=Storage
    height: 1em;
|capacity=50
}
<!--Build-->
/* Inner text container */
|build_skill=[[Carpentry]]
.quote .quote-text {
|build_level=7
    margin: 0.5em;
|build_tool_tag=Hammer
    padding-left: 0.5em;
|ingredients=4 × [[Plank]]<br>4 × [[Nails]]
    border-left: 1px solid #000000;
<!--Move-->
    font-style: italic;
|move_skill=[[Carpentry]]
}
|move_level=0
/* Author section */
|move_tool_tag=Hammer
.quote .quote-author {
<!--Disassemble-->
    text-align: right;
|disassemble_skill=[[Carpentry]]
}
|disassemble_level=0
</syntaxhighlight>
|disassemble_tool_tag=Hammer
 
|disassemble_tool_tag2=Saw
<syntaxhighlight lang="css">
|products=
 
<!--Technical details-->
@media screen and (max-width: 719px) {
|tile_id=carpentry_02_32<br>carpentry_02_24<br>carpentry_02_16
    /* Template:Infobox */
|id_more=Tile IDs
    div.infobox {
}}
        width: 100%;
{{clear}}
    }
==Water source==
 
{{Infobox tile
    /* Template:Quote */
|name=Water Dispenser
    div.quote {
|image=Water_Dispenser.png
        clear: both;
|category=Furniture
    }
|weight=30
}
|size=1
</syntaxhighlight>
<!--Properties-->
|type=Water source
|health=300
|function=Store [[water]]
|water_capacity=250
|contents=[[Water]]
<!--Technical-->
|item_id=Base.Mov_WaterDispenser
|tile_id=location_business_office_generic_01_48
}}
{{clear}}
==Appliance==
{{Infobox tile
|name=Large Fridge
|image=IndustrialFridge_Large.gif
|image_name=Large Fridge
<!--General-->
|category=Furniture
|weight=40
|size=2
<!--Properties-->
|type=Refrigerator
|container=fridge
|health=400
|function=Preserve food
|capacity=50
|freezer_capacity=20
|energy=Electricity
<!--Disassemble-->
|disassemble_skill=[[Metalworking]]
|disassemble_level=
|disassemble_tool=[[Propane Torch]]
|disassemble_tool2=[[Welding Mask]]
|products=
<!--Technical-->
|tile_id=appliances_refrigeration_01_16
}}
{{clear}}
==Trap==
{{Infobox tile
|name=Trap Box
|image=BoxTrapAnim.gif
|image_width=
|icon=TrapBox.png
|icon_name=Trap Box
<!--General-->
|category=Trapping
|weight=1.0
|size=1
|function=Catch [[animals]]
<!--Properties-->
|health=50
|strength=15
|animals=[[File:Rabbit.png|link=Rabbit]] [[File:Squirrel.png|link=Squirrel]]
<!--Build-->
|crafting=true
|build_skill=[[The Hunter Magazine|The Hunter Magazine Vol. 3]]
|build_skill2=[[Carpentry]]
|build_skill3=[[Trapping]]
|build_level2=1
|build_level3=2
|build_tool_tag=Saw
|ingredients=4 × [[Plank]]<br>7 × [[Nails]]
<!--Technical-->
|item_id=Base.TrapBox
|tile_id=constructedObjects_01_7
}}

Revision as of 07:39, 29 March 2024

this is some text
— this is an author
/* Outer container */
.quote {
    display: flex;
    font-family: 'Georgia', 'Times New Roman', 'Times', serif;
}
/* Inner left quotation mark */
.quote .quote-mark {
    font-weight: bold;
    font-size: 4em;
    height: 1em;
}
/* Inner text container */
.quote .quote-text {
    margin: 0.5em;
    padding-left: 0.5em;
    border-left: 1px solid #000000;
    font-style: italic;
}
/* Author section */
.quote .quote-author {
    text-align: right;
}
@media screen and (max-width: 719px) {
    /* Template:Infobox */
    div.infobox {
        width: 100%;
    }

    /* Template:Quote */
    div.quote {
        clear: both;
    }
}