Template talk:Process header

From Meta, a Wikimedia project coordination wiki
Jump to navigation Jump to search

Using for multilingual pages[edit]

{{edit request}}

Please replace:

text-align: left;

to

text-align: {{#switch:{{dir|{{#titleparts:{{FULLPAGENAME}}|1|-1}}}}|rtl=right|ltr|#default=left}};
and
text-align: right;

to

text-align: {{#switch:{{dir|{{#titleparts:{{FULLPAGENAME}}|1|-1}}}}|rtl=left|ltr|#default=right}};

Result may be tested at the Global_rollback/ar. --Kaganer (talk) 20:29, 11 March 2013 (UTC)

PS: Arrows character also replaced to Template:Process_arrow. --Kaganer (talk) 20:29, 11 March 2013 (UTC)

Done. --MF-W 20:36, 11 March 2013 (UTC)
Thanks! Please also protect of {{Process arrow}} (and redirects to the him). --Kaganer (talk) 22:16, 11 March 2013 (UTC)

Uselang[edit]

{{edit request}}

Please change:

  1. {{#titleparts:{{FULLPAGENAME}}|1|-1}}}} to {{{uselang|{{CURRENTCONTENTLANGUAGE}}}}}
  2. {{#if:{{{shortcut|}}}|{{shortcut|{{{shortcut}}}}}}} to {{#if:{{{shortcut|}}}|{{shortcut|{{{shortcut}}}|uselang={{{uselang|{{CURRENTCONTENTLANGUAGE}}}}}}}}}

These needs to improve calls of localized /header templates from non-translatable pages (e.g. steward requests). --Kaganer (talk) 17:33, 17 September 2015 (UTC)

Yes check.svg Done Matiia (talk) 17:46, 17 September 2015 (UTC)
@Kaganer: I've partially reverted it as it was responsible for breaking the template. --Glaisher (talk) 11:32, 20 September 2015 (UTC)

I'm sorry. This my mistake (grabbed the redundant braces in the source string). Should be changed:

{{#titleparts:{{FULLPAGENAME}}|1|-1}} to {{{uselang|{{CURRENTCONTENTLANGUAGE}}}}}

--Kaganer (talk) 20:04, 20 September 2015 (UTC)

Yes check.svg Done. Matiia (talk) 20:11, 20 September 2015 (UTC)

Protected edit request on 7 October 2019[edit]

Can we put [[Category:Headers]] on the /doc subpage? Thanks! IPad365 (talk) 22:42, 7 October 2019 (UTC)

That would be pretty pointless as it is already on the template, so you then are categorising the document for no additional benefit.  — billinghurst sDrewth 04:05, 8 October 2019 (UTC)