VOOZH about

URL: https://minecraft.wiki/w/Template_talk:Tag

⇱ Template talk:Tag – Minecraft Wiki


Template talk:Tag

From Minecraft Wiki
Latest comment: 5 May 2024 by Simanelix in topic Add a wrap parameter
Jump to navigation Jump to search

Add a wrap parameter

[edit source]
Latest comment: 5 May 20242 comments1 person in discussion

Some tables would benefit from allowing standard line wrapping, because they are too wide to fit within the page width and cause un-needed side scrolling.

The new template wikitext would be this:

<includeonly>{{ #if: {{{nocat|}}} || {{ #ifeq: {{FULLPAGENAME}} | Template:Tag || [[Category:Pages using a raw Tag Template]] }} }}{{#if:{{{text|}}}|<sup class="{{#if:{{{print|}}}||noprint}} Inline-Template {{{class|}}}" style="white-space:{{#if:{{{nowrap|}}}|nowrap}}};">[<i>{{#if:{{{pre-text|}}}
 |{{{pre-text}}} 
 }}[[{{{link|Category:Cleanup}}}|<span title="{{#replace:{{delink|1={{{title|{{{link|Wikipedia:Cleanup}}}}}}}}"|'}}">{{{text|}}}</span>]]{{#if:{{{post-text|}}}|
 | {{{post-text|}}}
 }}</i>]</sup>|<sup class="{{#if:{{{print|}}}||noprint}} {{#if:{{{nowrap|}}}|nowrap}} Inline-Template {{{class|}}}" title="{{#replace:{{delink|{{{2|}}}}}|"|'}}">[<i>{{{1}}}</i>]</sup>}}</includeonly><noinclude>
{{Documentation}}
<!-- Put categories/interwiki on the documentation page -->
</noinclude>

I want to be able to use this parameter in child templates like {{OnlyUpcoming}}. --Simanelix (T|C) 17:17, 2 May 2024 (UTC)

Alright, I'm doing it! --Simanelix (T|C) 01:29, 5 May 2024 (UTC)
Retrieved from "https://minecraft.wiki/w/Template_talk:Tag?oldid=3419135"

Navigation menu