En-tête de kaktus

Créé par 7happy77happy7


Logo tournant par WoedenazWoedenaz


CC BY-SA 3.0

<!--
Created by 7happy7
CC BY-SA 3.0
-->
<head>
<style>p {margin-bottom: 0;}</style>
</head>
<body>
<form>
<input type="reset" value="reset"><br>
<input type="text" id="head" value="<PAR ORDRE DU HAUT CONSEIL" onchange="encode();" oninput="encode();" size="40"><br>
<textarea rows="7" cols="50" id="desc" placeholder="description (only bold/italic/normal/etc text); link will be disabled; e.g. [[size 120%]]--##red|__**//texte//**__##--[[/size]]" onchange="encode();" oninput="encode();"></textarea><br>
<input type="text" id="num" placeholder="1730" onchange="encode();" oninput="encode();"><br>
 
<p>result:</p>
<textarea id="result" rows="5" cols="50"></textarea>
</form>
 
<!-- svgstart -->
<div style="width: 110%; overflow: hidden; position: relative; left: -10%; pointer-events: none;">
<svg xmlns="http://www.w3.org/2000/svg" width="600pt" height="200pt" viewBox="0 0 200 200" version="1.1"> <style xmlns="http://www.w3.org/2000/svg"> #surface1 path:first-child {transform-origin: center; animation: cont-spin linear 10s 0.5s infinite;} #surface1 path:last-child {transform-origin: center; animation: clock-spin cubic-bezier(.62,0,.52,1.3) 10s 0.5s infinite;}@keyframes clock-spin{ 0%, 15% { transform: rotate(0deg); } 25%, 40% { transform: rotate(90deg); } 50%, 65% { transform: rotate(180deg); } 75%, 90% { transform: rotate(270deg); } 100% { transform: rotate(360deg); }} @keyframes cont-spin { from { transform:rotate(0deg); } to { transform:rotate(360deg); }} </style> <g xmlns="http://www.w3.org/2000/svg"> <foreignObject xmlns="http://www.w3.org/2000/svg" width="500" height="150" x="-150" y="80" font-size="11px" font-family="verdana,arial,helvetica,sans-serif" style="text-align: center; color: #333;"> <body xmlns="http://www.w3.org/1999/xhtml"> <p xmlns="http://www.w3.org/1999/xhtml" id="svgDesc"></p> </body> </foreignObject> </g><g xmlns="http://www.w3.org/2000/svg"> <text xmlns="http://www.w3.org/2000/svg" id="svgHead" x="50%" y="70" text-anchor="middle" font-size="21" font-family="'Trebuchet MS', Trebuchet, Verdana, Arial, Helvetica" fill="#444" font-weight="bold"></text><text xmlns="http://www.w3.org/2000/svg" id="svgNum" x="50%" y="170" text-anchor="middle" font-size="13" font-family="'Trebuchet MS', Trebuchet, Verdana, Arial, Helvetica" fill="#333"></text> </g><g xmlns="http://www.w3.org/2000/svg" id="surface1"><path xmlns="http://www.w3.org/2000/svg" style=" stroke:none;fill-rule:nonzero;fill:rgb(0%,0%,0%);fill-opacity:0.15;" d="M 73.464844 8.726562 C 73.441406 8.859375 72.859375 12.199219 72.167969 16.167969 C 71.484375 20.132812 70.890625 23.425781 70.859375 23.484375 C 70.816406 23.542969 70.25 23.808594 69.582031 24.074219 C 56.675781 29.285156 45.050781 37.949219 36.367188 48.832031 C 27.367188 60.117188 21.476562 73.566406 19.375 87.582031 C 19.257812 88.382812 19.117188 89.132812 19.074219 89.242188 C 18.910156 89.648438 18.574219 92.851562 18.417969 95.617188 C 18.308594 97.535156 18.308594 102.351562 18.417969 104.375 C 18.515625 106.191406 18.675781 107.890625 18.933594 110.066406 L 19.117188 111.601562 L 18.785156 111.910156 C 18.089844 112.558594 17.167969 113.410156 16.25 114.25 C 15.726562 114.734375 15.035156 115.367188 14.707031 115.667969 C 14.007812 116.324219 13.882812 116.433594 10.359375 119.699219 C 8.832031 121.101562 7.574219 122.285156 7.550781 122.324219 C 7.523438 122.359375 8.566406 124.226562 9.859375 126.464844 C 11.148438 128.707031 17.199219 139.175781 23.292969 149.726562 C 29.382812 160.285156 34.410156 168.917969 34.457031 168.917969 C 34.507812 168.917969 35.167969 168.691406 35.925781 168.410156 C 36.675781 168.132812 38.308594 167.535156 39.542969 167.082031 C 46.875 164.398438 48.675781 163.75 48.742188 163.75 C 48.792969 163.75 49.042969 163.933594 49.316406 164.160156 C 50.839844 165.433594 54.582031 168.066406 57.042969 169.601562 C 61.207031 172.199219 66.632812 174.851562 71.707031 176.75 C 83.824219 181.292969 97.234375 182.890625 110.082031 181.332031 C 116.941406 180.5 123.867188 178.765625 130.042969 176.332031 C 130.867188 176.007812 131.617188 175.734375 131.707031 175.714844 C 132.160156 175.640625 134.824219 174.425781 137.457031 173.101562 C 141.734375 170.933594 145.476562 168.617188 149.398438 165.691406 L 151.007812 164.5 L 151.441406 164.632812 C 151.683594 164.707031 151.992188 164.800781 152.125 164.851562 C 152.515625 164.976562 156.316406 166.160156 156.875 166.324219 C 157.839844 166.617188 162.292969 168.007812 162.5 168.082031 C 162.617188 168.125 163.101562 168.273438 163.582031 168.417969 C 164.066406 168.566406 164.808594 168.792969 165.234375 168.933594 C 165.660156 169.066406 166.042969 169.167969 166.082031 169.148438 C 166.183594 169.117188 193.015625 122.660156 192.984375 122.582031 C 192.957031 122.523438 191.359375 121.175781 184.667969 115.601562 C 182.992188 114.199219 181.558594 112.992188 181.464844 112.917969 C 181.316406 112.765625 181.316406 112.742188 181.484375 111.523438 C 182.410156 105.007812 182.515625 98.558594 181.824219 91.75 C 180.226562 76.007812 174.191406 61.242188 164.285156 48.816406 C 157.933594 40.851562 149.910156 33.984375 141 28.890625 C 138.207031 27.300781 134.324219 25.390625 131.523438 24.25 C 131.140625 24.101562 130.816406 23.910156 130.800781 23.839844 C 130.773438 23.765625 130 20.351562 129.082031 16.25 C 128.160156 12.148438 127.382812 8.726562 127.367188 8.640625 C 127.324219 8.507812 125.964844 8.5 100.417969 8.5 L 73.515625 8.5 Z M 122.867188 12.976562 C 122.933594 13.199219 124.824219 21.300781 125.5 24.25 C 125.824219 25.691406 126.125 26.984375 126.160156 27.125 C 126.214844 27.359375 126.308594 27.410156 127.800781 27.984375 C 131.082031 29.25 135 31.066406 137.707031 32.582031 C 146.542969 37.515625 154.148438 43.933594 160.375 51.667969 C 170.074219 63.726562 175.898438 78.351562 177.160156 93.792969 C 177.433594 97.132812 177.484375 103.058594 177.25 105.832031 C 177.035156 108.5 176.625 111.625 176.148438 114.273438 L 176.050781 114.832031 L 176.417969 115.191406 C 176.625 115.382812 177.132812 115.824219 177.542969 116.167969 C 177.957031 116.507812 178.332031 116.832031 178.390625 116.882812 C 178.441406 116.933594 178.867188 117.292969 179.339844 117.675781 C 179.808594 118.058594 180.550781 118.675781 180.992188 119.042969 C 181.433594 119.417969 182.859375 120.609375 184.167969 121.699219 C 187.351562 124.367188 187.125 124.160156 187.023438 124.324219 C 186.984375 124.398438 181.925781 133.148438 175.800781 143.765625 C 169.101562 155.375 164.601562 163.082031 164.535156 163.082031 C 164.464844 163.082031 163.800781 162.898438 163.058594 162.675781 C 162.316406 162.449219 161.574219 162.226562 161.417969 162.183594 C 161.066406 162.089844 157.675781 161.066406 156.957031 160.839844 C 156.683594 160.75 156.125 160.582031 155.707031 160.457031 C 155.300781 160.332031 154.882812 160.199219 154.792969 160.167969 C 154.699219 160.125 154.457031 160.050781 154.25 160 C 154.042969 159.949219 153.800781 159.875 153.707031 159.832031 C 153.617188 159.792969 153.285156 159.683594 152.957031 159.601562 C 152.640625 159.507812 151.917969 159.292969 151.359375 159.125 C 150.351562 158.816406 150.339844 158.816406 150.132812 158.964844 C 150.023438 159.058594 149.390625 159.558594 148.734375 160.089844 C 146.714844 161.726562 142.992188 164.417969 142.757812 164.417969 C 142.714844 164.417969 142.339844 164.632812 141.941406 164.890625 C 138.050781 167.398438 133.199219 169.882812 128.757812 171.640625 C 121.242188 174.617188 113.785156 176.300781 105.292969 176.933594 C 103.433594 177.066406 97.234375 177.066406 95.375 176.933594 C 84.515625 176.125 74.964844 173.515625 65.667969 168.824219 C 60.851562 166.398438 55.816406 163.167969 52.042969 160.082031 C 51.726562 159.816406 51.417969 159.589844 51.359375 159.574219 C 51.308594 159.558594 50.898438 159.226562 50.457031 158.839844 L 49.648438 158.148438 L 49.257812 158.234375 C 48.882812 158.316406 48.339844 158.5 45.667969 159.5 C 44.910156 159.785156 43.074219 160.457031 41.582031 161 C 40.089844 161.542969 38.257812 162.214844 37.5 162.492188 C 36.75 162.773438 36.089844 163 36.042969 163 C 35.992188 163 30.898438 154.242188 24.714844 143.535156 L 13.476562 124.066406 L 13.757812 123.816406 C 13.917969 123.675781 14.660156 122.976562 15.417969 122.257812 C 16.175781 121.550781 17.035156 120.734375 17.332031 120.457031 C 17.632812 120.175781 18.234375 119.609375 18.667969 119.191406 C 19.101562 118.773438 19.660156 118.257812 19.910156 118.035156 C 20.160156 117.808594 20.5 117.492188 20.675781 117.332031 C 21.242188 116.800781 22.851562 115.292969 23.074219 115.089844 C 23.191406 114.984375 23.542969 114.660156 23.839844 114.367188 L 24.398438 113.832031 L 24.285156 113.234375 C 23.867188 111.066406 23.410156 107.117188 23.375 105.5 C 23.367188 104.832031 23.324219 103.035156 23.292969 101.5 C 23.191406 97.058594 23.457031 92.839844 24.125 88.457031 C 27.375 67.035156 39.464844 47.984375 57.457031 35.957031 C 62.714844 32.433594 68.617188 29.457031 74.292969 27.457031 C 75.25 27.117188 75.292969 27.089844 75.359375 26.824219 C 75.441406 26.492188 75.984375 23.449219 77.007812 17.542969 C 77.425781 15.160156 77.785156 13.125 77.808594 13.015625 L 77.851562 12.832031 L 100.332031 12.832031 C 121.683594 12.832031 122.824219 12.839844 122.867188 12.976562 Z M 122.867188 12.976562 "/><path xmlns="http://www.w3.org/2000/svg" style=" stroke:none;fill-rule:nonzero;fill:rgb(0%,0%,0%);fill-opacity:0.15;" d="M 97 41.617188 L 97 45.910156 L 96.648438 45.949219 C 96.449219 45.964844 95.507812 46.066406 94.550781 46.167969 C 86.101562 47.007812 77.523438 50.117188 70.242188 54.964844 C 64.417969 58.839844 59.175781 64.082031 55.300781 69.910156 C 52.683594 73.832031 50.375 78.558594 48.925781 82.964844 C 44.890625 95.183594 45.300781 108.300781 50.082031 120.214844 C 50.417969 121.042969 51 122.359375 51.382812 123.160156 C 51.765625 123.957031 52.082031 124.632812 52.082031 124.667969 C 52.082031 124.699219 50.25 125.785156 48 127.082031 C 45.757812 128.375 43.867188 129.476562 43.792969 129.535156 C 43.683594 129.609375 43.890625 130.015625 45.308594 132.476562 C 46.214844 134.050781 46.984375 135.332031 47.007812 135.332031 C 47.042969 135.332031 48.949219 134.25 51.25 132.917969 C 53.550781 131.582031 55.457031 130.5 55.5 130.5 C 55.535156 130.5 55.910156 130.984375 56.324219 131.574219 C 59.992188 136.726562 64.910156 141.484375 70.242188 145.035156 C 74.167969 147.648438 78.890625 149.957031 83.300781 151.410156 C 94.425781 155.082031 106.242188 155.082031 117.367188 151.410156 C 121.773438 149.957031 126.5 147.648438 130.425781 145.035156 C 135.824219 141.441406 140.640625 136.765625 144.449219 131.417969 C 144.941406 130.726562 145.359375 130.167969 145.382812 130.167969 C 145.398438 130.167969 147.265625 131.234375 149.523438 132.535156 C 151.773438 133.839844 153.683594 134.933594 153.757812 134.957031 C 153.859375 135 154.25 134.382812 155.535156 132.160156 C 157.015625 129.601562 157.167969 129.292969 157.042969 129.199219 C 156.964844 129.140625 155.066406 128.042969 152.824219 126.75 C 150.582031 125.449219 148.75 124.367188 148.75 124.332031 C 148.75 124.300781 149.023438 123.699219 149.367188 122.992188 C 153.984375 113.359375 155.574219 101.757812 153.742188 91 C 152.464844 83.492188 149.589844 76.242188 145.367188 69.910156 C 142.023438 64.882812 137.726562 60.351562 132.832031 56.675781 C 130.117188 54.640625 127.683594 53.140625 124.5 51.550781 C 118.609375 48.609375 112.410156 46.792969 106.117188 46.167969 C 105.160156 46.066406 104.214844 45.964844 104.023438 45.949219 L 103.667969 45.910156 L 103.667969 37.332031 L 97 37.332031 Z M 97 65.582031 L 97 75.25 L 93.199219 75.25 C 90.992188 75.25 89.417969 75.285156 89.433594 75.324219 C 89.515625 75.566406 100.464844 96.75 100.5 96.75 C 100.535156 96.75 111.476562 75.566406 111.566406 75.324219 C 111.582031 75.285156 109.925781 75.25 107.632812 75.25 L 103.667969 75.25 L 103.667969 55.917969 L 104.042969 55.917969 C 105.214844 55.917969 108.726562 56.5 111.089844 57.089844 C 114.273438 57.882812 116.792969 58.816406 119.875 60.332031 C 123.242188 61.992188 125.949219 63.75 128.875 66.175781 C 130.148438 67.226562 133.425781 70.558594 134.523438 71.910156 C 136.148438 73.917969 137.660156 76.117188 138.898438 78.300781 C 139.566406 79.476562 140.933594 82.324219 141.449219 83.640625 C 145.285156 93.324219 145.601562 104.082031 142.332031 113.898438 C 141.589844 116.132812 140.257812 119.332031 140.066406 119.332031 C 139.964844 119.332031 124.667969 110.515625 124.507812 110.367188 C 124.410156 110.285156 124.683594 109.75 126.234375 107.066406 C 127.25 105.308594 128.082031 103.839844 128.082031 103.792969 C 128.082031 103.707031 128.140625 103.707031 126.167969 103.625 C 125.367188 103.589844 124.648438 103.558594 124.582031 103.542969 C 124.515625 103.535156 123.765625 103.492188 122.917969 103.464844 C 122.066406 103.433594 121.191406 103.390625 120.957031 103.375 C 120.734375 103.359375 119.984375 103.316406 119.292969 103.292969 C 118.609375 103.265625 117.875 103.226562 117.667969 103.207031 C 117.457031 103.191406 116.632812 103.148438 115.832031 103.117188 C 115.035156 103.089844 114.25 103.058594 114.101562 103.042969 C 113.949219 103.035156 113.183594 102.992188 112.390625 102.957031 C 111.609375 102.925781 110.824219 102.890625 110.667969 102.875 C 110.507812 102.859375 109.667969 102.824219 108.792969 102.792969 C 107.925781 102.757812 107.148438 102.726562 107.082031 102.707031 C 106.765625 102.648438 104 102.566406 104 102.617188 C 104 102.648438 106.367188 106.359375 109.265625 110.859375 C 112.160156 115.359375 115.089844 119.917969 115.785156 120.984375 C 116.910156 122.734375 117.042969 122.917969 117.140625 122.785156 C 117.199219 122.699219 118.101562 121.160156 119.140625 119.359375 L 121.035156 116.082031 L 121.285156 116.234375 C 121.425781 116.316406 124.941406 118.351562 129.109375 120.75 C 133.265625 123.148438 136.667969 125.148438 136.667969 125.191406 C 136.667969 125.316406 135.433594 126.976562 134.425781 128.207031 C 133.398438 129.464844 130.082031 132.824219 128.875 133.824219 C 127.042969 135.351562 125.015625 136.785156 123 138 C 121.589844 138.859375 118.25 140.5 116.691406 141.117188 C 106.140625 145.285156 94.523438 145.285156 83.976562 141.117188 C 82.417969 140.5 79.074219 138.859375 77.667969 138 C 75.648438 136.785156 73.609375 135.339844 71.792969 133.824219 C 70.609375 132.839844 67.433594 129.648438 66.417969 128.417969 C 65.464844 127.273438 64.132812 125.507812 64.175781 125.457031 C 64.191406 125.441406 67.601562 123.476562 71.75 121.082031 C 75.898438 118.691406 79.410156 116.660156 79.558594 116.574219 L 79.816406 116.417969 L 81.632812 119.558594 C 82.632812 121.292969 83.492188 122.773438 83.550781 122.859375 C 83.632812 122.992188 83.707031 122.910156 84.160156 122.191406 C 84.441406 121.742188 85.183594 120.582031 85.808594 119.625 C 86.425781 118.660156 87.359375 117.214844 87.875 116.417969 C 88.757812 115.035156 91.625 110.574219 92.375 109.417969 C 92.566406 109.117188 93.410156 107.808594 94.25 106.5 C 95.089844 105.191406 95.976562 103.816406 96.214844 103.441406 C 96.464844 103.058594 96.667969 102.707031 96.667969 102.660156 C 96.667969 102.601562 96.464844 102.582031 96.023438 102.617188 C 95.667969 102.640625 94.867188 102.683594 94.25 102.707031 C 93.632812 102.734375 92.839844 102.765625 92.5 102.792969 C 91.824219 102.832031 90.660156 102.890625 89 102.957031 C 88.425781 102.984375 87.675781 103.015625 87.332031 103.042969 C 86.992188 103.066406 86.242188 103.101562 85.667969 103.125 C 84.609375 103.167969 83.648438 103.214844 82.191406 103.292969 C 81.742188 103.316406 80.550781 103.375 79.542969 103.417969 C 78.535156 103.457031 77.339844 103.515625 76.898438 103.542969 C 76.449219 103.566406 75.714844 103.601562 75.273438 103.625 C 73.25 103.726562 72.582031 103.773438 72.582031 103.824219 C 72.582031 103.851562 73.457031 105.398438 74.535156 107.25 L 76.484375 110.625 L 76.257812 110.757812 C 75.535156 111.214844 60.832031 119.667969 60.765625 119.667969 C 60.667969 119.667969 59.890625 118.015625 59.292969 116.535156 C 56.867188 110.550781 55.757812 103.707031 56.167969 97.292969 C 56.640625 89.890625 58.898438 82.859375 62.816406 76.542969 C 63.675781 75.160156 64.984375 73.339844 66.140625 71.910156 C 67.242188 70.558594 70.515625 67.226562 71.792969 66.175781 C 74.714844 63.75 77.425781 61.992188 80.792969 60.332031 C 83.875 58.816406 86.390625 57.882812 89.574219 57.089844 C 91.976562 56.492188 95.234375 55.941406 96.523438 55.925781 L 97 55.917969 Z M 97 65.582031 "/></g></svg>
</div>
<!-- svgend -->
 
