https://bsd.neuroinf.jp/w/index.php?title=%E3%83%86%E3%83%B3%E3%83%97%E3%83%AC%E3%83%BC%E3%83%88:Infobox_drug/maintenance_categories&feed=atom&action=history
テンプレート:Infobox drug/maintenance categories - 版の履歴
2024-03-28T17:41:00Z
このウィキのこのページに関する変更履歴
MediaWiki 1.39.6
https://bsd.neuroinf.jp/w/index.php?title=%E3%83%86%E3%83%B3%E3%83%97%E3%83%AC%E3%83%BC%E3%83%88:Infobox_drug/maintenance_categories&diff=44006&oldid=prev
WikiSysop: 1版 をインポートしました
2020-07-09T07:12:25Z
<p>1版 をインポートしました</p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<tr class="diff-title" lang="ja">
<td colspan="1" style="background-color: #fff; color: #202122; text-align: center;">← 古い版</td>
<td colspan="1" style="background-color: #fff; color: #202122; text-align: center;">2020年7月9日 (木) 16:12時点における版</td>
</tr><tr><td colspan="2" class="diff-notice" lang="ja"><div class="mw-diff-empty">(相違点なし)</div>
</td></tr></table>
WikiSysop
https://bsd.neuroinf.jp/w/index.php?title=%E3%83%86%E3%83%B3%E3%83%97%E3%83%AC%E3%83%BC%E3%83%88:Infobox_drug/maintenance_categories&diff=44005&oldid=prev
bsd>Jonesey95: a different way?
2020-07-05T19:48:37Z
<p>a different way?</p>
<p><b>新規ページ</b></p><div>{{main other|1=<!--<br />
* Parameter names starting with _ underscore are mere internal constructs, not from article input.<br />
* When category is shared with Template:Chembox, drugbox pages sort under * (asterisk).<br />
<br />
TITLE:<br />
-->{{#if:{{{drug_name|}}}{{{INN|}}} |[[Category:Infobox drug articles with non-default infobox title|<!--<br />
catsort, use logic:<br />
-->{{#switch:{{{INN|}}}<!--<br />
-->|= {{#ifeq:{{{drug_name|}}} |{{PAGENAME}} |&#x20; |{{PAGENAME}}}}<!--<br />
-->|None|none = * <!-- not an INN name<br />
-->|{{{drug_name|{{PAGENAME}}}}} = &#x3d;<!-- =minus-sign; INN=title (bad)<br />
-->|#default = _ <!-- has INN set<br />
-->}}]]}}<!--<br />
<br />
IMAGES:<br />
-->{{#if:{{{_image_0_or_2|}}}{{{_image_LR|}}} |<!-- has image entered -->|{{#switch:{{{_drugtype|}}} |mab |combo |vaccine= |#default=[[Category:Infobox drug articles without a structure image]]}}}}<!--<br />
<br />
DRUGTYPE: check for input-vs-type contradictions<br />
See also below, to categorise when _drugtype=unknown<br />
-->{{#if:{{#switch:{{{_drugtype|}}}<!--<br />
-->|vaccine={{{_mab_data|}}}{{{_mab_other_data|}}}{{{_combo_data|}}}{{{_other_data|}}}<!--<br />
-->|mab={{{_vaccine_data|}}}{{{_combo_data|}}}{{{_other_data|}}}<!--<br />
-->|combo={{{_vaccine_data|}}}{{{_mab_data|}}}{{{_mab_vaccine_data|}}}{{{_mab_other_data|}}}{{{_other_data|}}}<!--<br />
-->|={{{_vaccine_data|}}}{{{_mab_data|}}}{{{_mab_vaccine_data|}}}{{{_combo_data|}}}<br />
}}<!--<br />
-->|[[Category:Infobox drug articles with contradicting parameter input|{{{_drugtype| }}} ]]<!--<br />
-->}}<!-- by section: physio_data (endogenous) can not be together with clinical or legal_data:<br />
-->{{#if:{{{_physiological_data|}}}|{{#if:{{{_clinical_data|}}}{{{_legal_data|}}}|[[Category:Infobox drug articles with contradicting parameter input|Endogenous]]}}}}<!--<br />
<br />
IDENTIFIERS: old installation from CheMoBot.<br />
note: '=none' is catched in the /formatX subtemplates. Feb 2017.<br />
-->{{#if:{{{CAS_number|}}} ||[[Category:Chemical articles without CAS registry number|*]]}}<!--<br />
-->{{#if:{{{ChEBI|}}}{{{ChEMBL|}}} ||[[Category:Articles without EBI source|*]]}}<!-- together<br />
-->{{#if:{{{ChemSpiderID|}}} ||[[Category:Chemical pages without ChemSpiderID|*]]}}<!--<br />
-->{{#if:{{{DrugBank|}}} ||[[Category:Chemical pages without DrugBank identifier|*]]}}<!--<br />
-->{{#if:{{{KEGG|}}} ||[[Category:Articles without KEGG source|*]]}}<!--<br />
-->{{#if:{{{_hasInChI_or_Key|}}} ||[[Category:Articles without InChI source|*]]}}<!-- together<br />
-->{{#if:{{{UNII|}}} ||[[Category:Articles without UNII source|*]]}}<!--<br />
-->{{#if:{{{_hasJmol02|}}} |[[Category:Chemical articles having Jmol set|*]]}}<!--<br />
-->{{#if:{{#invoke:String|match |s={{{_hasJmol02|}}}_ |pattern=^[Nn]one |plain=false |nomatch=}}|[[Category:Chemical articles having Jmol set/None|*]]}}<!--<br />
<br />
2nd IDENTIFIERS CHECKS<br />
-->{{#ifexpr:{{{_countSecondIDs|0}}} > 0 |[[Category:Multiple chemicals in Infobox drug|*]]}}<!-- <br />
-->{{#ifexpr:{{{_countIndexlabels|0}}} > 0 |[[Category:Chemicals using indexlabels|*]]}}<!-- *<br />
-->{{#ifexpr:({{{_countSecondIDs|0}}} > 0) and ({{{_countIndexlabels|0}}} = 0) |[[Category: Multiple chemicals in an infobox that need indexing|*]]}}<!-- *<br />
<br />
-->{{#if:{{{_hasMultipleCASnumbers|}}} |[[Category:Chemical articles with multiple CAS registry numbers|*]]}}<!-- *<br />
-->{{#if:{{{_hasMultiplePubChemCIDs|}}} |[[Category:Chemical articles with multiple PubChem CIDs]]}}<!-- *<br />
-->{{#if:{{{_hasMultipleChEBIs|}}} |[[Category:Chemical articles with multiple ChEBIs|*]]}}<!-- *<br />
<br />
SPECIAL<br />
-->{{#ifexist:{{{_datapage|}}} |[[Category:Chemical articles having a data page|*]]}}<!--<br />
-->{{#if:{{{_ATC_prefix_supplemental|}}} ||[[Category:Drugs missing an ATC code]]}}<!-- together; was category:Drugboxes with an unspecified ATC code. Feb 2017.<br />
-->{{#if:{{{_legal_all|}}} ||[[Category:Drugs with no legal status]]}}<!--<br />
-->{{#if:{{{_vaccine_target|}}} ||[[Category:Infobox drug articles without vaccine target]]}}<!--<br />
-->{{#if:{{{_has_EMA_link|}}} |[[Category:Drug has EMA link]]}}<!--<br />
<br />
WIKIDATA<br />
-->{{#if:{{{QID|}}} |[[Category:Chemicals having QID set|*]]}}<!-- *<br />
-->{{#if:{{{QID2|}}} |[[Category:Chemicals (indexed) having QID set|*]]}}<!-- *<br />
<br />
BOT VERIFY:<br />
-->{{#ifeq:{{{Verifiedfields|}}}|changed|[[Category:Drugboxes which contain changes to verified fields]]<br />
}}<!--<br />
-->{{#ifeq:{{{Watchedfields|}}}|changed|[[Category:Drugboxes which contain changes to watched fields]]<br />
}}<!--<br />
-->{{#if:{{{verifiedrevid|}}}||[[Category:Articles containing unverified chemical infoboxes|*]]}}<!--<br />
<br />
TEMPORAL/TRACKING: order here=sortletter prio: *=list complete. Also _drugtype=? sorts under T<br />
-->{{#if:{{{_trackListZ|}}} |[[Category:Infobox drug tracked parameters|Z]]}}<!--<br />
-->{{#if:{{{_trackListA|}}} |[[Category:Infobox drug tracked parameters|A]]}}<!--<br />
-->{{#if:{{{_trackListSortletter|}}} |[[Category:Infobox drug tracked parameters|{{{_trackSortletter|X}}}]]}}<!--<br />
-->{{#if:{{{_trackListAsterisk|}}} |[[Category:Infobox drug tracked parameters|*]]}}<!--<br />
<br />
DRUGTYPE added here, because errorcat "T" must be prio (listed under T):<br />
-->{{#switch:{{{_drugtype|}}}<!--<br />
-->|=<!-- blank=single chemical: not categorized here<br />
-->|combo =[[Category:Drugs that are a combination of chemicals|{{{_number_of_combo_chemicals|?}}}]]<!--<br />
-->|mab =[[Category:Drugs that are a monoclonal antibody|{{#switch:{{lc:{{{mab_type|}}}}} |mab=W |fab=F |f(ab')2=2 |fab'=' |scfv=C |discfv=D |sdab=S |3funct=3 |clfab=L |bite=B |#default=?}}]]<!--<br />
-->|vaccine =[[Category:Drugs that are a vaccine|{{{vaccine_type|}}}?]]<!--<br />
-->|#default =[[Category:Infobox drug tracked parameters|T]]<!-- unk input<br />
-->}}<!--<br />
<br />
Derived drug type (by having parameter input):<br />
-->{{#if:{{{_has_physiological_data|}}}|[[Category:Drugs that are a physiological drug]]}}<!--<br />
-->{{#if:{{{_has_gene_therapy|}}} |[[Category:Drugs that are a gene therapy]]}}<!--<br />
<br />
-->}}<!-- main_other closing<br />
<br />
--><noinclude>{{documentation}}</noinclude></div>
bsd>Jonesey95