User:Shoons/Cite
- ifeq:{{{valid}}}|no|
}}{{ - switch:{{{medium|}}}
|book={{
#if:{{{authorlink|}}}|[{{{authorlink|}}} }}{{
#if:{{{author|}}}|{{{author|}}}|{{{last|}}},{{{first|}}}}}{{
#if:{{{authorlink|}}}|]}}{{
#if:{{{coauthor|}}}|, {{{coauthor|}}}}}{{
#if:{{{origdate|}}}|{{{origdate|}}}|{{{origyear|}}}]}}{{
#if:{{{translator|}}|{{{translator|}}}}}{{
#if:{{{date|}}}|({{{date|}}})|({{{year|}}})}}''{{
#if:{{{url|}}}|[{{{url|}}}{{{title|}}}]|{{{title|}}}}}'';,{{
- if:{{{location|}}}|{{{location|}}}:}}{{{publisher|}}}. {{
- if:{{{ISBN|}}}|ISBN {{{ISBN|}}}.}} {{
- if:{{{start|}}}|Relevant part from {{{start|}}}{{
- if:{{{end|}}}|to {{{end|}}}}}}}{{
- ifeq:{{{valid}}}|no|}}{{
- if:{{{description|}}}|{{{description|}}}}}
|書籍={{
#if:{{{authorlink|}}}|[{{{authorlink|}}} }}{{
#if:{{{author|}}}|{{{author|}}}|{{{last|}}}{{{first|}}}}}{{
#if:{{{authorlink|}}}|]}}{{
#if:{{{coauthor|}}}|, {{{coauthor|}}}}}{{
#if:{{{origdate|}}}|{{{origdate|}}}|{{{origyear|}}}}}{{
#if:{{{translator|}}|,{{{translator|}}}}}{{
#if:{{{date|}}}|({{{date|}}})|({{{year|}}}年)}}『{{
#if:{{{url|}}}|[{{{url|}}} {{{title|}}}]|{{{title|}}}}}』, {{
#if:{{{location|}}}|{{{location|}}}:}} {{{publisher|}}}. {{
#if:{{{ISBN|}}}|ISBN {{{ISBN|}}}.}} {{
#if:{{{start|}}}|該当部分 {{{start|}}} から {{
#if:{{{end|}}}|{{{end|}}}まで}}}}{{
#if:{{{description|}}}|{{{description|}}}}}
|video
|music
|DVD={{
- if:{{{director|}}}|{{{director|}}}|{{{last|}}},{{{first|}}}}}{{
- if:{{{date|}}}|({{{date|}}})|({{{year|}}})}}''{{
- if:{{{url|}}}|[{{{url|}}} {{{title|}}}]|{{{title|}}}}}''; {{{publisher|}}}. {{
- if:{{{ASIN|}}}|ASIN {{{ASIN|}}}}.}} {{
- if:{{{start|}}}|Relevant part from {{{start|}}}{{
- if:{{{end|}}}|to {{{end|}}}}}}}{{
- if:{{{description|}}}|{{{description|}}}}}
|link={{
- if:{{{author|}}}|{{{author|}}}}} {{
- if:{{{year|}}}|({{{year|}}})}}[{{{url|}}} {{{title|}}}]{{
- if:{{{publisher|}}}|{{{publisher|}}}, }} {{
- if:{{{start|}}}|Relevant part from {{{start|}}}{{
- if:{{{end|}}}|to {{{end|}}}}}}}{{
- if:{{{description|}}}|{{{description|}}}}}
|ビデオ={{{director|}}}({{{year|}}}) ''{{
- if:{{{url|}}}|[{{{url|}}} {{{title|}}}]|{{{title|}}}}}''; {{{publisher|}}}. {{
- if:{{{ASIN|}}}|ASIN {{{ASIN|}}}}.}} {{
- if:{{{start|}}}|該当時間 {{{start|}}} から {{
- if:{{{end|}}}|{{{end|}}}まで}}}}{{
- if:{{{description|}}}|{{{description|}}}}}
|要求
|request=(Cite required)
|{{{author}}}, {{{title}}}, {{{publisher}}}, {{{date}}}.
}}
I mad this test template to see if we can unify all the template related to cite into one Template:Cite. So everybody does not need to know several cite templates such as Template:Cite, Template:Cite book and Template:Cite videoexist. And every can understand what is required as citation and waht is optional. Please see if this idea is good or not. This is sample template so it can be upgraded as good as current Template:Cite book and Template:Cite video.
Examples
1.Western book
- {{User:Shoons/Cite
|medium=book
|year=2007
|author=Author
|title=Title
|location=Location
|publisher=Publisher
|ISBN=1234
|start=p. 1
|end=p. 2
|valid=yes
|description=descriptions
|}}
- {{User:Shoons/Cite
|medium=book
|year=2007
|last=Last
|first=First
|title=Title
|location=Location
|publisher=Publisher
|ISBN=1234
|start=p. 1
|end=p. 2
|valid=yes
|rf=on
|}}
2.Eastern book (You do not need to consider}
- {{User:Shoons/Cite|
medium=書籍|
year=2007|
author=著者|
location=場所|
title=題名|
publisher=出版社|
ISBN=1234|
start=p. 1|
end=p. 2|
}}
3.DVD, videos or music
- {{User:Shoons/Cite|
medium=DVD|
year=2007|
director=Director|
title=Title|
publisher=publisher|
ASIN=1234|
start=1:00|
end=1:05|
}}
4.Easter video(You do not need to consider}
- {{User:Shoons/Cite|
medium=ビデオ|
year=2007|
director=監督|
title=題名|
publisher=出版社|
ASIN=1234|
start=1:00|
end=1:05|
}}
5.links
- {{User:Shoons/Cite|
medium=link|
url=URL|
title=TITLE|
start=1:00|
end=1:05|
}}
6.When you request Cites
- {{User:Shoons/Cite|medium=request}}
7.Default should be same as the current Template:Cite
- {{User:Shoons/Cite|
|ref=ref
|author=Author
|title=title
|publisher=publisher
|date=2007
|}}
Applicable Templates
=horizontal=
{{Cite test
|medium=
|year=
|author=
|director=
|title=
|publisher=
|url=
|ISBN=
|ASIN=
|start=
|end=
|description=
|}}
=vertical=
|medium=
|year=
|author=
|director=
|title=
|publisher=
|url=
|ISBN=
|ASIN=
|start=
|end=
|description=
=Requesting=
=books=
|medium=book|
|year=
|author=
|last=
|first=
|title=
|publisher=
|url=
|ISBN=
|start=
|end=
|description=
=DVD, musics, videos=
|medium=DVD
|year=
|director=
|last=
|first=
|title=
|publisher=
|url=
|ASIN=
|start=
|end=
|description=
=links=
|medium=link
|author=
|title=
|publisher=
|year=
|url=
|start=
|end=
|description=