r60
r36
1[[분류:일반 틀]][[분류:편집기를 열면 설명을 볼 수 있습니다.]]
r42
2##@>{{{#!wiki style="display: inline; font-family: monospace; margin: 0.5em;"
r35
3##@\[include(틀:문서 가져옴/the seed, 위키=, 문서명=, 버전=, uuid=)]}}}
r43
4##@아래에 제시된 매개변수를 모두 입력해야 동작되며, 하나라도 빠지면 오류 문구가 나오며 틀이 출력되지 않습니다. 테스트 결과는 [[https://theseed.io/w/더시드위키:연습장?uuid=0682e8d1-4728-4c06-8201-f04e1433a6c0|연습장 문서]]에서 확인할 수 있습니다. [* 이전 리비전의 문서를 보더라도 include된 문서는 최근에 변경된 문서를 include한 결과를 보여줍니다.]
r35
5##@기여 전에 테스트 해볼 목적으로 생성한 틀이므로 [[CCL]]이 서로 호환 안 되는 내용이 섞이는 사고는 내지 말아주세요.
r53
6##@ * 위키 : 가져온 위키의 이름을 입력합니다. 아래 따옴표 안의 문구 중 하나를 입력할 수 있습니다.
7##@ a. "더시드위키", "나무위키", "알파위키", "위브위키" : the seed 엔진 사용 위키. 줄여서 "나무", "나", "N", "n", "알파", "알", "A", "a", "위브", "위", "W", "w", "더시드", "더", "T", "t"(으)로 입력해도 작동됩니다.
r54
8##@ a. "[[https://testwiki.hyonsu.com/|테스트위키]]" : [[the tree]] 엔진은 the seed와 URL 구조가 동일하므로 the tree 엔진을 사용하는 위키에도 적용할 수 있습니다. "테스트위키"는 "테스트", "테스트", "TW", "Tw", "tw"를 입력해도 작동됩니다.
r59
9##@ a. 커스텀 : 등록되지 않은 위키 전용. 만약 적용할 경우 다음돠 같이 "위키이름", "도메인"[* {{{#!wiki style="display: inline; font-family: monospace;"
r60
10##@https://}}}는 입력하지 않아도 됩니다.], "라이선스"를 추가하여 입력해야 합니다.
r54
11##@ >{{{#!wiki style="display: inline; font-family: monospace; margin: 0.5em;"
r59
12##@\[include(틀:문서 가져옴/the seed, 위키=커스텀, {{{#green 위키이름{{{#orangered (필요)}}}=, 도메인{{{#orangered (필요)}}}=, 라이선스{{{#orangered (필요)}}}=}}}, 문서명=, 버전=, uuid=, {{{#green 테두리색{{{#orange (선택사항)}}}=}}})]}}}
r35
13##@ * 문서명 : 가져온 문서의 이름(표제어)을 적어야 합니다. (다른 틀을 가져오려면 "title", "article" 매개변수를 바꿔야 합니다.)
14##@ * 버전 : 리비전 번호를 가리킵니다. ("리비전", "rev", "version"이 있으면 "버전"으로 바꿔야 합니다.)
r41
15##@ * uuid : 해당 리비전을 가리키는 uuid를 적어야 합니다. uuid를 대신하여 대문자 UUID로도 적을 수 있습니다. 그러나 uuid와 UUID를 동시에 작성할 수 없습니다. (기술적으로 if와 @@_@매개변수@가 서로 호환이 되지 않는 문제가 있습니다.)
r39
16##@{{{#!wiki style="display:none;"
r45
17##@[각주]}}}{{{#!folding 문서 가져옴 보기 [가져온 문서 목록 펼치기 · 접기 ]
r44
18##@[include(틀:문서 가져옴/the seed, 위키=T, 문서명=틀:문서 가져옴, 버전=39, uuid=de26fb0c-f700-4b4b-a001-4609753e9941)]
19##@[include(틀:문서 가져옴/the seed, 위키=t, 문서명=틀:냥, 버전=158, uuid=507b736b-7d8c-42c6-9e4e-99f90cabb36c)]}}}
r33

