Page MenuHomePhabricator

use of templates in raw page
Closed, InvalidPublic

Description

Author: xmlizer

Description:
the aim is to make a css which could help for the "Current events" page.
the main idea is to create a css style

td[class="day{{CURRENTDAY}}"] {background-color:yellow; }

and then to have

class="day1"'''1'''
class="day2"'''2'''

:
:

class="day27"'''27'''

:

May be other use of templates in CSS could be useful
Surely, for the begenning, only the MAGIC template should be used.


Version: unspecified
Severity: enhancement

Details

Reference
bz1613
TitleReferenceAuthorSource BranchDest Branch
Add repos/data-engineering/mpic to trusted runnersrepos/releng/gitlab-trusted-runner!72dancymain-Idac5121fcc6d2e7cc78f6663599bb75899c88ebamain
Move runExecution to src/Executor, supplanting class-specific function, and...repos/abstract-wiki/wikifunctions/function-evaluator!203apineapine-streamsmain
Avoid loading the dialog window multiple timesrepos/commtech/autosuggest-sitelink!48samwilsonload-oncemain
Customize query in GitLab

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 8:15 PM
bzimport added a project: MediaWiki-Parser.
bzimport set Reference to bz1613.
bzimport added a subscriber: Unknown Object (MLST).

xmlizer wrote:

it's no more a matter for me.
i found another way to do what i want to.
the idea is to add to CSS

.day11, .day22, .day33,
/* ... */ .day3131 { background-color:yellow; }

and then to make

class="day1{{CURRENTDAY}}"'''1'''
class="day2{{CURRENTDAY}}"'''2'''

:
:

class="day27{{CURRENTDAY}}"'''27'''

:

And it works great
It's already working on http://fr.wikipedia.org/wiki/Actualit%C3%A9s

I close it as Invalid because "RAW" mode should stay brut mode.