Template:Lightdarkcompare: Difference between revisions
Template page
More actions
Created page with "<templatestyles src="Template:Lightdarkcompare/styles.css"/><table class="wikitable"> <tr> <th>Light mode</th> <th>Dark mode</th> </tr> <tr> <td class="lightdarkcompare-light">{{{1|<noinclude>{{lightdark|light=Light mode|dark=Dark mode}}</noinclude>}}}</td> <td class="lightdarkcompare-dark">{{{1|<noinclude>{{lightdark|light=Light mode|dark=Dark mode}}</noinclude>}}}</td> </tr> </table><noinclude> {{documentation}} </noinclude>" |
(No difference)
|
Latest revision as of 02:15, 21 February 2025
Light mode | Dark mode |
---|---|
Light modeDark mode | Light modeDark mode |
This template uses TemplateStyles: |
This template allows for comparison of how wikitext appears in light and dark mode.
Note, that Wikimedia's dark mode and light mode do not use these exact styles in these boxes. However, this template is a good start in showing how icons, styles, and the like will appear in different themes.
Usage
{{Lightdarkcompare|Some content}}