Template talk:Template journal

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

<syntaxhighlight> and code style[edit]

I appreciate the effort, but two three caveats:

  1. <syntaxhighlight lang="wikitext"> has learned to produce a similar output, hasn't it? What is the rationale then? <syntaxhighlight lang="wikitext">:
    {{Blockquote
    	| Cry "Havoc" and let slip the dogs of war.
    	| [[William Shakespeare]]
    	| character = Mark Antony
    	| title = ''[[Julius Caesar (play)|Julius Caesar]]''
    	| source = act III, scene I
    }}
    
    {{tj}}:
    {{Blockquote
    | Cry "Havoc" and let slip the dogs of war.
    | [[William Shakespeare]]
    | character = Mark Antony
    | title = ''[[Julius Caesar (play)|Julius Caesar]]''
    | source = act III, scene I
    }}
    I assume it's a template link. But at the cost of lost highlighting inside the parameters. Anyways, I think, this should be mentioned in the docs.
  2. The code style with tabs seems unusual to me. First of all, you can't type it in the text editing area – tabs are unsupported there. Then, the conventional code style seems to be this:
    {{Blockquote
    | Cry "Havoc" and let slip the dogs of war.
    | [[William Shakespeare]]
    | character = Mark Antony
    | title = ''[[Julius Caesar (play)|Julius Caesar]]''
    | source = act III, scene I
    }}
    
  3. Another thing I'm skeptical about is the conflict with the notation where variable content is italicized (including using <var>...</var>), and actual content is roman, for example: {{blockquote|text|author}} vs {{blockquote|Cry "Havoc" and let slip the dogs of war.|William Shakespeare}}.

Jack who built the house (talk) 23:36, 6 August 2023 (UTC)[reply]