(r31으로 되돌림)
20{{{#!wiki style="display: none"
r28
21##여기부터 procedure. display none 처리해서 보이지 않음.
r57
22{{{#!if wiki_name_defined = ((위키=="나무위키")||(위키=="나무")||(위키=="나")||(위키=="N")||(위키=="n")||(위키=="알파위키")||(위키=="알파")||(위키=="알")||(위키=="A")||(위키=="a")||(위키=="위브위키")||(위키=="위브")||(위키=="위")||(위키=="W")||(위키=="w")||(위키=="더시드위키")||(위키=="더시드")||(위키=="더")||(위키=="T")||(위키=="t")||(위키=="테스트위키")||(위키=="테스트")||(위키=="테")||(위키=="TW")||(위키=="Tw")||(위키=="tw")||(위키=="커스텀"), uuid_not_blank = (uuid!=null)&&(uuid!=""), UUID_not_blank = (UUID!=null)&&(UUID!="")
r28
23}}}
24##처음 include했을 때 uuid가 공백이고 UUID가 공백이 아니라고 판별될 경우 uuid에 UUID의 값을 줌.
25{{{#!if !(uuid_not_blank)&&UUID_not_blank
26{{{#!if uuid=UUID
27}}}}}}
28##uuid 판별식 --evaluate 없나?--
29{{{#!if uuid_verified = ((uuid[8]==45 && uuid[13]==45 && uuid[18]==45 && uuid[23]==45) && (uuid?.length == 36) && (((uuid[0]>=48) &&(uuid[0]<=57)) || ((uuid[0]>=97)&&(uuid[0]<=102))) && (((uuid[1]>=48) &&(uuid[1]<=57)) || ((uuid[1]>=97)&&(uuid[1]<=102))) && (((uuid[2]>=48) &&(uuid[2]<=57)) || ((uuid[2]>=97)&&(uuid[2]<=102))) && (((uuid[3]>=48) &&(uuid[3]<=57)) || ((uuid[3]>=97)&&(uuid[3]<=102))) && (((uuid[4]>=48) &&(uuid[4]<=57)) || ((uuid[4]>=97)&&(uuid[4]<=102))) && (((uuid[5]>=48) &&(uuid[5]<=57)) || ((uuid[5]>=97)&&(uuid[5]<=102))) && (((uuid[6]>=48) &&(uuid[6]<=57)) || ((uuid[6]>=97)&&(uuid[6]<=102))) && (((uuid[7]>=48) &&(uuid[7]<=57)) || ((uuid[7]>=97)&&(uuid[7]<=102))) && (((uuid[9]>=48) &&(uuid[9]<=57)) || ((uuid[9]>=97)&&(uuid[9]<=102))) && (((uuid[10]>=48) &&(uuid[10]<=57)) || ((uuid[10]>=97)&&(uuid[10]<=102))) && (((uuid[11]>=48) &&(uuid[11]<=57)) || ((uuid[11]>=97)&&(uuid[11]<=102))) && (((uuid[12]>=48) &&(uuid[12]<=57)) || ((uuid[12]>=97)&&(uuid[12]<=102))) && (((uuid[14]>=48) &&(uuid[14]<=57)) || ((uuid[14]>=97)&&(uuid[14]<=102))) && (((uuid[15]>=48) &&(uuid[15]<=57)) || ((uuid[15]>=97)&&(uuid[15]<=102))) && (((uuid[16]>=48) &&(uuid[16]<=57)) || ((uuid[16]>=97)&&(uuid[16]<=102))) && (((uuid[17]>=48) &&(uuid[17]<=57)) || ((uuid[17]>=97)&&(uuid[17]<=102))) && (((uuid[19]>=48) &&(uuid[19]<=57)) || ((uuid[19]>=97)&&(uuid[19]<=102))) && (((uuid[20]>=48) &&(uuid[20]<=57)) || ((uuid[20]>=97)&&(uuid[20]<=102))) && (((uuid[21]>=48) &&(uuid[21]<=57)) || ((uuid[21]>=97)&&(uuid[21]<=102))) && (((uuid[22]>=48) &&(uuid[22]<=57)) || ((uuid[22]>=97)&&(uuid[22]<=102))) && (((uuid[24]>=48) &&(uuid[24]<=57)) || ((uuid[24]>=97)&&(uuid[24]<=102))) && (((uuid[25]>=48) &&(uuid[25]<=57)) || ((uuid[25]>=97)&&(uuid[25]<=102))) && (((uuid[26]>=48) &&(uuid[26]<=57)) || ((uuid[26]>=97)&&(uuid[26]<=102))) && (((uuid[27]>=48) &&(uuid[27]<=57)) || ((uuid[27]>=97)&&(uuid[27]<=102))) && (((uuid[28]>=48) &&(uuid[28]<=57)) || ((uuid[28]>=97)&&(uuid[28]<=102))) && (((uuid[29]>=48) &&(uuid[29]<=57)) || ((uuid[29]>=97)&&(uuid[29]<=102))) && (((uuid[30]>=48) &&(uuid[30]<=57)) || ((uuid[30]>=97)&&(uuid[30]<=102))) && (((uuid[31]>=48) &&(uuid[31]<=57)) || ((uuid[31]>=97)&&(uuid[31]<=102))) && (((uuid[32]>=48) &&(uuid[32]<=57)) || ((uuid[32]>=97)&&(uuid[32]<=102))) && (((uuid[33]>=48) &&(uuid[33]<=57)) || ((uuid[33]>=97)&&(uuid[33]<=102))) && (((uuid[34]>=48) &&(uuid[34]<=57)) || ((uuid[34]>=97)&&(uuid[34]<=102))) && (((uuid[35]>=48) &&(uuid[35]<=57)) || ((uuid[35]>=97)&&(uuid[35]<=102))))
30}}}{{{#!if inspection = ((위키!=null)&&(위키!="")&&(문서명!=null)&&(문서명!="")&&(버전!=null)&&(버전!="")&&((+버전)>0))
31}}}
32##여기까지가 procedure
33}}}{{{#!if (위키==null)
34{{{#orangered 오류! :}}} 가져온 "위키"의 이름을 입력해 주세요. (예 : 위키=더시드위키)[br]
35}}}{{{#!if (위키!=null)&&(!wiki_name_defined||(위키==""))
r57
36{{{#orangered 오류! :}}} 입력한 "위키" 이름이 올바르지 않습니다.[br]}}}{{{#!if (위키=="커스텀")
37{{{#!if wiki_defined = (위키이름!=null)&&(위키이름!=""), wiki_domain_defined = (도메인!=null)&&(도메인!=""), wiki_license_defined = (라이선스!=null)&&(라이선스!="")
38}}}{{{#!if !wiki_defined
39{{{#orangered 오류! :}}} 가져온 "위키이름"을 입력해 주세요. (예 : 위키이름 = 테스트위키)[br]}}}{{{#!if !wiki_URL_defined
r58
40{{{#orangered 오류! :}}} 가져온 위키의 "도메인"(URL 주소)을 입력해 주세요. https://은 입력하지 않아도 됩니다. (예 : 도메인 = testwiki.hyonsu.com/)[br]}}}{{{#!if !wiki_license_defined
r57
41{{{#orangered 오류! :}}} 가져온 위키의 "라이선스"를 입력해 주세요. (예 : 라이선스 = CC BY-SA 4.0)[br]}}}}}}{{{#!if (문서명==null)||(문서명=="")
r28
42{{{#orangered 오류! :}}} "문서명"을 입력해 주세요.[br]
43}}}{{{#!if (버전==null)||(버전=="")||((+버전)<=0)
44{{{#orangered 오류! :}}} 가져온 문서의 "버전"(리비전 번호)의 숫자값을 입력해 주세요.[br]
45}}}{{{#!if !(uuid_not_blank)&&!(UUID_not_blank)
46##필터링 및 출력 조건 : https://theseed.io/thread/AmuckWackyDamagingDime#89
47##필터 1 : uuid 및 UUID 둘 다 공백인 경우
48{{{#orangered 오류! :}}} 리비전을 나타내는 "uuid"의 값을 입력해 주세요. (uuid= 또는 UUID= 입력)[br]}}}{{{#!if uuid_not_blank&&UUID_not_blank
49##필터 2 : uuid 및 UUID 둘 다 공백이 아닌 경우를 걸러냅니다.
50##uuid_not_blank가 먼저 정의되었으므로, uuid=UUID가 정의되었다 하더라도 므로 uuid_not_blank에 정의된 논리값은 다시 정의하지 않는 이상 바뀌지 않습니다.
51{{{#orangered 오류! :}}} "uuid"와 "UUID" 둘 중 하나만 입력해 주세요. (uuid= 또는 UUID= 입력)[br]}}}{{{#!if (uuid_not_blank^UUID_not_blank)&&!uuid_verified
52##필터 3 : uuid도 공백이 아니면서 UUID도 공백이 아닌 경우를 제외하고 (XOR)
53##처음 include할 때 입력한 uuid, UUID 둘 중 하나만 공백이 아닐 경우, 그 다음에 uuid=UUID로 정의한 다음 uuid가 유효하지 않은 경우. 오류 메세지 출력
54{{{#orangered 오류! :}}} 올바르지 않은 UUID입니다. 입력한 UUID를 확인해주세요.[br]}}}{{{#!if (uuid_not_blank^UUID_not_blank)&&uuid_verified&&inspection
55##uuid와 UUID 둘 다 공백이 아닌 경우를 제와하고,
56##가져옴 틀 출력
r31
57{{{#!if (위키=="나무위키")||(위키=="나무")||(위키=="나")||(위키=="N")||(위키=="n")
r1

(새 문서)
58{{{#!wiki style="border-left: 4px #00a495 solid; padding: 10px 10px;"
r39
59본 문서는 나무위키의 '''{{{#!if !UUID_not_blank
60[[https://namu.wiki/w/@문서명@?uuid=@uuid@|{{{#black,#ddd @문서명@(r@버전@ 판)}}}]]}}}{{{#!if UUID_not_blank
61[[https://namu.wiki/w/@문서명@?uuid=@UUID@|{{{#black,#ddd @문서명@(r@버전@ 판)}}}]]}}} 문서에서 가져왔습니다.'''
r6
62{{{-2 CCL BY 조항에 따라 [[https://namu.wiki/w/@문서명@|@문서명@]] 문서의 [[https://namu.wiki/history/@문서명@?from=@버전@|이전 역사]]를 확인할 수 있습니다.}}}
r18
63
64[[파일:CC BY-NC-SA 버튼.svg|width=100&align=right]]{{{#red 주의 : }}} 가져온 위키 문서의 라이선스에 따라 본 문서는 [[https://creativecommons.org/licenses/by-nc-sa/2.0/kr/|CC BY-NC-SA 2.0 KR]] 라이선스가 적용되며, 아래의 CC BY-SA 4.0 라이선스를 적용{{{#orangered 하지 않}}}습니다.
r31
65{{{-1 {{{#red Caution : }}}By according the license of imported document, this document is licensed under a [[https://creativecommons.org/licenses/by-nc-sa/2.0/kr/deed.en|Creative Commons Attribution-NonCommercial-ShareAlike 2.0 Korea License]], {{{#orangered not under the}}} [[https://creativecommons.org/licenses/by-sa/4.0/|CC BY-SA 4.0 (International) License]] written below.}}}}}}}}}{{{#!if (위키=="알파위키")||(위키=="알파")||(위키=="알")||(위키=="A")||(위키=="a")
r1

(새 문서)
66{{{#!wiki style="border-left: 4px #abcdef solid; padding: 10px 10px;"
r39
67본 문서는 알파위키의 '''{{{#!if !UUID_not_blank
68[[https://www.alphawiki.org/w/@문서명@?uuid=@uuid@|{{{#black,#ddd @문서명@(r@버전@ 판)}}}]]}}}{{{#!if UUID_not_blank
69[[https://www.alphawiki.org/w/@문서명@?uuid=@UUID@|{{{#black,#ddd @문서명@(r@버전@ 판)}}}]]}}} 문서에서 가져왔습니다.'''
r6
70{{{-2 CCL BY 조항에 따라 [[https://www.alphawiki.org/w/@문서명@|@문서명@]] 문서의 [[https://www.alphawiki.org/history/@문서명@?from=@버전@|이전 역사]]를 확인할 수 있습니다.}}}
r1

(새 문서)
71
r18
72[[파일:CC BY-NC-SA 버튼.svg|width=100&align=right]]{{{#red 주의 : }}} 가져온 위키 문서의 라이선스에 따라 본 문서는 [[https://creativecommons.org/licenses/by-nc-sa/2.0/kr/|CC BY-NC-SA 2.0 KR]] 라이선스가 적용되며, 아래의 CC BY-SA 4.0 라이선스를 적용{{{#orangered 하지 않}}}습니다.
r31
73{{{-1 {{{#red Caution : }}}By according the license of imported document, this document is licensed under a [[https://creativecommons.org/licenses/by-nc-sa/2.0/kr/deed.en|Creative Commons Attribution-NonCommercial-ShareAlike 2.0 Korea License]], {{{#orangered not under the}}} [[https://creativecommons.org/licenses/by-sa/4.0/|CC BY-SA 4.0 (International) License]] written below.}}}}}}}}}{{{#!if (위키=="위브위키")||(위키=="위브")||(위키=="위")||(위키=="W")||(위키=="w")
r1

(새 문서)
74{{{#!wiki style="border-left: 4px #00d1b2 solid; padding: 10px 10px;"
r39
75본 문서는 위브위키의 '''{{{#!if !UUID_not_blank
76[[https://weve.wiki/w/@문서명@?uuid=@uuid@|{{{#black,#ddd @문서명@(r@버전@ 판)}}}]]}}}{{{#!if UUID_not_blank
77[[https://weve.wiki/w/@문서명@?uuid=@UUID@|{{{#black,#ddd @문서명@(r@버전@ 판)}}}]]}}} 문서에서 가져왔습니다.'''
r6
78{{{-2 CCL BY 조항에 따라 [[https://weve.wiki/w/@문서명@|@문서명@]] 문서의 [[https://weve.wiki/history/@문서명@?from=@버전@|이전 역사]]를 확인할 수 있습니다.}}}
r1

(새 문서)
79
r18
80[[파일:CC BY-NC-SA 버튼.svg|width=100&align=right]]{{{#red 주의 : }}} 가져온 위키 문서의 라이선스에 따라 본 문서는 [[https://creativecommons.org/licenses/by-nc-sa/2.0/kr/|CC BY-NC-SA 2.0 KR]] 라이선스가 적용되며, 아래의 CC BY-SA 4.0 라이선스를 적용{{{#orangered 하지 않}}}습니다.
r31
81{{{-1 {{{#red Caution : }}}By according the license of imported document, this document is licensed under a [[https://creativecommons.org/licenses/by-nc-sa/2.0/kr/deed.en|Creative Commons Attribution-NonCommercial-ShareAlike 2.0 Korea License]], {{{#orangered not under the}}} [[https://creativecommons.org/licenses/by-sa/4.0/|CC BY-SA 4.0 (International) License]] written below.}}}}}}}}}{{{#!if (위키=="더시드위키")||(위키=="더시드")||(위키=="더")||(위키=="T")||(위키=="t")
r5
82{{{#!wiki style="border-left: 4px #4188f1 solid; padding: 10px 10px;"
r40
83본 문서는 더시드위키의 '''{{{#!if !UUID_not_blank
r39
84[[https://theseed.io/w/@문서명@?uuid=@uuid@|{{{#black,#ddd @문서명@(r@버전@ 판)}}}]]}}}{{{#!if UUID_not_blank
85[[https://theseed.io/w/@문서명@?uuid=@UUID@|{{{#black,#ddd @문서명@(r@버전@ 판)}}}]]}}} 문서에서 가져왔습니다.'''
r48
86{{{-2 CCL BY 조항에 따라 [[https://theseed.io/w/@문서명@|@문서명@]] 문서의 [[https://theseed.io/history/@문서명@?from=@버전@|이전 역사]]를 확인할 수 있습니다.}}}}}}}}}{{{#!if (위키=="테스트위키")||(위키=="테스트")||(위키=="테")||(위키=="TW")||(위키=="Tw")||(위키=="tw")
r46
87{{{#!wiki style="border-left: 4px #4188f1 solid; padding: 10px 10px;"
88본 문서는 [[the tree]] 테스트위키의 '''{{{#!if !UUID_not_blank
89[[https://testwiki.hyonsu.com/w/@문서명@?uuid=@uuid@|{{{#black,#ddd @문서명@(r@버전@ 판)}}}]]}}}{{{#!if UUID_not_blank
90[[https://testwiki.hyonsu.com/w/@문서명@?uuid=@UUID@|{{{#black,#ddd @문서명@(r@버전@ 판)}}}]]}}} 문서에서 가져왔습니다.'''
r58
91{{{-2 CCL BY 조항에 따라 [[https://testwiki.hyonsu.com/w/@문서명@|@문서명@]] 문서의 [[https://testwiki.hyonsu.com/history/@문서명@?from=@버전@|이전 역사]]를 확인할 수 있습니다.}}}}}}}}}{{{#!if (위키=="커스텀")&&wiki_defined&&wiki_domain_defined&&wiki_license_defined
92{{{#!wiki style="border-left: 4px @테두리색=#4188f1@ solid; padding: 10px 10px;"
93본 문서는 @위키이름@의 '''{{{#!if !UUID_not_blank
94[[https://@도메인@/w/@문서명@?uuid=@uuid@|{{{#black,#ddd @문서명@(r@버전@ 판)}}}]]}}}{{{#!if UUID_not_blank
95[[https://@도메인@/w/@문서명@?uuid=@UUID@|{{{#black,#ddd @문서명@(r@버전@ 판)}}}]]}}} 문서에서 가져왔습니다.'''
96{{{-2 CCL BY 조항에 따라 [[https://@도메인@/w/@문서명@|@문서명@]] 문서의 [[https://@도메인@/history/@문서명@?from=@버전@|이전 역사]]를 확인할 수 있습니다.
97
r59
98{{{#red 주의 : }}} 가져온 위키 문서의 라이선스에 따라 본 문서는 [[https://@도메인@/w/@문서명@|위키 문서의]] @라이선스@ 라이선스가 적용됩니다. 아래의 CC BY-SA 4.0 라이선스와 다른 경우 아래의 라이선스를 적용{{{#orangered 하지 않}}}습니다.
99{{{-1 {{{#red Caution : }}}By according the license of imported document, this document is licensed under the @라이선스@ which is [[https://@도메인@/w/@문서명@|of imported document]]. If the license is different from the [[https://creativecommons.org/licenses/by-sa/4.0/|CC BY-SA 4.0 (International) License]] written below, imported document is not licensed CC BY-SA 4.0 written below.}}}}}}}}}}}}}}}