Skillnad mellan versioner av "Användare:Apotekuser"

Från Apotekföreningens Mediawiki
Hoppa till navigering Hoppa till sök
Rad 1: Rad 1:
{{DISPLAYTITLE:<span style="opacity:0;position:absolute;">{{FULLPAGENAME}}</span>}}{{#switch:<translate></translate>
 
| =
 
<templatestyles src="Template:Main_page/styles.css" />
 
<div>
 
  
<div style="clear: both;"></div>
+
<style>
 +
header {
 +
padding:8px;
 +
border-bottom-style: solid;
 +
border-width: thin;
 +
padding:8px;
 +
}
  
 +
content {
 +
padding:8px;
 +
}
  
<div id="misc-news" class="mainpage_row">
+
.wrapper {
<div class="mainpage_box">
+
background-color:red;
<h3><span class="header_icon" aria-hidden="true" role="presentation">[[File:OOjs UI icon ongoingConversation-rtl.svg|20px|middle|link=]]</span><span><translate><!--T:5--> Get help and contribute</translate></span></h3>
+
display:inline;
<div id=mainpage-help-contribute" title="<translate nowrap><!--T:17--> Support and Contributing</translate>" class="items">
+
}
* <translate><!--T:37--> Cannot find the answer to a problem with MediaWiki?</translate> <translate><!--T:38--> Ask the [[<tvar|1>Project:Support desk</>|Support desk]]!</translate>
+
 
* <translate><!--T:39--> [[<tvar|1>Special:MyLanguage/How to contribute</>|Get involved]] as a translator, designer, documentation writer, tester, tech ambassador, …</translate>
+
.wrap {
* {{ll|How to report a bug|2=<translate><!--T:12--> Report wrong software behavior or a feature proposal</translate>}}
+
display:inline-flex;
</div>
+
margin: 8px;
</div>
+
padding:8px;
<div class="mainpage_box">
+
border-width: thin;
<h3><span class="header_icon" aria-hidden="true" role="presentation">[[File:Echo (Notifications) megaphone.svg|20px|middle|link=]]</span><span><translate><!--T:6--> News</translate></span></h3>
+
border-style: solid;
<div id="mainpage-news" title="<translate nowrap><!--T:18--> News</translate>" class="items">
+
}
<div style="margin: auto; vertical-align:top; text-align:{{dir|{{pagelang}}|right|left}}">
+
.sq {
<div class="mainpage_boxcontents_small">
+
margin: 8px;
{{#ifeq:{{translatable}}|Template:Main page
+
padding:8px;
|{{#if:{{{1|{{pagelang2}}}}}
+
border-width: thin;
  |{{#ifexist: Template:MediaWiki News/{{{1|{{pagelang2}}}}}
+
border-style: solid;
    |{{MediaWiki News/{{{1|{{pagelang2}}}}}|condensed=1}}
+
min-width:160px;
    |{{MediaWiki News/en|condensed=1}}
+
}
    }}
+
</style>
  |{{MediaWiki News/en|condensed=1}}
+
<body>
  }}
+
<div class="wrap">
|{{#if:{{int:lang}}
+
 
  |{{#ifexist: Template:MediaWiki News/{{int:lang}}
+
<div class="sq">
    |{{MediaWiki News/{{int:lang}}|condensed=1}}
+
<header>
    |{{MediaWiki News/en|condensed=1}}
+
asdfadsf
    }}
+
</header>
  |{{MediaWiki News/en|condensed=1}}
+
<content>
  }}
+
lorem upsum
}} </div>
+
afdsdsaf
<span class="plainlinks">[https://www.mediawiki.org/wiki/Special:MyLanguage/News <span class="mw-ui-button mw-ui-constructive mw-ui-small"><translate><!--T:13--> More news</translate></span>]</span>
+
</content>
<span class="plainlinks">[[File:F icon.svg|text-bottom|16px|link=https://www.facebook.com/MediaWikiProject]] [[File:Twitter_logo_blue.png|text-bottom|17px|link=https://twitter.com/mediawiki]]</span>
+
</div><div class="sq">
</div>
+
<header>
</div>
+
asdfadsf
 +
</header>
 +
<content>
 +
lorem upsum
 +
afdsdsaf
 +
</content>
 +
</div><div class="sq">
 +
<header>
 +
asdfadsf
 +
</header>
 +
<content>
 +
lorem upsum
 +
afdsdsaf
 +
</content>
 +
</div>
 +
 
 +
<div class="sq">
 +
<header>
 +
asdfadsf
 +
</header>
 +
<content>
 +
lorem upsum
 +
afdsdsaf
 +
</content>
 
</div>
 
</div>
 +
<div div class="sq">
 +
<header>
 +
header
 +
</header>
 +
<content>
 +
lorem upsum
 +
afdsdsaf
 +
</content>
 
</div>
 
</div>
 
</div>
 
</div>
| #default=
+
</body>
  {{#invoke:Template translation|renderTranslatedTemplate|template=Template:Main page|noshift=1|uselang={{{1|{{int:lang}}}}}}}<!--
 
-->{{#ifeq:{{NAMESPACE}}||{{languages|Template:Main page}}}}
 
}}
 
__NOEDITSECTION__
 
__NOTOC__<noinclude>[[Category:Main page templates{{#translation:}}|*]]</noinclude><languages /><noinclude>
 
</noinclude>
 

Versionen från 16 mars 2021 kl. 00.20

<style> header { padding:8px; border-bottom-style: solid; border-width: thin; padding:8px; }

content { padding:8px; }

.wrapper { background-color:red; display:inline; }

.wrap { display:inline-flex; margin: 8px; padding:8px; border-width: thin; border-style: solid; } .sq { margin: 8px; padding:8px; border-width: thin; border-style: solid; min-width:160px; } </style> <body>

<header> asdfadsf </header> <content> lorem upsum afdsdsaf </content>

<header> asdfadsf </header> <content> lorem upsum afdsdsaf </content>

<header> asdfadsf </header> <content> lorem upsum afdsdsaf </content>

<header> asdfadsf </header> <content> lorem upsum afdsdsaf </content>

<header> header </header> <content> lorem upsum afdsdsaf </content>

</body>