Template:Infobox album: Difference between revisions
Jump to navigation
Jump to search
m (1 revision imported) |
m (1 revision imported) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
{{ | {{Infobox | ||
| italic title= {{{italic_title| | | italic title= {{{italic_title|}}} | ||
| bodyclass = vevent haudio | | bodyclass = vevent haudio | ||
| aboveclass = summary album | | aboveclass = summary album | ||
| abovestyle = {{#ifeq:{{{italic_title | | abovestyle = {{#ifeq:{{{italic_title|yes}}}|yes|font-style: italic;}} background-color: {{#ifeq:{{Infobox album/color|{{{type|}}}}}|khaki|{{Infobox album/color}}|{{Infobox album/color|{{{type|}}} }} }} | ||
| above = {{#if:{{{name | | above = {{#if:{{{name|}}}|{{{name}}}|<includeonly><span style="font-style: normal">Untitled</span></includeonly>}} | ||
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{#switch:{{{image|{{{cover | | image = {{#invoke:InfoboxImage|InfoboxImage|image={{#switch:{{{image|{{{cover|}}}}}}|blank=|???=Nocover.png|#default={{{image|{{{cover|}}}}}}}}|border={{{border|}}}|alt={{{alt|}}}}} | ||
| caption = {{{caption| | | caption = {{{caption|}}} | ||
| headerstyle = background-color: {{#ifeq:{{Infobox album/color|{{{type| | | headerstyle = background-color: {{#ifeq:{{Infobox album/color|{{{type|}}}}}|khaki|{{Infobox album/color}}|{{Infobox album/color|{{{type|}}}}}}} | ||
| headerclass = description | | headerclass = description | ||
| header1 = {{Infobox album/link|{{{type | | header1 = <includeonly>{{Infobox album/link|{{{type|}}} }}</includeonly>{{#if:{{{longtype|}}}| {{{longtype|}}}}}{{#if:{{{artist|}}}| by <span class="contributor">{{{artist|}}}</span> }} | ||
| label2 = Released | | label2 = Released | ||
| data2 = | | data2 = {{{released|}}} | ||
| class2 = published | | class2 = published | ||
| label3 = Recorded | | label3 = Recorded | ||
| data3 = {{{recorded| | | data3 = {{{recorded|}}} | ||
| class3 = plainlist | | class3 = plainlist | ||
| label4 = Venue | | label4 = Venue | ||
| data4 = {{{venue| | | data4 = {{{venue|}}} | ||
| label5 = Studio | | label5 = Studio | ||
| data5 = {{{studio| | | data5 = {{{studio|}}} | ||
| class5 = plainlist | | class5 = plainlist | ||
| label6 = [[Music genre|Genre]] | | label6 = [[Music genre|Genre]] | ||
| data6 = {{{genre| | | data6 = {{{genre|}}} | ||
| class6 = category hlist | | class6 = category hlist | ||
| label7 = Length | | label7 = Length | ||
| data7 = {{#invoke:hms|main|duration={{{length| | | data7 = {{#invoke:hms|main|duration={{{length|}}}}} | ||
| label8 = Language | | label8 = Language | ||
| data8 = {{{language| | | data8 = {{{language|}}} | ||
| class8 = category | | class8 = category | ||
| label9 = [[Record label|Label]] | | label9 = [[Record label|Label]] | ||
| data9 = {{{label| | | data9 = {{{label|}}} | ||
| class9 = hlist | | class9 = hlist | ||
| label10 = [[Film director|Director]] | | label10 = [[Film director|Director]] | ||
| data10 = {{{director| | | data10 = {{{director|}}} | ||
| class10 = hlist | | class10 = hlist | ||
| label11 = [[Record producer|Producer]] | | label11 = [[Record producer|Producer]] | ||
| data11 = {{{producer| | | data11 = {{{producer|}}} | ||
| class11 = hlist | | class11 = hlist | ||
| label12 = Compiler | | label12 = Compiler | ||
| data12 = {{{compiler| | | data12 = {{{compiler|}}} | ||
| class12 = hlist | | class12 = hlist | ||
| header13 = {{#if:{{{last_album | |||
| data14 = {{#if:{{{last_album| | | header13 = {{#if:{{{last_album|}}}{{{next_album|}}}{{{prev_title|}}}{{{next_title|}}}|{{#if:{{{chronology|}}}|{{{chronology|}}}|{{{artist|}}}}} chronology}} | ||
| data14 = {{#if:{{{last_album|}}}{{{next_album|}}}{{{prev_title|}}}{{{next_title|}}}| | |||
{{(!}} style="background: transparent; width: 100%; min-width: 100%; border-collapse: collapse" | {{(!}} style="background: transparent; width: 100%; min-width: 100%; border-collapse: collapse" | ||
{{!}}- style="line-height: 1.4em;" | {{!}}- style="line-height: 1.4em;" | ||
{{!}} style="width: 33%; text-align: center; vertical-align: top; padding: .2em .1em .2em 0" {{!}} {{#if:{{{prev_title|}}}|''{{{prev_title}}}''{{#if:{{{prev_year|}}}|<br />({{{prev_year}}})}}|{{{last_album| | {{!}} style="width: 33%; text-align: center; vertical-align: top; padding: .2em .1em .2em 0" {{!}} {{#if:{{{prev_title|}}}|''{{{prev_title}}}''{{#if:{{{prev_year|}}}|<br />({{{prev_year}}})}}|{{{last_album|}}}<span style="display:none">{{#if:{{{last_album|}}}|{{#invoke:String|match|error_category=Music infoboxes with Module:String errors{{!}}A|1={{{last_album|}}}|2=^''([^<]+)''%s*< ?/? ?[Bb][Rr] ?/? ?>|nomatch={{#invoke:String|match|error_category=Music infoboxes with Module:String errors{{!}}A|1={{{last_album|}}}|2=^<div class="plainlist"><ul><li>''([^<]+)''</li>}}}}{{#invoke:String|match|error_category=Music infoboxes with Module:String errors{{!}}A|1={{{last_album|}}}|2=< ?/? ?[Bb][Rr] ?/? ?>%s*%((%d+)%)|nomatch={{#invoke:String|match|error_category=Music infoboxes with Module:String errors{{!}}A|1={{{last_album|}}}|2=<li>%((%d+)%)</li></ul></div>}}}}}}</span> }} | ||
{{!}} style="width: 33%; text-align: center; vertical-align: top; padding: .2em .1em" {{!}} {{{this_album | {{!}} style="width: 33%; text-align: center; vertical-align: top; padding: .2em .1em" {{!}} {{{this_album|'''''{{{name|{{PAGENAMEBASE}}}}}'''''}}}{{#if:{{{next_year|}}}{{{prev_year|}}}|<br />({{{year|{{#invoke:String|match|error_category=Music infoboxes with Module:String errors{{!}}A|{{{released|}}}|%d%d%d+}}}}})}} | ||
{{!}} style="width: 33%; text-align: center; vertical-align: top; padding: .2em 0 .2em .1em" {{!}} {{#if:{{{next_title|}}}|''{{{next_title}}}''{{#if:{{{next_year|}}}|<br />({{{next_year}}})}}|{{{next_album | {{!}} style="width: 33%; text-align: center; vertical-align: top; padding: .2em 0 .2em .1em" {{!}} {{#if:{{{next_title|}}}|''{{{next_title}}}''{{#if:{{{next_year|}}}|<br />({{{next_year}}})}}|{{{next_album|}}}<span style="display:none">{{#if:{{{next_album|}}}|{{#invoke:String|match|error_category=Music infoboxes with Module:String errors{{!}}A|1={{{next_album|}}}|2=^''([^<]+)''%s*< ?/? ?[Bb][Rr] ?/? ?>|nomatch={{#invoke:String|match|error_category=Music infoboxes with Module:String errors{{!}}A|1={{{next_album|}}}|2=^<div class="plainlist"><ul><li>''([^<]+)''</li>}}}}{{#invoke:String|match|error_category=Music infoboxes with Module:String errors{{!}}A|1={{{next_album|}}}|2=< ?/? ?[Bb][Rr] ?/? ?>%s*%((%d+)%)|nomatch={{#invoke:String|match|error_category=Music infoboxes with Module:String errors{{!}}A|1={{{next_album|}}}|2=<li>%((%d+)%)</li></ul></div>}}}}}}</span> }} | ||
{{!)}} | {{!)}} | ||
}} | }} | ||
| below = {{{misc|}}} | |||
| below = {{{misc| | |||
}}{{category handler | }}{{category handler | ||
|main={{#ifeq:{{Infobox album/color|{{{type| | |main={{#ifeq:{{Infobox album/color|{{{type|}}}|Test}}|Test | ||
|[[Category:Album articles with non-standard infoboxes]] | |[[Category:Album articles with non-standard infoboxes]] | ||
}}{{#ifeq:{{Infobox album/color|{{{type| | }}{{#ifeq:{{Infobox album/color|{{{type|}}}}}|khaki | ||
|[[Category:Album articles with non-standard infoboxes]][[Category:Song articles needing single infobox conversion]] | |[[Category:Album articles with non-standard infoboxes]][[Category:Song articles needing single infobox conversion]] | ||
}}[[Category:Articles with hAudio microformats]]{{#switch:{{lc:{{{image|{{{cover| | }}[[Category:Articles with hAudio microformats]]{{#switch:{{lc:{{{image|{{{cover|}}}}}}}} | ||
| | | | ||
|??? | |??? | ||
|nocover.png = [[Category:Album infoboxes lacking a cover]] | |nocover.png = [[Category:Album infoboxes lacking a cover]] | ||
}} | }} | ||
}}{{#if:{{#ifeq:{{str left|{{{last_album| | }}{{#if:{{#ifeq:{{str left|{{{last_album|}}}|22}}|<div class="plainlist"|1|}}{{#ifeq:{{str left|{{{this_album|}}}|22}}|<div class="plainlist"|1|}}{{#ifeq:{{str left|{{{next_album|}}}|22}}|<div class="plainlist"|1|}}|[[Category:Pages using infobox chronology parameters with plainlists]]}}{{#ifeq:{{{type|}}}||[[Category:Pages using infobox album with empty type parameter]]}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox album with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox album]] with unknown parameter "_VALUE_"|ignoreblank=y|italic_title |type |name |image |cover |border |alt |caption |longtype |artist |released |recorded |venue |studio |genre |length |language |label |director |producer |compiler |prev_title|prev_year|next_title|next_year|chronology|year|misc}}{{#if:{{#invoke:String|match|error_category=Music infoboxes with Module:String errors{{!}}A|1={{{prev_title|}}}{{{last_album|}}}{{{prev_year|}}}{{{next_title|}}}{{{next_album|}}}{{{next_year|}}}{{{italic_title|}}}{{{italic title|}}}{{{type|}}}{{{name|}}}{{{image|}}}{{{cover|}}}{{{border|}}}{{{alt|}}}{{{caption|}}}{{{longtype|}}}{{{artist|}}}{{{released|}}}{{{recorded|}}}{{{venue|}}}{{{studio|}}}{{{genre|}}}{{{length|}}}{{{language|}}}{{{label|}}}{{{director|}}}{{{producer|}}}{{{compiler|}}}{{{chronology|}}}{{{this_album|}}}{{{year|}}}x|2=</?t[drh][ >]|nomatch=}}|{{main other|[[Category:Music infoboxes with malformed table placement|A]]}}}}{{main other|{{#if:{{{length|}}}|{{#if:{{#invoke:String|match|error_category=Music infoboxes with Module:String errors{{!}}A|1={{#invoke:hms|main|duration={{{length|}}}}}|2=class="duration"|plain=true|nomatch=}}|[[Category:Articles with hAudio microformats]]}}}}}}<noinclude> | ||
}}{{#ifeq:{{{type | |||
{{Documentation}} | {{Documentation}} | ||
<!-- Add categories to the /doc subpage, not here. --> | <!-- Add categories to the /doc subpage, not here. --> | ||
</noinclude> | </noinclude> |
Latest revision as of 17:00, 13 November 2018
طرحنمانوشتهای بیجهت، جهت آزمایش: این طرحنما میآزماید نگاره و اندازه و شکل را. آیا آن که ما خوانیم ترا برای شایستتان را میگواهد یا خوانشها را مینماید. نمایان کنم بر شمایان خواهان شدن نشدن و نا شدن و که این برگزیدگان ناگزیده از کدامین توان با ناتوانان پرتوان شمارش نموده آیا همچنان خواستار ناشمردنیها بوده و هستند. آیا نیستند و چرا؟ این نوشتار آزمایشی چرا و به چه علت از شمایان برمیشمارد و از کجا و به کدامین نوا برمینگارد و بازنمیایستاندتان؟ خواهشمندی ناشنودگان از پرمایگی نابیوسیدگان برتر نباد و مایه بیمایگی سراسر شایان بادا. باشد تا آزمونها خوش و آزمودهها سرخوش از بوته ناخوشیها سراسر سر بدر آورده با باد همراه روند.