Quick question -- Is there a variable or magic word to indicate which skin is being viewed?
I am wanting to use a grid-based skin, but allow for vector as well. I would like to have a conditional transclusion based on the viewer's skin. Something like:
{{#switch: SKINNAME Pivot {{page/p}} Vector {{page/v}} default {{page/p}} }}
Thanks in advance,
Bri
No, there isn't.
However, if you install the TemplateStyles extension, you can write different CSS styles for your content for each skin: https://www.mediawiki.org/wiki/Help:TemplateStyles#How_can_I_target_specific...
Hope that helps.
Thank you Mr. Dzieworiski!
On 2019-09-18 15:51, Bartosz Dziewoński wrote:
No, there isn't.
However, if you install the TemplateStyles extension, you can write different CSS styles for your content for each skin: https://www.mediawiki.org/wiki/Help:TemplateStyles#How_can_I_target_specific...
Hope that helps.
mediawiki-l@lists.wikimedia.org