Template: CitePub: Difference between revisions

From Innovation
Jump to: navigation, search
No edit summary
No edit summary
Line 24: Line 24:
</pre>
</pre>


쿼리에서 다음 properties를 이 순서로 넘기면 자동으로 named argument로 매핑됩니다:
쿼리에서 다음 properties를 넘기면 named argument로 매핑됩니다:
?Author, ?Title, ?Venue, ?Volume, ?Issue, ?Pages, ?Year, ?DOI
?Author, ?Title, ?Venue, ?Volume, ?Issue, ?Pages, ?Year, ?DOI, ?Type
 


* '''Type''' (선택): Journal / Conference / Workshop / Preprint — 논문 종류에 따라 색상 뱃지 표시
* '''Type''' (선택): Journal / Conference / Workshop / Preprint — 논문 종류에 따라 색상 뱃지 표시
Line 32: Line 33:
* [[Template:CitePat]] — 특허, 소프트웨어 저작권
* [[Template:CitePat]] — 특허, 소프트웨어 저작권


</noinclude><includeonly><div class="cite-pub" style="margin:8px 0; padding:12px 12px; border-left:4px solid #1a73e8; background:#fafbfd; border-radius:0 4px 4px 0; line-height:1.6;">
</noinclude><includeonly><div class="cite-pub"
style="margin:8px 0;
padding:12px 12px;
border-left:4px solid {{#switch:{{lc:{{{Type|}}}}}
  |journal=#1ea84a
  |conference=#e8741a
  |workshop=#a89a1a
  |preprint=#888
  |#default=#1a73e8
}};
background:#fafbfd;
border-radius:0 4px 4px 0;
line-height:1.6;">


<div class="cite-pub-title" style="font-size:105%; font-weight:bold; color:#1a3a6c; margin-bottom:4px;">{{#if:{{{DOI|}}}|[https://doi.org/{{{DOI}}} {{{Title|}}}]|{{{Title|}}}}}</div>
<div class="cite-pub-title" style="font-size:105%; font-weight:bold; color:#1a3a6c; margin-bottom:4px;">{{#if:{{{DOI|}}}|[https://doi.org/{{{DOI}}} {{{Title|}}}]|{{{Title|}}}}}</div>

Revision as of 20:48, 4 September 2026

이 템플릿은 SMW 쿼리에서 한 논문 항목을 BibTeX 스타일로 렌더링하는 데 사용됩니다.

사용법

{{#ask: [[Year::2026]]
 | ?Author
 | valuesep = ; 
 | ?Title
 | ?Venue
 | ?Volume
 | ?Issue
 | ?Pages
 | ?Year
 | ?DOI
 | sort=Title
 | order=asc
 | format=template
 | template=CitePub
 | named args=yes
 | limit=200
 | default=
}}

쿼리에서 다음 properties를 넘기면 named argument로 매핑됩니다: ?Author, ?Title, ?Venue, ?Volume, ?Issue, ?Pages, ?Year, ?DOI, ?Type


  • Type (선택): Journal / Conference / Workshop / Preprint — 논문 종류에 따라 색상 뱃지 표시

함께 쓰는 템플릿