Jump to content

Template:Li/II: Difference between revisions

From LithoGraphica
Reversedragon (talk | contribs)
use hue-coordinate-unfriendly as base identifier for all language strings
Reversedragon (talk | contribs)
m mark proposed items
 
Line 1: Line 1:
<includeonly><onlyinclude>{{#if:{{{start|}}}||</li>}}<li {{#if:{{{II|}}}|{{Template:I{{{II|}}}/class|flag {{{class|}}}}}|{{#if:{{{class|}}}|class{{=}}"{{{class|}}}"}}}} {{#if:{{{class|}}}|class{{=}}"{{{class|}}}"}} data-qid{{=}}"{{int:hue-coordinate-friendly-Q{{int:hue-coordinate-unfriendly-Q{{{Q|}}}}}}}" value{{=}}"{{int:hue-coordinate-unfriendly-Q{{{Q|}}}}}" data-icon2="{{{II|}}}">{{#if:{{{II|}}}|{{Template:I{{{II|}}}|class={{int:hue-ixn-class-full-{{#titleparts:Template:{{{II|}}}||2}}}}|Q={{int:hue-coordinate-friendly-Q{{int:hue-coordinate-unfriendly-Q{{{Q|}}}}}}}}}}}<span class="search-hint" aria-hidden="true"> (Q{{int:hue-coordinate-friendly-Q{{int:hue-coordinate-unfriendly-Q{{{Q|}}}}}}};Q{{int:hue-coordinate-unfriendly-Q{{{Q|}}}}}}})</span>{{#if:{{{h4|}}}|<h4>{{{h4}}}</h4>}}{{#if:{{{PPPA|}}}|{{{PPPA|}}}|{{{1|}}}}}</includeonly></onlyinclude><!--
<includeonly><onlyinclude>{{#if:{{{start|}}}||</li>}}<li {{#if:{{{II|}}}|{{Template:I{{{II|}}}/class|flag {{{class|}}}}}|{{#if:{{{class|}}}|class{{=}}"{{{class|}}}"}}}} {{#if:{{{class|}}}|class{{=}}"{{{class|}}}"}} data-qid{{=}}"{{int:hue-coordinate-friendly-Q{{int:hue-coordinate-unfriendly-Q{{{Q|}}}}}}}" value{{=}}"{{int:hue-coordinate-unfriendly-Q{{{Q|}}}}}" data-icon2="{{{II|}}}">{{#if:{{{II|}}}|{{Template:I{{{II|}}}|class={{int:hue-ixn-class-full-{{#titleparts:Template:{{{II|}}}||2}}}}|Q={{int:hue-coordinate-friendly-Q{{int:hue-coordinate-unfriendly-Q{{{Q|}}}}}}}}}}}<span class="search-hint" aria-hidden="true"> (Q{{int:hue-coordinate-friendly-Q{{int:hue-coordinate-unfriendly-Q{{{Q|}}}}}}};Q{{int:hue-coordinate-unfriendly-Q{{{Q|}}}}}}})</span>{{#if:{{{h4|}}}|<h4>{{{h4}}}</h4>}}{{#if:{{{PPPA|}}}|{{{PPPA|}}}|{{{1|}}}}}{{#switch:{{{Q|}}}| 618 = [[Category:Text pages containing proposed Items]] }}</includeonly></onlyinclude><!--


more readable version:
more readable version:

Latest revision as of 01:23, 16 September 2026

Demo

II (v2)

  1. pronounced 38,45. (S)pronounced (Fantasy) (S): Fy /pronounced Fiction / superstructural fantasy worlds

I (v1)

  1. pronounced Fiction / superstructural fantasy worlds

Description

This is a template meant to mirror the HTML li tag. The purpose of it is to make prototype pages more readable and intuitive and less easy to make typos. As such, most of the parameters for the tag have to do with Hue Items.

Parameters

  • start - Must be used on the first Item in the list for correct rendering. (Though if it is omitted, browsers may ignore the bug anyway.)
  • II - Icon Template, such as S2/Fy. It is assumed that you will supply the dimension and main classname in this argument. (This parameter was originally I but is now II on this template to reflect that it is the second version.)
  • class - For adding to the CSS classname applied to the tag. Optional.
  • Q - Item number with commas, for use in ordered lists.
  • Q2 - Item number without commas, for use in ordered lists.
  • h4 - Proposition title, to be bolded and shown on table of contents. Optional.
  • lang - Language of text inside list item. If not specified, this list item will probably be assumed to have the same language as the page or section that contains it.