<script>
let head = document.getElementById("head"), desc = document.getElementById("desc"), num = document.getElementById("num"), result = document.getElementById("result"), n, i, ital;
let svgHead =  document.getElementById("svgHead"), svgNum =  document.getElementById("svgNum"), svgDesc =  document.getElementById("svgDesc");
 
function wiki2html() {
    n = desc.value;
    n = n.replace(/\n/g, "<br></br>");
    n = n.replace(/[\*]{2}(.*?)[\*]{2}/g, "<b>$1</b>");
    ital = [];
    for(i = 0;i < n.split(/(https?:\/\/)/).length;i++){
        ital.push(n.split(/(https?:\/\/)/)[i].replace(/[\/]{2}(.*?)[\/]{2}/g, "<i>$1</i>"));
    }
    n = ital.join("");
    n = n.replace(/[\-]{2}(.*?)[\-]{2}/g, '<span style="text-decoration: line-through;">$1</span>');
    n = n.replace(/[\_]{2}(.*?)[\_]{2}/g, '<span style="text-decoration: underline;">$1</span>');
    n = n.replace(/[#]{2}(.*?)\|(.*?)[#]{2}/g, '<span style="color: $1;">$2</span>');
    n = n.replace(/\[\[size (.*?)\]\](.*?)\[\[\/size\]\]/g, '<span style="font-size: $1;">$2</span>');
}
function encode() {
    wiki2html();
    result.value = "[[include kaktus-header |head=" + encodeURIComponent(head.value) + "|desc=" + encodeURIComponent(n) + "|num=" + encodeURIComponent(num.value) + "]]";
    svgHead.innerHTML = head.value;
    svgNum.innerHTML =  num.value;
    svgDesc.innerHTML = n;
}
encode();
</script>
Sauf mention contraire, le contenu de cette page est protégé par la licence Creative Commons Attribution-ShareAlike 3.0 License