Template talk:Main Page/Frame

From Wikidata
Jump to navigation Jump to search

Use TemplateStyles

[edit]

{{Editprotected}}

Please change this page to

<div class="mp-frame">
<templatestyles src="Main Page/Frame/styles.css" />
<div class="mp-frame-header" {{#if:{{{color|}}}|style="background: #{{{color}}};"}}>{{{title}}}</div>
<div class="mp-frame-body">{{{content}}}</div></div><noinclude>{{documentation}}{{protected}}</noinclude>

It uses TemplateStyles to produce simpler HTML code and to make possible avoiding the issue mentioned in Wikidata talk:Main Page#Issues trying to render pictured wikidata item with less (2 or less) number of Popular items. Please also add some protection to Template:Main Page/Frame/styles.css, as this page will be transcluded to the main page from now on. (If the acting admin is a Commons admin as well, please also protect File:Wikidata-logo white.svg against reuploading. This file is used on the main page through this template, but it won’t even show up in global usage with the new version as it’s directly linked from the CSS file in order to provide better accessibility.) —Tacsipacsi (talk) 17:50, 26 May 2019 (UTC)[reply]

✓ Done--Jarekt (talk) 02:41, 23 August 2019 (UTC)[reply]
@Jarekt: Thanks, but what about the upload protection? —Tacsipacsi (talk) 20:52, 23 August 2019 (UTC)[reply]
@Tacsipacsi:, I did protect d:File:Wikidata-logo white.svg while I should have c:File:Wikidata-logo white.svg. Fixed now. --Jarekt (talk) 17:43, 24 August 2019 (UTC)[reply]