Template talk:Layered blueprint - minecraft.fandom.com

Jump to navigation Jump to search
Treść tej podstrony pochodzi z artykułu „Template talk:Layered blueprint” w domenie minecraft.fandom.com na licencji CC BY-NC-SA 3.0

Improvements for Stairs[]

This Template is amazing and I've always hoped something like this would exist. There is a shortcoming for Stairs as they have 8 possible rotations that are lost when they are entered into the blueprint - This is particularly obvious with a Shipwreck where I have to still look at screenshots when replicating one in a Survival Mode. Have there been any ideas to improve upon this from the people whom have the authority to make these kinds of improvements? TimothyLegg 170.199.250.52 16:33, 12 March 2020 (UTC)

I think the stairs can be distinguished by tinting or shading parts of the block to represent lower or upper stairs respectively. The same could also be said for slabs. For now use colored wool to indicate which stairs should face in certain directions.--Fadyblok240 (talk) 05:50, 11 July 2020 (UTC)

Block Rotating[]

Hi, i want to use this template to document a tutorial page. Is it a way to rotate blocks like pistons (i need left and right pistons instead of the default up piston) ? Thanks Scratcheur-2020Send (talk) 09:34, 12 December 2021 (UTC)

Mobile rendering issues[]

There's an issue on mobile where the table gets a wrapper injected that adds padding to td cells. This is documented fully on Talk:Blueprints. Raising it here as there isn't a Module_talk:Layered_blueprint.

This doesn't appear to be the fault of the Module:Layered_blueprint itself, but it's not clear what the correct approach is to solving the issue. Ideas (so far) include:

  • Requesting updating the 'mobile' wrapper module, to exclude blueprints
  • Request support for a flag to ignore certain entries, or perhaps such already exists and just needs to be added to the blueprint template.
  • Add overriding css specifically to make blueprint tables ignore the 9px 12px cell padding added by the <div class="article-table-wrapper">
  • Add a style class to the actual table, not just the outer wrapping div, so that the blueprints table cell css doesn't get over-ridden by the injected mobile wrapper. (My vote, but I'm no markup/css expert)

Note: This currently only affects viewing blueprint articles directly. When they're included via Template:LoadPage, the ajax calls by-pass the server mechanism that handles the mobile wrapping.

Limestonebuilder (talk) 21:47, 30 May 2023 (UTC)

Possible fix (css)

If this css is applied, it cleans up the blueprint table. However, it's not clear if this is the preferred 'fandom/wikia' or MCW style solution.

   /* Redundant, but firefox tools ResponsiveDesignMode re-render doesn't re-collapse table during modification  */
   .layered-blueprint-layer .article-table-wrapper table {
       /* border-collapse: collapse; */
   }
   .layered-blueprint-layer .article-table-wrapper tr {
       border: none;   /* Corrects '.a-t-w tr' adding a bottom border */
   }
   .layered-blueprint-layer .article-table-wrapper tr > td {
       /* Hard-coded in markup: width: 16px; height: 16px; */
       padding: 0px 0px;
       line-height: 0;
       border: none;
   }

--Limestonebuilder (talk) 23:24, 30 May 2023 (UTC)