Template: CitePub: Difference between revisions
From Innovation
No edit summary Tag: Reverted |
No edit summary |
||
| (4 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
이 템플릿은 SMW | 이 템플릿은 SMW 쿼리 결과에서 한 논문 항목을 bibliography 스타일로 렌더링합니다. | ||
==사용법== | == 사용법 == | ||
<pre> | <pre> | ||
{{#ask: [[Year::2026]] | {{#ask: [[Category:Publication]] [[Year::2026]] | ||
| ?Author | | ?Author | ||
| valuesep = ; | | valuesep=; | ||
| ?Title | | ?Title | ||
| ?Venue | | ?Venue | ||
| Line 14: | Line 14: | ||
| ?Year | | ?Year | ||
| ?DOI | | ?DOI | ||
| ?Type | |||
| sort=Title | | sort=Title | ||
| order=asc | | order=asc | ||
| Line 24: | Line 25: | ||
</pre> | </pre> | ||
== Properties == | |||
* Author | |||
* Title | |||
* Venue | |||
* Volume | |||
* Issue | |||
* Pages | |||
* Year | |||
* DOI | |||
* Type | |||
* | == Type == | ||
* Journal | |||
* Conference | |||
* Workshop | |||
* Preprint | |||
Publication 페이지에서는 다음처럼 입력합니다. | |||
<pre> | |||
[[Type::Journal]] | |||
[[Type::Conference]] | |||
</pre> | |||
== 함께 쓰는 템플릿 == | == 함께 쓰는 템플릿 == | ||
* [[Template:CitePat]] — 특허, 소프트웨어 저작권 | * [[Template:CitePat]] — 특허, 소프트웨어 저작권 | ||
</noinclude> | |||
<includeonly><div class="cite-pub" | |||
style=" | |||
margin:8px 0; | |||
padding:12px 14px; | |||
border-left:4px solid {{#switch:{{lc:{{{Type|}}}}} | |||
|journal=#1ea84a | |||
|conference=#e8741a | |||
|workshop=#b08a00 | |||
|preprint=#888888 | |||
|#default=#1a73e8 | |||
}}; | |||
background:#fafbfd; | |||
border-radius:0 4px 4px 0; | |||
line-height:1.55; | |||
"> | |||
<div class="cite-pub-entry" style="font-size:94%; color:#444;">{{{Author|}}}{{#if:{{{Author|}}}|. }}{{#if:{{{DOI|}}}|[https://doi.org/{{{DOI}}} <span style="font-weight:bold; color:#1a3a6c;">“{{{Title|}}}”</span>]|<span style="font-weight:bold; color:#1a3a6c;">“{{{Title|}}}”</span>}}{{#if:{{{Title|}}}|. }}{{#if:{{{Venue|}}}|<span style="font-style:italic; color:#7a3a1a;">{{{Venue}}}</span>}}{{#if:{{{Volume|}}}|, vol. {{{Volume}}}}}{{#if:{{{Issue|}}}|, no. {{{Issue}}}}}{{#if:{{{Pages|}}}|, pp. {{{Pages}}}}}{{#if:{{{DOI|}}}|, DOI: [https://doi.org/{{{DOI}}} {{{DOI}}}]}}{{#if:{{{Year|}}}| <span style="display:inline-block; background:#1a73e8; color:#fff; padding:1px 6px; border-radius:10px; font-size:85%; font-weight:bold; margin-left:6px;">{{{Year}}}</span>}}{{#if:{{{Type|}}}| <span class="cite-pub-type cite-pub-type-{{lc:{{{Type}}}}}" style="display:inline-block; padding:1px 7px; border-radius:10px; font-size:80%; font-weight:bold; margin-left:4px; {{#switch:{{lc:{{{Type}}}}}|journal=background:#1ea84a; color:#fff;|conference=background:#e8741a; color:#fff;|workshop=background:#b08a00; color:#fff;|preprint=background:#888888; color:#fff;|#default=background:#777777; color:#fff;}}">{{{Type}}}</span>}}.</div> | |||
< | |||
</div | |||
</div></includeonly> | </div></includeonly> | ||
Latest revision as of 20:56, 4 September 2026
이 템플릿은 SMW 쿼리 결과에서 한 논문 항목을 bibliography 스타일로 렌더링합니다.
사용법
{{#ask: [[Category:Publication]] [[Year::2026]]
| ?Author
| valuesep=;
| ?Title
| ?Venue
| ?Volume
| ?Issue
| ?Pages
| ?Year
| ?DOI
| ?Type
| sort=Title
| order=asc
| format=template
| template=CitePub
| named args=yes
| limit=200
| default=
}}
Properties
- Author
- Title
- Venue
- Volume
- Issue
- Pages
- Year
- DOI
- Type
Type
- Journal
- Conference
- Workshop
- Preprint
Publication 페이지에서는 다음처럼 입력합니다.
[[Type::Journal]] [[Type::Conference]]
함께 쓰는 템플릿
- Template:CitePat — 특허, 소프트웨어 저작권