| 1 | | [[분류:냥]] |
|---|
| 2 | | ##[include(틀:문서 가져옴/the seed, 위키=, 문서명=, 버전=, uuid=)]
|
|---|
| 3 | | ##모두 입력해야 동작되며, 하나라도 빠질 경우 오류 문구가 남게 됩니다.
|
|---|
| 4 | | ##테스트 : https://theseed.io/w/더시드위키:연습장?uuid=0682e8d1-4728-4c06-8201-f04e1433a6c0 (이전 리비전의 문서를 보더라도 include된 문서는 최근에 변경된 문서를 include한 결과를 보여줍니다.)
|
|---|
| 5 | | ##위키이름은 "나무", "나", "알파", "알", "위브", "위", "더시드", "더"(으)로 입력해도 작동됩니다.
|
|---|
| 6 | | ##기여 전에 테스트 해볼 목적으로 생성한 틀이므로, CCL이 서로 호환 안 되는 내용이 섞이는 사고는 내지 말아주세요.
|
|---|
| 7 | | ##이하 설명은 생략하겠습니다.
|
|---|
| 8 | | {{{#!wiki style="display: none" |
|---|
| 9 | | ##여기부터 procedure. display none 처리해서 보이지 않음.
|
|---|
| 10 | | {{{#!if wiki_name_defined = ((위키=="나무위키")||(위키=="나무")||(위키=="나")||(위키=="알파위키")||(위키=="알파")||(위키=="알")||(위키=="위브위키")||(위키=="위브")||(위키=="위")||(위키=="더시드위키")||(위키=="더시드")||(위키=="더")), uuid_not_blank = (uuid!=null)&&(uuid!=""), UUID_not_blank = (UUID!=null)&&(UUID!="")
|
|---|
| 11 | | }}}
|
|---|
| 12 | | ##처음 include했을 때 uuid가 공백이고 UUID가 공백이 아니라고 판별될 경우 uuid에 UUID의 값을 줌.
|
|---|
| 13 | | {{{#!if !(uuid_not_blank)&&UUID_not_blank
|
|---|
| 14 | | {{{#!if uuid=UUID
|
|---|
| 15 | | }}}}}}
|
|---|
| 16 | | ##uuid 판별식 --evaluate 없나?--
|
|---|
| 17 | | {{{#!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))))
|
|---|
| 18 | | }}}{{{#!if inspection = ((위키!=null)&&(위키!="")&&(문서명!=null)&&(문서명!="")&&(버전!=null)&&(버전!="")&&((+버전)>0))
|
|---|
| 19 | | }}}
|
|---|
| 20 | | ##여기까지가 procedure
|
|---|
| 21 | | }}}{{{#!if (위키==null)
|
|---|
| 22 | | {{{#orangered 오류! :}}} 가져온 "위키"의 이름을 입력해 주세요. (예 : 위키=더시드위키)[br]
|
|---|
| 23 | | }}}{{{#!if (위키!=null)&&(!wiki_name_defined||(위키==""))
|
|---|
| 24 | | {{{#orangered 오류! :}}} 입력한 "위키" 이름이 올바르지 않습니다.[br]}}}{{{#!if (문서명==null)||(문서명=="")
|
|---|
| 25 | | {{{#orangered 오류! :}}} "문서명"을 입력해 주세요.[br]
|
|---|
| 26 | | }}}{{{#!if (버전==null)||(버전=="")||((+버전)<=0)
|
|---|
| 27 | | {{{#orangered 오류! :}}} 가져온 문서의 "버전"(리비전 번호)의 숫자값을 입력해 주세요.[br]
|
|---|
| 28 | | }}}{{{#!if !(uuid_not_blank)&&!(UUID_not_blank)
|
|---|
| 29 | | ##필터링 및 출력 조건 : https://theseed.io/thread/AmuckWackyDamagingDime#89
|
|---|
| 30 | | ##필터 1 : uuid 및 UUID 둘 다 공백인 경우
|
|---|
| 31 | | {{{#orangered 오류! :}}} 리비전을 나타내는 "uuid"의 값을 입력해 주세요. (uuid= 또는 UUID= 입력)[br]}}}{{{#!if uuid_not_blank&&UUID_not_blank
|
|---|
| 32 | | ##필터 2 : uuid 및 UUID 둘 다 공백이 아닌 경우를 걸러냅니다.
|
|---|
| 33 | | ##uuid_not_blank가 먼저 정의되었으므로, uuid=UUID가 정의되었다 하더라도 므로 uuid_not_blank에 정의된 논리값은 다시 정의하지 않는 이상 바뀌지 않습니다.
|
|---|
| 34 | | {{{#orangered 오류! :}}} "uuid"와 "UUID" 둘 중 하나만 입력해 주세요. (uuid= 또는 UUID= 입력)[br]}}}{{{#!if (uuid_not_blank^UUID_not_blank)&&!uuid_verified
|
|---|
| 35 | | ##필터 3 : uuid도 공백이 아니면서 UUID도 공백이 아닌 경우를 제외하고 (XOR)
|
|---|
| 36 | | ##처음 include할 때 입력한 uuid, UUID 둘 중 하나만 공백이 아닐 경우, 그 다음에 uuid=UUID로 정의한 다음 uuid가 유효하지 않은 경우. 오류 메세지 출력
|
|---|
| 37 | | {{{#orangered 오류! :}}} 올바르지 않은 UUID입니다. 입력한 UUID를 확인해주세요.[br]}}}{{{#!if (uuid_not_blank^UUID_not_blank)&&uuid_verified&&inspection
|
|---|
| 38 | | ##uuid와 UUID 둘 다 공백이 아닌 경우를 제와하고,
|
|---|
| 39 | | ##가져옴 틀 출력
|
|---|
| 40 | | {{{#!if (위키=="나무위키")||(위키=="나무")||(위키=="나")
|
|---|
| 41 | | {{{#!wiki style="border-left: 4px #00a495 solid; padding: 10px 10px;"
|
|---|
| 42 | | 본 문서는 나무위키의 '''[[https://namu.wiki/w/@문서명@?uuid=@uuid@|{{{#black,#ddd @문서명@(r@버전@ 판)}}}]] 문서에서 가져왔습니다.'''
|
|---|
| 43 | | {{{-2 CCL BY 조항에 따라 [[https://namu.wiki/w/@문서명@|@문서명@]] 문서의 [[https://namu.wiki/history/@문서명@?from=@버전@|이전 역사]]를 확인할 수 있습니다.}}}
|
|---|
| 44 | | |
|---|
| 45 | | [[파일: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 하지 않}}}습니다.
|
|---|
| 46 | | {{{-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 (위키=="알파위키")||(위키=="알파")||(위키=="알")
|
|---|
| 47 | | {{{#!wiki style="border-left: 4px #abcdef solid; padding: 10px 10px;"
|
|---|
| 48 | | 본 문서는 알파위키의 '''[[https://www.alphawiki.org/w/@문서명@?uuid=@uuid@|{{{#black,#ddd @문서명@(r@버전@ 판)}}}]] 문서에서 가져왔습니다.'''
|
|---|
| 49 | | {{{-2 CCL BY 조항에 따라 [[https://www.alphawiki.org/w/@문서명@|@문서명@]] 문서의 [[https://www.alphawiki.org/history/@문서명@?from=@버전@|이전 역사]]를 확인할 수 있습니다.}}}
|
|---|
| 50 | | |
|---|
| 51 | | [[파일: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 하지 않}}}습니다.
|
|---|
| 52 | | {{{-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 (위키=="위브위키")||(위키=="위브")||(위키=="위")
|
|---|
| 53 | | {{{#!wiki style="border-left: 4px #00d1b2 solid; padding: 10px 10px;"
|
|---|
| 54 | | 본 문서는 위브위키의 '''[[https://weve.wiki/w/@문서명@?uuid=@uuid@|{{{#black,#ddd @문서명@(r@버전@ 판)}}}]] 문서에서 가져왔습니다.'''
|
|---|
| 55 | | {{{-2 CCL BY 조항에 따라 [[https://weve.wiki/w/@문서명@|@문서명@]] 문서의 [[https://weve.wiki/history/@문서명@?from=@버전@|이전 역사]]를 확인할 수 있습니다.}}}
|
|---|
| 56 | | |
|---|
| 57 | | [[파일: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 하지 않}}}습니다.
|
|---|
| 58 | | {{{-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 (위키=="더시드위키")||(위키=="더시드")||(위키=="더")
|
|---|
| 59 | | {{{#!wiki style="border-left: 4px #4188f1 solid; padding: 10px 10px;"
|
|---|
| 60 | | 본 문서는 더시드위키의 '''[[https://theseed.io/w/@문서명@?uuid=@uuid@|{{{#black,#ddd @문서명@(r@버전@ 판)}}}]] 문서에서 가져왔습니다.'''
|
|---|
| 61 | | {{{-2 CCL BY 조항에 따라 [[https://theseed.io/w/@문서명@|@문서명@]] 문서의 [[https://theseed.io/history/@문서명@?from=@버전@|이전 역사]]를 확인할 수 있습니다.}}}}}}}}}}}}
|
|---|
| 62 | | [include(틀:문서 가져옴/the seed, 위키=더, 문서명=틀:문서 가져옴, 버전=39, uuid=de26fb0c-f700-4b4b-a001-4609753e9941)]
|
|---|
| 1 | [[분류:냥]]{{{#!wiki style="font-size: @fontsize=15@px; font-weight: @fontweight@; margin: @margin@display: @display=inline-block@" |
|---|
| 2 | [[@url@|{{{#!wiki style="color: @color=var(--espejo-link-color, var(--text-color))@" |
|---|
| 3 | @text=텍스트@}}}]]}}} |
|---|