Jump to content
Toggle menu
  • 3 articles
  • 75 files
  • 7 users
  • 37.9K edits
Neodyland Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Navbar/doc: Difference between revisions

Template page
Undo revision 566712704 by ExE Boss (talk): extra templates with cryptic names just make the wiki code less readable; TemplateData’s “boolean” data type is ternary (0/1/empty), while these parameters are binary (empty/non-empty)
Use {{^(}} and {{)^}} to escape TemplateData descriptions and add comments explaining why
Line 27: Line 27:
   |4label  = inline version
   |4label  = inline version
   |4d-en    = Use <bdi> instead of <div> so that the template won’t have its own line in the text
   |4d-en    = Use <bdi> instead of <div> so that the template won’t have its own line in the text
  <!-- Using {{^(}} and {{)^}} is necessary, because TemplateData shows
    -- “&lt;div&gt;” as “&lt;div&gt;” rather than as “<div>” -->
  |4d-td-en = Use {{^(}}bdi{{)^}} instead of {{^(}}div{{)^}} so that the template won’t have its own line in the text
   |4aliases =  
   |4aliases =  
   |4type    =  
   |4type    =  
Line 85: Line 88:
   |11label  = font color
   |11label  = font color
   |11d-en    = Set the font color. Deprecated, use <nowiki>|fontstyle = color:<color></nowiki> instead.
   |11d-en    = Set the font color. Deprecated, use <nowiki>|fontstyle = color:<color></nowiki> instead.
  <!-- Using {{^(}} and {{)^}} is necessary, because TemplateData shows
    -- “<nowiki><color></nowiki>” as “&lt;color&gt;” rather than as “<color>” -->
  |11d-td-en = Set the font color. Deprecated, use <nowiki>|fontstyle = color:</nowiki>{{^(}}color{{)^}} instead.
   |11aliases =  
   |11aliases =  
   |11type    = string/line
   |11type    = string/line
Cookies help us deliver our services. By using our services, you agree to our use of cookies.