User:Koreller/Tools

From OpenStreetMap Wiki
Jump to navigation Jump to search

Graphic and classic tools

OOjs UI icon newline-rtl.svg
This sub-page summarizes:
  1. "graphic" tools, that is to say templates, code, and useful links to make Wikimedia projects more ergonomic, accessible and pleasant in general.

Graphic tools

Principles of good design in the Wikimedia ecosystem

Templates

Boxes

Page organization with a Flexbox system

<div style="display: flex; flex-direction: row; flex-wrap: wrap;"><!-- BEGIN CENTRAL FRAME -->
<div style="display: flex; flex-direction: column; flex: 3 1 25em;"><!-- BEGIN LEFT FRAME -->

</div><!-- END LEFT FRAME -->
<div style="display: flex; flex-direction: column; flex: 1 3 25em;"><!-- BEGIN RIGHT FRAME -->

</div><!-- END RIGHT FRAME -->
</div><!-- END CENTRAL FRAME -->

Responsive Text column (to be imported from WP FR)

{{début de colonnes|nombre=2|taille=25}}
{{fin de bloc solidaire}}

{{début de bloc solidaire}}
{{fin de colonnes}}

{{début encart coloré}}
{{information}}
{{fin encart}}

Ergonomic button

Add subject button

<!-- BEGIN ADD SUBJECT BUTTON -->
<div class="center"><span class="plainlinks" style="margin-left:5px; text-align:center;">[{{fullurl:Talk:Wiki|action=edit&preload=Talk:Wiki/preload&editintro=&preloadtitle=Choose+a+title&section=new&create=New+topic+of+discussion}} {{Clickable button|Add a topic|color=blue}}]</span></div>
<!-- END ADD SUBJECT BUTTON -->

Button

<!-- BEGIN BUTTON -->
<span class="plainlinks" style=" margin-left:5px; text-align:center;">[{{fullurl:Aide:Aide}} {{Clickable button|Help|color=white}}]</span>
<!-- END BUTTON -->

Random image selection system

→ see w:fr:Portail:Amérique/Image

[[File:{{#switch: {{Rand|1|17}} 
| 1 = {{!}}{{!}}
| 2 = {{!}}{{!}}
| 3 = {{!}}{{!}}
| 4 = {{!}}{{!}}
| 5 = {{!}}{{!}}
| 6 = {{!}}{{!}}
| 7 = {{!}}{{!}}
| 8 = {{!}}{{!}}
| 9 = {{!}}{{!}}
| 10 = {{!}}{{!}}
| 11 = {{!}}{{!}}
| 12 = {{!}}{{!}}
| 13 = {{!}}{{!}}
| 14 = {{!}}{{!}}
| 15 = {{!}}{{!}}
| 16 = {{!}}{{!}}
| 17 = {{!}}{{!}}
}}|thumb|center]]

Others useful link

Templates

Templates to reorganized

Template imported

Code

<noinclude>{{Languages|Template:/doc}}</noinclude>
{{Documentation subpage}}
__NOTOC__
== Usage ==

=== Notes ===

== Syntax ==
<code><nowiki></nowiki></code>

=== Simplified syntax ===
<code><nowiki></nowiki></code>

=== Complete syntax ===
<code><nowiki></nowiki></code>

== Parameters ==

== Example ==
* <code><nowiki>{{en}}</nowiki></code> rendered :
{{en}}

== See also ==
* {{t|}}