Template:CrudeDrug/AlpsPic
From Metabolomics.JP
< Template:CrudeDrug(Difference between revisions)
m |
|||
(11 intermediate revisions by one user not shown) | |||
Line 1: | Line 1: | ||
− | {| class="collapsible | + | {| class="collapsible" |
|- | |- | ||
− | ! Photographs of {{{1|Crude Drug}}} <small> (by [ | + | ! Photographs of {{{1|Crude Drug}}} <small> (by [[Index:Alps-Pharm|Alps Pharm. アルプス薬品]])</small> |
|- | |- | ||
| | | | ||
− | {{#ifexist:Image:{{PAGENAME}}.jpg| | + | {{#ifexist:Image:Alps:{{PAGENAME}}.jpg| |
<table><tr> | <table><tr> | ||
− | <td>[[Image:{{PAGENAME}}.jpg|250px]] | + | <td>[[Image:Alps:{{PAGENAME}}.jpg|250px]] |
<td> | <td> | ||
− | {{#bar:}} class="wikitable" style="width:50%" | + | {{{#bar:}} class="wikitable" style="width:50%" |
{{#replace: | {{#replace: | ||
{{#lua: | {{#lua: | ||
− | for line in stdin:gmatch("([^\n]+)<BR>") | + | for line in stdin:gmatch("([^\n]+)") do |
+ | line = string.gsub(line, "<BR/?>", "\n&-\n& ") | ||
print("& "..line) | print("& "..line) | ||
− | |||
end | end | ||
| {{{2|foo1&&foo2&&foo3}}} }} |&|{{#bar:}} }} | | {{{2|foo1&&foo2&&foo3}}} }} |&|{{#bar:}} }} | ||
− | {{#bar:}}} </tr> | + | {{#bar:}}}</tr> |
− | </table> | + | </table> }} {{#ifexist:Image:Alps:{{PAGENAME}}2.jpg| |
− | }} {{#ifexist:Image:{{PAGENAME}}2.jpg| | + | |
<table><tr> | <table><tr> | ||
− | <td>[[Image:{{PAGENAME}}2.jpg|250px]] | + | <td>[[Image:Alps:{{PAGENAME}}2.jpg|250px]] |
<td> | <td> | ||
{{{#bar:}} class="wikitable" style="width:50%" | {{{#bar:}} class="wikitable" style="width:50%" | ||
Line 26: | Line 25: | ||
{{#lua: | {{#lua: | ||
for line in stdin:gmatch("([^\n]+)") do | for line in stdin:gmatch("([^\n]+)") do | ||
− | + | line = string.gsub(line, "<BR/?>", "\n&-\n& ") | |
− | print("&"..line) | + | print("& "..line) |
end | end | ||
| {{{3|foo1&&foo2&&foo3}}} }}|&|{{#bar:}} }} | | {{{3|foo1&&foo2&&foo3}}} }}|&|{{#bar:}} }} | ||
{{#bar:}}} </tr> | {{#bar:}}} </tr> | ||
</table> | </table> | ||
− | }} {{#ifexist:Image:{{PAGENAME}}3.jpg| | + | }} {{#ifexist:Image:Alps:{{PAGENAME}}3.jpg| |
<table><tr> | <table><tr> | ||
− | <td>[[Image:{{PAGENAME}}3.jpg|250px]] | + | <td>[[Image:Alps:{{PAGENAME}}3.jpg|250px]] |
<td> | <td> | ||
{{{#bar:}} class="wikitable" style="width:50%" | {{{#bar:}} class="wikitable" style="width:50%" | ||
Line 40: | Line 39: | ||
{{#lua: | {{#lua: | ||
for line in stdin:gmatch("([^\n]+)") do | for line in stdin:gmatch("([^\n]+)") do | ||
− | + | line = string.gsub(line, "<BR/?>", "\n&-\n& ") | |
− | print("&"..line) | + | print("& "..line) |
end | end | ||
| {{{4|foo1&&foo2&&foo3}}} }}|&|{{#bar:}} }} | | {{{4|foo1&&foo2&&foo3}}} }}|&|{{#bar:}} }} | ||
{{#bar:}}} </tr> | {{#bar:}}} </tr> | ||
</table> | </table> | ||
− | }} {{#ifexist:Image:{{PAGENAME}}4.jpg| | + | }} {{#ifexist:Image:Alps:{{PAGENAME}}4.jpg| |
<table><tr> | <table><tr> | ||
− | <td>[[Image:{{PAGENAME}}4.jpg|250px]] | + | <td>[[Image:Alps:{{PAGENAME}}4.jpg|250px]] |
<td> | <td> | ||
{{{#bar:}} class="wikitable" style="width:50%" | {{{#bar:}} class="wikitable" style="width:50%" | ||
Line 54: | Line 53: | ||
{{#lua: | {{#lua: | ||
for line in stdin:gmatch("([^\n]+)") do | for line in stdin:gmatch("([^\n]+)") do | ||
− | + | line = string.gsub(line, "<BR/?>", "\n&-\n& ") | |
− | print("&"..line) | + | print("& "..line) |
end | end | ||
| {{{5|foo1&&foo2&&foo3}}} }}|&|{{#bar:}} }} | | {{{5|foo1&&foo2&&foo3}}} }}|&|{{#bar:}} }} | ||
− | {{#bar:}}} </tr> | + | {{#bar:}}}</tr> |
</table> | </table> | ||
− | }} {{#ifexist:Image:{{PAGENAME}}5.jpg| | + | }} {{#ifexist:Image:Alps:{{PAGENAME}}5.jpg| |
<table><tr> | <table><tr> | ||
− | <td>[[Image:{{PAGENAME}}5.jpg|250px]] | + | <td>[[Image:Alps:{{PAGENAME}}5.jpg|250px]] |
<td> | <td> | ||
{{{#bar:}} class="wikitable" style="width:50%" | {{{#bar:}} class="wikitable" style="width:50%" | ||
Line 68: | Line 67: | ||
{{#lua: | {{#lua: | ||
for line in stdin:gmatch("([^\n]+)") do | for line in stdin:gmatch("([^\n]+)") do | ||
− | + | line = string.gsub(line, "<BR/?>", "\n&-\n& ") | |
− | print("&"..line) | + | print("& "..line) |
end | end | ||
| {{{6|foo1&&foo2&&foo3}}} }}|&|{{#bar:}} }} | | {{{6|foo1&&foo2&&foo3}}} }}|&|{{#bar:}} }} | ||
− | {{#bar:}}} </tr> | + | {{#bar:}}}</tr> |
</table> | </table> | ||
− | }} {{#ifexist:Image:{{PAGENAME}}6.jpg| | + | }} {{#ifexist:Image:Alps:{{PAGENAME}}6.jpg| |
<table><tr> | <table><tr> | ||
− | <td>[[Image:{{PAGENAME}}6.jpg|250px]] | + | <td>[[Image:Alps:{{PAGENAME}}6.jpg|250px]] |
<td> | <td> | ||
{{{#bar:}} class="wikitable" style="width:50%" | {{{#bar:}} class="wikitable" style="width:50%" | ||
Line 82: | Line 81: | ||
{{#lua: | {{#lua: | ||
for line in stdin:gmatch("([^\n]+)") do | for line in stdin:gmatch("([^\n]+)") do | ||
− | + | line = string.gsub(line, "<BR/?>", "\n&-\n& ") | |
− | print("&"..line) | + | print("& "..line) |
end | end | ||
| {{{7|foo1&&foo2&&foo3}}} }}|&|{{#bar:}} }} | | {{{7|foo1&&foo2&&foo3}}} }}|&|{{#bar:}} }} | ||
− | {{#bar:}}} </tr> | + | {{#bar:}}}</tr> |
</table> | </table> | ||
}} | }} | ||
|} | |} |
Latest revision as of 15:04, 2 July 2010
Photographs of Crude Drug (by Alps Pharm. アルプス薬品) |
---|