MediaWiki:Common.js: Unterschied zwischen den Versionen
Aus WORLDFISH WIKI
Web16 (Diskussion | Beiträge) |
Web16 (Diskussion | Beiträge) |
||
(Eine dazwischenliegende Version desselben Benutzers wird nicht angezeigt) | |||
Zeile 154: | Zeile 154: | ||
− | + | buttonList = [{"content":"#redirect","row":1,"prefix":"#redirect[[","suffix":"]]"},{"content":"(doi+)","row":1,"prefix":"[ (doi)]{{subst:","suffix":"reftemp}}"},{"content":"subst:reftemp","row":1,"prefix":"{{subst:reftemp","suffix":"}}"},{"content":"falsche Art","row":1,"prefix":"<span style=\"color: red; text-decoration: line-through;\">''Misidentifizierter Artname''</span> -->''[[richtiger Artname]]''","suffix":""},{"content":"!! Erstbeschr.","row":1,"prefix":"<span style=\"color: red\">'''!!'''</span>","suffix":""},{"content":"ETY","row":1,"prefix":"(Übersetzt aus: [ The ETYFish Project])","suffix":""},{"content":"Autoren++","row":1,"prefix":"Der Autorenname {{BASEPAGENAME}} könnte auf folgende Personen verweisen:","suffix":""},{"content":"disambig","row":1,"prefix":"{{disambig}}","suffix":""},{"content":"(Karte)","row":1,"prefix":"[ ","suffix":"(Karte)]"},{"content":"''[[ ]]''","row":2,"prefix":"''[[","suffix":"]]''"},{"content":"[ ]","row":2,"prefix":"[","suffix":"]"},{"content":"[[ ]]","row":2,"prefix":"[[","suffix":"]]"},{"content":"{{ }}","row":2,"prefix":"{{","suffix":"}}"},{"content":"{{a|x}}","row":2,"prefix":"{{a|","suffix":"|}}"},{"content":"{{a||x}}","row":2,"prefix":"{{a||","suffix":"}}"},{"content":"{{aut|}}","row":2,"prefix":"{{aut|","suffix":"}}"},{"content":"†","row":2,"prefix":"†","suffix":""},{"content":"♂","row":2,"prefix":"♂","suffix":""},{"content":"♀","row":2,"prefix":"♀","suffix":""},{"content":"br /","row":2,"prefix":"<br /","suffix":">"},{"content":"Liste(Pub)","row":3,"prefix":"Liste der von [[","suffix":"]] beschriebenen und in Worldfish Wiki bereits erfassten Taxa [[Category:Taxa by author]]"},{"content":"Art(simp)","row":3,"prefix":"__NOTOC__ <!--† ♂♀ -->\n=='''{{aut|(Autoren}}, Jahr)'''==\n<!--------------------------- Taxonavigation -------------------------->\n{| style=\"width:100%; background:#fcfcfc; margin-top:2em;\"\n\n|- valign=\"top\" \n|style=\"width:50%; padding:0 1em 0 2em; color:#000; border:1px solid #ccc;\"|\n\n{{Gattung}}<br />\n\n== Synonyme ==\n''[[]]'' {{aut|Name}}, Jahr\n\n== Lokale Bezeichnung ==\n[[Trivialbezeichnung]]\n\n<!--------------------------- Platz für Abbildungen -------------------------->\n| style=\"width:50%; padding:0 1em; background:#f5fffa; border:1px solid #ccc;\" id=mf-sow|\n\n|}\n== Typen ==\n'''Holotypus:''' [[Type# .<br />\nSiehe: [http://researcharchive.calacademy.org/research/ichthyology/catalog/fishcatget.asp?spid=0 {{aut|Eschmeyer, W.N., Fricke, R. & Van der Laan, R.}} (eds.) {{CURRENTYEAR}}. ''Catalog of Fishes'' electronic version]<br />\n'''Typusfundort:''' .\n\n== Etymologie ==\n.\n\n== Verbreitung ==\n.\n\n== IUCN Status ==\n[https://www.iucnredlist.org/details/ IUCN ('''I'''nternational '''U'''nion for '''C'''onservation of '''N'''ature and Natural Resources) = Weltnaturschutzunion '''Rote Liste bedrohter Arten''']\n\n[[Datei:Status iucn3.1.svg.png|300px|mini|Die Gefährdungsstufen gemäß IUCN\n<p style=\"color: #FF0000; background-color: #000000;\">'''EX''' Extinct (ausgestorben)</p>\n<p style=\"color: #FFFFFF; background-color: #000000;\">'''EW''' Extinct in the Wild (in der Natur ausgestorben)</p>\n<span style=\"color: red\">'''CR''' Critically Endangered (vom Aussterben bedroht)</span><br />\n<p style=\"color: #FF7722;\">'''EN''' Endangered (stark gefährdet)</p>\n<p style=\"color: #EECC00;\">'''VU''' Vulnerable (gefährdet)</p>\n<p style=\"color: #77EE00;\">'''NT''' Near Threatened (potenziell gefährdet)</p>\n<p style=\"color: #44AA00;\">'''LC''' Least Concern (nicht gefährdet)</p>\n'''RE''' Regionally Extinct (regional oder national ausgestorben)<br />\n'''DD''' Data Deficient (ungenügende Datengrundlage)<br />\n'''NE''' Not Evaluated (nicht beurteilt)]]\n\n'''Status:''' Stand tt.mm.jjjj: '''NE''' Not Evaluated (nicht beurteilt)<br />\n'''Gefahren für diese Art:''' (nicht beurteilt)\n\n==Literatur==\n{{}}[: , <span style=\"color: red\">'''!!'''</span>]\n\n===Links===\n* [http://www.fishbase.org/summary/0000 FishBase]\n\n[[Category: taxa]]\n[[Category: taxa]]\n[[Category: taxa]]\n[[Category:art]]\n","suffix":""},{"content":"Art(†)","row":3,"prefix":"__NOTOC__ <!--† ♂♀ -->\n=='''{{aut|(Autoren}}, Jahr)'''==\n<!--------------------------- Taxonavigation -------------------------->\n{| style=\"width:100%; background:#fcfcfc; margin-top:2em;\"\n\n|- valign=\"top\" \n|style=\"width:50%; padding:0 1em 0 2em; color:#000; border:1px solid #ccc;\"|\n\n{{Gattung}}<br />\n\n== Synonyme ==\n''[[]]'' {{aut|Name}}, Jahr\n\n<!--------------------------- Platz für Abbildungen -------------------------->\n| style=\"width:50%; padding:0 1em; background:#f5fffa; border:1px solid #ccc;\" id=mf-sow|\n\n|}\n== Typen ==\n'''Holotypus:''' [[Type# .<br />\n'''Typusfundort und -schicht:''' .\n\n== Etymologie ==\n.\n\n== Verbreitung ==\n.\n\n==Literatur==\n{{}}[: , <span style=\"color: red\">'''!!'''</span>]\n\n===Links===\n\n\n[[Category: taxa]]\n[[Category: taxa]]\n[[Category: taxa]]\n[[Category:art]]\n","suffix":""},{"content":"Art(sp.)","row":3,"prefix":"__NOTOC__ <!--† ♂♀ -->\n<!--------------------------- Taxonavigation -------------------------->\n{| style=\"width:100%; background:#fcfcfc; margin-top:2em;\"\n\n|- valign=\"top\" \n|style=\"width:50%; padding:0 1em 0 2em; color:#000; border:1px solid #ccc;\"|\n\n{{Gattung}}<br />\n\n\n== Lokale Bezeichnung ==\n[[Trivialbezeichnung]]\n\n<!--------------------------- Platz für Abbildungen -------------------------->\n| style=\"width:50%; padding:0 1em; background:#f5fffa; border:1px solid #ccc;\" id=mf-sow|\n\n|}\n== Verbreitung ==\n.\n\n==Literatur==\n{{}}[: , <span style=\"color: red\">'''!!'''</span>]\n\n===Links===\n\n[[Category:art]]\n","suffix":""},{"content":"Synonym","row":3,"prefix":"__NOTOC__\n=='''{{aut|Autorname}}, Jahr'''==\n<!--------------------------- Taxonavigation -------------------------->\n{| style=\"width:100%; background:#fcfcfc; margin-top:2em;\"\n\n|- valign=\"top\" \n|style=\"width:50%; padding:0 1em 0 2em; color:#000; border:1px solid #ccc;\"|\n\n{{Gattung}}<br />\n\n== Status ==\n<div class=\"float-right\" style=\"background-color:yellow; border: 2px solid #FF0000; padding: 0.5em; width: !100%;\">\n{| style=\"width:100%; text-align:center; \"\n|\n|}\n<big>gilt als Synonym von '''''[[Propterus]]''''' {{aut|Agassiz}}, 1834'''</big>\n</div>\n\n<!--------------------------- Platz für Abbildungen -------------------------->\n| style=\"width:50%; padding:0 1em; background:#f5fffa; border:1px solid #ccc;\" id=mf-sow|\n\n\n|}\n== Typen == \n'''Holotypus:''' [[Type# .<br />\n'''Typusfundort:''' . \n\n== Etymologie ==\n.\n\n==Literatur==\n{{}}[: ]\n===Links===\n* [http://researcharchive.calacademy.org/research/ichthyology/catalog/fishcatget.asp?spid=2 {{aut|Eschmeyer, W.N., Fricke, R. & Van der Laan, R.}} (eds.) {{CURRENTYEAR}}. ''Catalog of Fishes'' electronic version]<br />\n\n\n[[Category: taxa]]\n[[Category: taxa]]\n[[Category: taxa]]\n[[Category: Synonym]]\n","suffix":""},{"content":"Gattung","row":3,"prefix":"__NOTOC__\n=='''{{aut|Autoren}}, Jahr'''==\n<!--------------------------- Taxonavigation -------------------------->\n{| style=\"width:100%; background:#fcfcfc; margin-top:2em;\"\n\n|- valign=\"top\" \n|style=\"width:50%; padding:0 1em 0 2em; color:#000; border:1px solid #ccc;\"|\n\n{{Gattung}}\n\n== Typusart ==\n''[[\n\n<!--------------------------- Platz für Abbildungen -------------------------->\n| style=\"width:50%; padding:0 1em; background:#f5fffa; border:1px solid #ccc;\" id=mf-sow|\n\n|}\n== Arten == \n†{{splast|G|attung|art}} {{aut|Autor}}, Jahr<br />\n\n== Etymologie ==\n*\n==Literatur==\n{{ , }}[: , <span style=\"color: red\">'''!!'''</span>]\n\n===Links===\n* [http://researcharchive.calacademy.org/research/ichthyology/catalog/fishcatget.asp?tbl=genus&genid=0000 {{aut|Eschmeyer, W.N., Fricke, R. & Van der Laan, R.}} (eds.) {{CURRENTYEAR}}. ''Catalog of Fishes'' electronic version]\n* [http://www.fishbase.org/nomenclature/SpeciesList.php?genus={{BASEPAGENAME}} FishBase]\n\n[[Category: taxa]]\n[[Category: taxa]]\n[[Category: taxa]]\n[[Category:Gattung]]\n","suffix":""},{"content":"Familie","row":3,"prefix":"__NOTOC__\n=='''{{aut|Autoren}}, Jahr'''==\n<!--------------------------- Taxonavigation -------------------------->\n{| style=\"width:100%; background:#fcfcfc; margin-top:2em;\"\n\n|- valign=\"top\" \n|style=\"width:50%; padding:0 1em 0 2em; color:#000; border:1px solid #ccc;\"|\n\n{{Familie}}\n\n== Typusgattung ==\n''[[\n\n<!--------------------------- Platz für Abbildungen -------------------------->\n| style=\"width:50%; padding:0 1em; background:#f5fffa; border:1px solid #ccc;\" id=mf-sow|\n\n|}\n== Zugehörige xxx == \n†''[[xxx]]'' {{aut|Autor}}, Jahr<br />\n†[[xxx]] {{aut|Autor}}, Jahr<br />\n\n==Literatur==\n{{ , }}[: , <span style=\"color: red\">'''!!'''</span>]\n{{Van der Laan et al., 2014}}[: ]\n===Links===\n\n\n[[Category: taxa]]\n[[Category: taxa]]\n[[Category: taxa]]\n[[Category:höhere Taxa]]\n","suffix":""},{"content":"Autor","row":3,"prefix":"'''{{BASEPAGENAME}}''' \n\n* Institution/Adresse\n* E-mail\n\n==Beschriebene Taxa==\n{{taxa}}\n\n==Publikationen==\n*","suffix":""},{"content":"Status","row":3,"prefix":"== Status ==\n<div class=\"float-right\" style=\"background-color:yellow; border: 2px solid #FF0000; padding: 0.5em; width: !100%;\">\n{| style=\"width:100%; text-align:center; \"\n|\n|}\n<big>gilt als Synonym von '''''[[Propterus]]''''' {{aut|Agassiz}}, 1834'''</big>\n</div>","suffix":""},{"content":"Farbfoto","row":4,"prefix":"Farbfoto, ","suffix":""},{"content":"sw-Foto","row":4,"prefix":"sw-Foto, ","suffix":""},{"content":"Zeichnung","row":4,"prefix":"Zeichnung, ","suffix":""},{"content":"Beschreibung","row":4,"prefix":"Beschreibung, ","suffix":""},{"content":"Aquarienhaltung","row":4,"prefix":"Aquarienhaltung, ","suffix":""},{"content":"Fortpflanzung","row":4,"prefix":"Fortpflanzung, ","suffix":""},{"content":"Biotop","row":4,"prefix":"Biotop, ","suffix":""},{"content":"Verbreitung","row":4,"prefix":"Verbreitung, ","suffix":""},{"content":"Morphologie","row":4,"prefix":"Morphologie, ","suffix":""},{"content":"Krankheiten","row":4,"prefix":"Krankheiten, ","suffix":""},{"content":"Auflistung","row":4,"prefix":"Auflistung, ","suffix":""},{"content":"Verhalten","row":4,"prefix":"Verhalten, ","suffix":""},{"content":"Ökologie","row":4,"prefix":"Ökologie, ","suffix":""},{"content":"Physiologie","row":4,"prefix":"Physiologie, ","suffix":""},{"content":"Genetik","row":4,"prefix":"Genetik, ","suffix":""},{"content":"Zuchtform","row":4,"prefix":"Zuchtform, ","suffix":""},{"content":"Kommentar","row":3,"prefix":"<!--","suffix":"-->"},{"content":"Typus","row":1,"prefix":"[[Type#","suffix":""},{"content":"Tabelle","row":3,"prefix":"{| class=\"wikitable\"\n|style=\"width:25%; text-align:center;\"|'''a'''\n|style=\"width:25%; text-align:center;\"|'''b-c'''\n|style=\"width:25%; text-align:center;\"|'''d-g'''\n|style=\"width:25%; text-align:center;\"|'''h-l'''\n|-\n|style=\"vertical-align:top;\"|","suffix":""}]; | |
headers = []; | headers = []; | ||
nameOfTargetBox = "wpTextbox1"; | nameOfTargetBox = "wpTextbox1"; |
Aktuelle Version vom 22. April 2019, 20:14 Uhr
const POSITION_ABOVE = 0; const POSITION_BEYOND = 1; const ID_TOOLBAR = "cebToolbar"; const ID_TOOLBAR_STYLE = "toolbarStyle"; const CLASS_TOOLBAR = "buttonToolbar"; const CLASS_TOP_BUTTON_BAR = "topButtonBar"; const CLASS_HEADER = "header"; // Set this value to the ID of the target text area: var nameOfTargetBox = null; var targetNode = null; //Insert buttons with properties text, icon, prefix, suffix, etc. (see createButtons for details) var buttonList = []; var headers = []; var topButtonContainer = null; var toolbarCSS = null; var reselectTextAfterInsert = false; function addToolbar(referenceNode, position) { if(!referenceNode) { console.error("Cannot add tool bar, invalid reference node"); return; } const buttons = createButtons(); const toolbar = document.createElement("div"); toolbar.setAttribute("id", ID_TOOLBAR); toolbar.setAttribute("class", CLASS_TOOLBAR); if(toolbarCSS != null) { createToolbarCSS(toolbar); } topButtonContainer = document.createElement("div"); topButtonContainer.setAttribute("class", CLASS_TOP_BUTTON_BAR); toolbar.appendChild(topButtonContainer); const toolbarTable = document.createElement("table"); toolbarTable.setAttribute("style", "width: 100%"); toolbar.appendChild(toolbarTable); var numRows = 0; for(var i = 0; i < buttonList.length; i++) { if(buttonList[i].row > numRows) numRows = buttonList[i].row; } //Save all headers by their row index: const rowData = []; for(var i = 0; i < headers.length; i++) { rowData[headers[i].row - 1] = headers[i]; if(headers[i].row > numRows) numRows = headers[i].row; } const td = []; for(var i = 0; i < numRows; i++) { const tr = document.createElement("tr"); if(rowData[i]) { const headerCell = document.createElement("td"); headerCell.innerText = rowData[i].text; headerCell.setAttribute("class", CLASS_HEADER); if(rowData[i].rowSpan > 1) headerCell.setAttribute("rowspan", rowData[i].rowSpan); tr.appendChild(headerCell); } td[i] = document.createElement("td"); tr.appendChild(td[i]); toolbarTable.appendChild(tr); } for(var i = 0; i < buttons.length; i++) { const row = buttonList[i].row; if(row == 0) topButtonContainer.appendChild(buttons[i]); else td[row - 1].appendChild(buttons[i]); } if(position == POSITION_BEYOND) referenceNode.insertAdjacentElement("afterend", toolbar); else referenceNode.insertAdjacentElement("beforebegin", toolbar); } function createToolbarCSS(targetElement) { const element = document.createElement("style"); element.innerHTML = toolbarCSS; targetElement.appendChild(element); } function insertText(textBeforeCursor, textAfterCursor) { const start = targetNode.selectionStart; const end = targetNode.selectionEnd; const text = targetNode.value; var output = text.substr(0, start) + textBeforeCursor; output += text.substr(start, end - start); output += textAfterCursor + text.substr(end, text.length - end); targetNode.value = output; if(reselectTextAfterInsert) { targetNode.selectionStart = start + textBeforeCursor.length; targetNode.selectionEnd = end + textBeforeCursor.length; } else { targetNode.selectionEnd = targetNode.selectionStart = end + textBeforeCursor.length; } targetNode.focus(); } function createButtons() { const buttonElements = []; for(var i = 0; i < buttonList.length; i++) { const button = buttonList[i]; const buttonElement = document.createElement("button"); buttonElement.type = "button"; buttonElement.innerHTML = button.content; buttonElement.onclick = function () { insertText(button.prefix, button.suffix); }; buttonElements.push(buttonElement); } return buttonElements; } function setup() { /* Check if view is in edit mode and that the required modules are available. Then, customize the toolbar … */ if ($.inArray(mw.config.get('wgAction'), ['edit', 'submit']) !== -1) { mw.loader.using('user.options').then(function () { targetNode = document.getElementById(nameOfTargetBox); addToolbar(targetNode, POSITION_BEYOND); }); } } // End of Script buttonList = [{"content":"#redirect","row":1,"prefix":"#redirect[[","suffix":"]]"},{"content":"(doi+)","row":1,"prefix":"[ (doi)]{{subst:","suffix":"reftemp}}"},{"content":"subst:reftemp","row":1,"prefix":"{{subst:reftemp","suffix":"}}"},{"content":"falsche Art","row":1,"prefix":"<span style=\"color: red; text-decoration: line-through;\">''Misidentifizierter Artname''</span> -->''[[richtiger Artname]]''","suffix":""},{"content":"!! Erstbeschr.","row":1,"prefix":"<span style=\"color: red\">'''!!'''</span>","suffix":""},{"content":"ETY","row":1,"prefix":"(Übersetzt aus: [ The ETYFish Project])","suffix":""},{"content":"Autoren++","row":1,"prefix":"Der Autorenname {{BASEPAGENAME}} könnte auf folgende Personen verweisen:","suffix":""},{"content":"disambig","row":1,"prefix":"{{disambig}}","suffix":""},{"content":"(Karte)","row":1,"prefix":"[ ","suffix":"(Karte)]"},{"content":"''[[ ]]''","row":2,"prefix":"''[[","suffix":"]]''"},{"content":"[ ]","row":2,"prefix":"[","suffix":"]"},{"content":"[[ ]]","row":2,"prefix":"[[","suffix":"]]"},{"content":"{{ }}","row":2,"prefix":"{{","suffix":"}}"},{"content":"{{a|x}}","row":2,"prefix":"{{a|","suffix":"|}}"},{"content":"{{a||x}}","row":2,"prefix":"{{a||","suffix":"}}"},{"content":"{{aut|}}","row":2,"prefix":"{{aut|","suffix":"}}"},{"content":"†","row":2,"prefix":"†","suffix":""},{"content":"♂","row":2,"prefix":"♂","suffix":""},{"content":"♀","row":2,"prefix":"♀","suffix":""},{"content":"br /","row":2,"prefix":"<br /","suffix":">"},{"content":"Liste(Pub)","row":3,"prefix":"Liste der von [[","suffix":"]] beschriebenen und in Worldfish Wiki bereits erfassten Taxa [[Category:Taxa by author]]"},{"content":"Art(simp)","row":3,"prefix":"__NOTOC__ <!--† ♂♀ -->\n=='''{{aut|(Autoren}}, Jahr)'''==\n<!--------------------------- Taxonavigation -------------------------->\n{| style=\"width:100%; background:#fcfcfc; margin-top:2em;\"\n\n|- valign=\"top\" \n|style=\"width:50%; padding:0 1em 0 2em; color:#000; border:1px solid #ccc;\"|\n\n{{Gattung}}<br />\n\n== Synonyme ==\n''[[]]'' {{aut|Name}}, Jahr\n\n== Lokale Bezeichnung ==\n[[Trivialbezeichnung]]\n\n<!--------------------------- Platz für Abbildungen -------------------------->\n| style=\"width:50%; padding:0 1em; background:#f5fffa; border:1px solid #ccc;\" id=mf-sow|\n\n|}\n== Typen ==\n'''Holotypus:''' [[Type# .<br />\nSiehe: [http://researcharchive.calacademy.org/research/ichthyology/catalog/fishcatget.asp?spid=0 {{aut|Eschmeyer, W.N., Fricke, R. & Van der Laan, R.}} (eds.) {{CURRENTYEAR}}. ''Catalog of Fishes'' electronic version]<br />\n'''Typusfundort:''' .\n\n== Etymologie ==\n.\n\n== Verbreitung ==\n.\n\n== IUCN Status ==\n[https://www.iucnredlist.org/details/ IUCN ('''I'''nternational '''U'''nion for '''C'''onservation of '''N'''ature and Natural Resources) = Weltnaturschutzunion '''Rote Liste bedrohter Arten''']\n\n[[Datei:Status iucn3.1.svg.png|300px|mini|Die Gefährdungsstufen gemäß IUCN\n<p style=\"color: #FF0000; background-color: #000000;\">'''EX''' Extinct (ausgestorben)</p>\n<p style=\"color: #FFFFFF; background-color: #000000;\">'''EW''' Extinct in the Wild (in der Natur ausgestorben)</p>\n<span style=\"color: red\">'''CR''' Critically Endangered (vom Aussterben bedroht)</span><br />\n<p style=\"color: #FF7722;\">'''EN''' Endangered (stark gefährdet)</p>\n<p style=\"color: #EECC00;\">'''VU''' Vulnerable (gefährdet)</p>\n<p style=\"color: #77EE00;\">'''NT''' Near Threatened (potenziell gefährdet)</p>\n<p style=\"color: #44AA00;\">'''LC''' Least Concern (nicht gefährdet)</p>\n'''RE''' Regionally Extinct (regional oder national ausgestorben)<br />\n'''DD''' Data Deficient (ungenügende Datengrundlage)<br />\n'''NE''' Not Evaluated (nicht beurteilt)]]\n\n'''Status:''' Stand tt.mm.jjjj: '''NE''' Not Evaluated (nicht beurteilt)<br />\n'''Gefahren für diese Art:''' (nicht beurteilt)\n\n==Literatur==\n{{}}[: , <span style=\"color: red\">'''!!'''</span>]\n\n===Links===\n* [http://www.fishbase.org/summary/0000 FishBase]\n\n[[Category: taxa]]\n[[Category: taxa]]\n[[Category: taxa]]\n[[Category:art]]\n","suffix":""},{"content":"Art(†)","row":3,"prefix":"__NOTOC__ <!--† ♂♀ -->\n=='''{{aut|(Autoren}}, Jahr)'''==\n<!--------------------------- Taxonavigation -------------------------->\n{| style=\"width:100%; background:#fcfcfc; margin-top:2em;\"\n\n|- valign=\"top\" \n|style=\"width:50%; padding:0 1em 0 2em; color:#000; border:1px solid #ccc;\"|\n\n{{Gattung}}<br />\n\n== Synonyme ==\n''[[]]'' {{aut|Name}}, Jahr\n\n<!--------------------------- Platz für Abbildungen -------------------------->\n| style=\"width:50%; padding:0 1em; background:#f5fffa; border:1px solid #ccc;\" id=mf-sow|\n\n|}\n== Typen ==\n'''Holotypus:''' [[Type# .<br />\n'''Typusfundort und -schicht:''' .\n\n== Etymologie ==\n.\n\n== Verbreitung ==\n.\n\n==Literatur==\n{{}}[: , <span style=\"color: red\">'''!!'''</span>]\n\n===Links===\n\n\n[[Category: taxa]]\n[[Category: taxa]]\n[[Category: taxa]]\n[[Category:art]]\n","suffix":""},{"content":"Art(sp.)","row":3,"prefix":"__NOTOC__ <!--† ♂♀ -->\n<!--------------------------- Taxonavigation -------------------------->\n{| style=\"width:100%; background:#fcfcfc; margin-top:2em;\"\n\n|- valign=\"top\" \n|style=\"width:50%; padding:0 1em 0 2em; color:#000; border:1px solid #ccc;\"|\n\n{{Gattung}}<br />\n\n\n== Lokale Bezeichnung ==\n[[Trivialbezeichnung]]\n\n<!--------------------------- Platz für Abbildungen -------------------------->\n| style=\"width:50%; padding:0 1em; background:#f5fffa; border:1px solid #ccc;\" id=mf-sow|\n\n|}\n== Verbreitung ==\n.\n\n==Literatur==\n{{}}[: , <span style=\"color: red\">'''!!'''</span>]\n\n===Links===\n\n[[Category:art]]\n","suffix":""},{"content":"Synonym","row":3,"prefix":"__NOTOC__\n=='''{{aut|Autorname}}, Jahr'''==\n<!--------------------------- Taxonavigation -------------------------->\n{| style=\"width:100%; background:#fcfcfc; margin-top:2em;\"\n\n|- valign=\"top\" \n|style=\"width:50%; padding:0 1em 0 2em; color:#000; border:1px solid #ccc;\"|\n\n{{Gattung}}<br />\n\n== Status ==\n<div class=\"float-right\" style=\"background-color:yellow; border: 2px solid #FF0000; padding: 0.5em; width: !100%;\">\n{| style=\"width:100%; text-align:center; \"\n|\n|}\n<big>gilt als Synonym von '''''[[Propterus]]''''' {{aut|Agassiz}}, 1834'''</big>\n</div>\n\n<!--------------------------- Platz für Abbildungen -------------------------->\n| style=\"width:50%; padding:0 1em; background:#f5fffa; border:1px solid #ccc;\" id=mf-sow|\n\n\n|}\n== Typen == \n'''Holotypus:''' [[Type# .<br />\n'''Typusfundort:''' . \n\n== Etymologie ==\n.\n\n==Literatur==\n{{}}[: ]\n===Links===\n* [http://researcharchive.calacademy.org/research/ichthyology/catalog/fishcatget.asp?spid=2 {{aut|Eschmeyer, W.N., Fricke, R. & Van der Laan, R.}} (eds.) {{CURRENTYEAR}}. ''Catalog of Fishes'' electronic version]<br />\n\n\n[[Category: taxa]]\n[[Category: taxa]]\n[[Category: taxa]]\n[[Category: Synonym]]\n","suffix":""},{"content":"Gattung","row":3,"prefix":"__NOTOC__\n=='''{{aut|Autoren}}, Jahr'''==\n<!--------------------------- Taxonavigation -------------------------->\n{| style=\"width:100%; background:#fcfcfc; margin-top:2em;\"\n\n|- valign=\"top\" \n|style=\"width:50%; padding:0 1em 0 2em; color:#000; border:1px solid #ccc;\"|\n\n{{Gattung}}\n\n== Typusart ==\n''[[\n\n<!--------------------------- Platz für Abbildungen -------------------------->\n| style=\"width:50%; padding:0 1em; background:#f5fffa; border:1px solid #ccc;\" id=mf-sow|\n\n|}\n== Arten == \n†{{splast|G|attung|art}} {{aut|Autor}}, Jahr<br />\n\n== Etymologie ==\n*\n==Literatur==\n{{ , }}[: , <span style=\"color: red\">'''!!'''</span>]\n\n===Links===\n* [http://researcharchive.calacademy.org/research/ichthyology/catalog/fishcatget.asp?tbl=genus&genid=0000 {{aut|Eschmeyer, W.N., Fricke, R. & Van der Laan, R.}} (eds.) {{CURRENTYEAR}}. ''Catalog of Fishes'' electronic version]\n* [http://www.fishbase.org/nomenclature/SpeciesList.php?genus={{BASEPAGENAME}} FishBase]\n\n[[Category: taxa]]\n[[Category: taxa]]\n[[Category: taxa]]\n[[Category:Gattung]]\n","suffix":""},{"content":"Familie","row":3,"prefix":"__NOTOC__\n=='''{{aut|Autoren}}, Jahr'''==\n<!--------------------------- Taxonavigation -------------------------->\n{| style=\"width:100%; background:#fcfcfc; margin-top:2em;\"\n\n|- valign=\"top\" \n|style=\"width:50%; padding:0 1em 0 2em; color:#000; border:1px solid #ccc;\"|\n\n{{Familie}}\n\n== Typusgattung ==\n''[[\n\n<!--------------------------- Platz für Abbildungen -------------------------->\n| style=\"width:50%; padding:0 1em; background:#f5fffa; border:1px solid #ccc;\" id=mf-sow|\n\n|}\n== Zugehörige xxx == \n†''[[xxx]]'' {{aut|Autor}}, Jahr<br />\n†[[xxx]] {{aut|Autor}}, Jahr<br />\n\n==Literatur==\n{{ , }}[: , <span style=\"color: red\">'''!!'''</span>]\n{{Van der Laan et al., 2014}}[: ]\n===Links===\n\n\n[[Category: taxa]]\n[[Category: taxa]]\n[[Category: taxa]]\n[[Category:höhere Taxa]]\n","suffix":""},{"content":"Autor","row":3,"prefix":"'''{{BASEPAGENAME}}''' \n\n* Institution/Adresse\n* E-mail\n\n==Beschriebene Taxa==\n{{taxa}}\n\n==Publikationen==\n*","suffix":""},{"content":"Status","row":3,"prefix":"== Status ==\n<div class=\"float-right\" style=\"background-color:yellow; border: 2px solid #FF0000; padding: 0.5em; width: !100%;\">\n{| style=\"width:100%; text-align:center; \"\n|\n|}\n<big>gilt als Synonym von '''''[[Propterus]]''''' {{aut|Agassiz}}, 1834'''</big>\n</div>","suffix":""},{"content":"Farbfoto","row":4,"prefix":"Farbfoto, ","suffix":""},{"content":"sw-Foto","row":4,"prefix":"sw-Foto, ","suffix":""},{"content":"Zeichnung","row":4,"prefix":"Zeichnung, ","suffix":""},{"content":"Beschreibung","row":4,"prefix":"Beschreibung, ","suffix":""},{"content":"Aquarienhaltung","row":4,"prefix":"Aquarienhaltung, ","suffix":""},{"content":"Fortpflanzung","row":4,"prefix":"Fortpflanzung, ","suffix":""},{"content":"Biotop","row":4,"prefix":"Biotop, ","suffix":""},{"content":"Verbreitung","row":4,"prefix":"Verbreitung, ","suffix":""},{"content":"Morphologie","row":4,"prefix":"Morphologie, ","suffix":""},{"content":"Krankheiten","row":4,"prefix":"Krankheiten, ","suffix":""},{"content":"Auflistung","row":4,"prefix":"Auflistung, ","suffix":""},{"content":"Verhalten","row":4,"prefix":"Verhalten, ","suffix":""},{"content":"Ökologie","row":4,"prefix":"Ökologie, ","suffix":""},{"content":"Physiologie","row":4,"prefix":"Physiologie, ","suffix":""},{"content":"Genetik","row":4,"prefix":"Genetik, ","suffix":""},{"content":"Zuchtform","row":4,"prefix":"Zuchtform, ","suffix":""},{"content":"Kommentar","row":3,"prefix":"<!--","suffix":"-->"},{"content":"Typus","row":1,"prefix":"[[Type#","suffix":""},{"content":"Tabelle","row":3,"prefix":"{| class=\"wikitable\"\n|style=\"width:25%; text-align:center;\"|'''a'''\n|style=\"width:25%; text-align:center;\"|'''b-c'''\n|style=\"width:25%; text-align:center;\"|'''d-g'''\n|style=\"width:25%; text-align:center;\"|'''h-l'''\n|-\n|style=\"vertical-align:top;\"|","suffix":""}]; headers = []; nameOfTargetBox = "wpTextbox1"; toolbarCSS = "" + " .buttonToolbar td" + " {" + " vertical-align: top;" + " }" + " .buttonToolbar .header" + " {" + " width: 1%;" + " padding: 2px;" + " vertical-align: center;" + " white-space: nowrap;" + " }" + " .buttonToolbar button" + " {" + " width: auto;" + " margin: 2px;" + " }" + " "; setup();