User:Tiddlywinks/EvoFree: Difference between revisions
From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to navigationJump to search
Tiddlywinks (talk | contribs) (Created page with "<div style="grid-area: {{{id|method1}}};"><!-- free-form OPEN --> <div style="display: grid; grid-template-columns: auto; height: 100%; text-align: center; justify-content: sp...") |
Tiddlywinks (talk | contribs) (I forgot "id"...so I'm gonna just roll with "e" like the others (even if it works a little different) | Also, customization) |
||
Line 1: | Line 1: | ||
<div style="grid-area: {{{ | <div style="grid-area: {{{e|method1}}};"><!-- free-form OPEN --> | ||
<div style="display: grid; grid-template-columns: auto; height: 100%; text-align: center; justify-content: space-around; align-content: center"><!-- new grid OPEN --> | <div style="display: grid; grid-template-columns: auto; height: 100%; text-align: {{{talign|center}}}; justify-content: {{{halign|space-around}}}; align-content: {{{valign|center}}}"><!-- new grid OPEN --> | ||
{{{1}}} | {{{1}}} | ||
</div><!-- new grid CLOSE --> | </div><!-- new grid CLOSE --> |
Latest revision as of 00:13, 17 May 2023
{{{1}}}
Template documentation
|
---|
Note: portions of the template sample may not be visible without values provided. |
View or edit this documentation. (About template documentation) |
This is meant to be a free-form version of User:Tiddlywinks/EvoMethod (or User:Tiddlywinks/EvoMon). Just pass in the correct identifier ("method#" or "stage#") via the "id" parameter and then use parameter 1 to code whatever you want to show.
Parameters
- Unnamed
- 1: text/code to display
- Named
- e: the identifier of the spot that this display should occupy, usually "method#" or "stage#" with # replaced with a number or number-and-letter (like "1a"). Refer to User:Tiddlywinks/EvoBox/v2's usage guide for a full list of the valid replacements for # (as seen in "e=#").
- halign (optional): how elements in the method are horizontally aligned; this sets the "justify-content" property of the grid and has the options "center", "space-evenly", "space-around", "space-between", "start", and "end". Defaults to "space-around".
- valign (optional): how elements in the method are vertically aligned; this sets the "align-content" property of the grid and has the same options as halign. Defaults to "center".
- talign (optional): how all text in the method is aligned (may also affect things like images); this sets the "text-align" property of the grid and has the options "center", "left", "right", and "justify". Defaults to "center".